Resolves: RUN-2400

Signed-off-by: Yuhui Jiang <yujiang@redhat.com>
This commit is contained in:
Yuhui Jiang 2024-12-18 13:31:01 +08:00
parent c8396c89cf
commit c5359a58f8
4 changed files with 52 additions and 3 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

View File

@ -1,6 +1,13 @@
# recipients: jnovy, lsm5, santiago
--- !Policy
product_versions:
- rhel-9
- fedora-*
decision_context: bodhi_update_push_stable
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate
rules: []
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

27
plans/conmon.fmf Normal file
View File

@ -0,0 +1,27 @@
---
summary: Run conmon tests
description: Test plan for conmon
contact: Yuhui Jiang <yujiang@redhat.com>
provision:
how: container
prepare:
- name: Install packages
how: install
package: [crun, podman, podman-tests, git]
- name: Prepare bats
how: shell
script:
- rm -rf /tmp/bats-core-1.11.0
- curl -s -L https://github.com/bats-core/bats-core/archive/refs/tags/v1.11.0.tar.gz | tar xvz -C /tmp
- /tmp/bats-core-1.11.0/install.sh /usr
discover:
how: fmf
filter: 'tag: gate'
url: https://gitlab.com/yujiang1/conmon.git
ref: c9s
execute:
how: tmt

14
tests/main.fmf Normal file
View File

@ -0,0 +1,14 @@
---
summary: conmon tests
description: Using podman system tests to test conmon
contact: Yuhui Jiang <yujiang@redhat.com>
framework: shell
require: [podman,conmon]
tag: 'gate'
test: |
/usr/bin/bats -t /usr/share/podman/test/system/030-run.bats
/usr/bin/bats -t /usr/share/podman/test/system/075-exec.bats
duration: 15m