We excluded the go.mod via the .gitignore file, which should not be
correct. Beside that, we do not need a go.sum file because we do not
have external dependencies yet.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
build from podman images instead of locally
clean up some dead code in packer
drop the cri-o integration tests (for now, hopefully)
Signed-off-by: Peter Hunt <pehunt@redhat.com>
conmon has historically been tested against the tools that rely on it. This has caused difficulties with breaking changes, as well as some hacky testing procedures. Instead, we should test conmon on its own.
What better way to test conmon than in the way its used most frequently: exec'd from go.
This PR begins a test suite for conmon. This includes:
create a ginkgo suite
start creating some runner/conmon code to cleanly tap into conmon from go
update makefile to have some go specific things
add a cirrus task to run the tests on PRs
Signed-off-by: Peter Hunt <pehunt@redhat.com>
* Add cmd/config/config.go
Now, we can configure conmon from within the conmon repository.
This will allow tools to vendor conmon and import the values they need, rather than having the configuration parameters in different repositories
Also added runner/ package to store the configuration parameters
Signed-off-by: Peter Hunt <pehunt@redhat.com>
* Add test to check if config was synced
Signed-off-by: Peter Hunt <pehunt@redhat.com>
Users can now directly install to a "podman" directory, instead of needing to install to crio, then link to podman
Also change the `make install` target to be /usr/local/bin/conmon instead of hardcoding it to crio libexec dir
Signed-off-by: Peter Hunt <pehunt@redhat.com>
Remove references to RHEL, Centos and RHSM
Change kill-timeout to 5m instead of 1h30m
replace spoof_travis with setting environment variable
Signed-off-by: Peter Hunt <pehunt@redhat.com>