1
0
mirror of https://github.com/containers/conmon.git synced 2026-02-06 18:47:41 +01:00

14 Commits

Author SHA1 Message Date
Jindrich Novy
b2e434f000 Switch tests from busybox to UBI10 and add consistent terminal size validation
- Update Containerfile to use UBI10 base image instead of busybox
- Replace busybox references with UBI10 commands in all test files
- Add upper bound validation (1000) for terminal window size in ctrl.c
  to prevent wraparound bugs
- Update CI/CD dependencies to include podman, bats, jq, and socat
- Fix test assertions to expect proper terminal size behavior

Fixes: #610

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
2025-10-02 14:57:08 +02:00
Jindrich Novy
4566e2ff8f Replace Go tests with BATS and remove Go dependency
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>
2025-08-28 12:08:38 +02:00
Ayato Tokubi
4d374fd67d fix integration github action
Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
2025-06-05 09:10:32 -04:00
Kir Kolyshkin
5b51069234 Remove old vendored go-md2man
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>
2025-05-01 17:14:13 -07:00
Ayato Tokubi
24498b54d7 Install some packages to fix CI
Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
2025-02-24 11:43:25 -05:00
Peter Hunt
3d774d57d0 gh actions: use crun and update runc version
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2024-10-02 14:53:02 -04:00
Kishen V
dcee6fbe80 Update nixos image and dependencies' version.
Signed-off-by: Kishen V <kishen.viswanathan@ibm.com>
2023-05-15 14:03:48 -04:00
Peter Hunt~
fffef2708a hack: build ginkgo in GOPATH
Signed-off-by: Peter Hunt~ <pehunt@redhat.com>
2023-02-06 10:23:14 -05:00
Peter Hunt
b1ca51f59a gh actions: bump versions
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2022-06-21 10:58:25 -04:00
Peter Hunt
4f0b7f8e2b ci: add subid ranges for crio tests
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2022-01-21 12:00:33 -05:00
Sascha Grunert
3efab3e71c Add Kubernetes e2e tests as GitHub action
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>
2021-04-13 09:50:56 -04:00
Kir Kolyshkin
458729418f ci/gha: bump runc to rc93
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2021-03-22 17:19:03 -07:00
Sascha Grunert
92867a769d Add Podman integration test GitHub action
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>
2021-03-10 12:00:46 +01:00
Sascha Grunert
dd99302e13 Add CRI-O integration test GitHub action
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>
2021-03-08 12:44:08 -05:00