Reimplemented all tests from Go to BATS framework, providing comprehensive
test coverage while eliminating Go build dependencies. Added 52 BATS tests
covering basic functionality, container logging, k8s log rotation, and
full runtime integration with real container execution.
Fixes: #577
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jindrich Novy <jnovy@redhat.com>
The sole reason of having this was to produce a nice informative error
message in case of failure (and because the message was not explicitly
specified, it was entirely wrong in 1 of 2 use cases).
Let's drop it and just use git to fail the job if a tree is dirty.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
The version of go-md2man is quite old, and is not really need to be in
this repository. It is only used by `make docs` which does not make
sense to run in CI, as we don't check the resulting man page.
PS if needed, it is easy to install by this one-liner:
go install github.com/cpuguy83/go-md2man/v2@latest
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
On FreeBSD, this lives in /usr/local/bin. Note: this pattern is already
used for the other scripts in hack.
Signed-off-by: Doug Rabson <dfr@rabson.org>
Update to F34, and Ubuntu 2104. Also modernize scripts to use
shared automation library functions. Lastly, update
`hack/get_ci_vm.sh` to match functionality of other
containers-org. repositories.
Signed-off-by: Chris Evich <cevich@redhat.com>
This adds a GitHub actions test suite to run a subset of the node e2e
tests with the locally built conmon.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
We now add the Podman integration tests side-by-side to the CRI-O run.
This way we can ensure that changes to conmon will not negatively impact
Podman.
Some tests have to be ecluded for now, we have to dig deeper to find out
why they do not run.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
This adds a GitHub action for integration testing the latest CRI-O
master against the conmon change to verify its impact.
Signed-off-by: Sascha Grunert <sgrunert@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>