add testing for containers-common
Signed-off-by: Yuhui Jiang <yujiang@redhat.com>
This commit is contained in:
parent
2aff8e2cf3
commit
9e467539ea
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
14
gating.yaml
14
gating.yaml
@ -1,6 +1,14 @@
|
||||
# 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/containers-common.fmf
Normal file
27
plans/containers-common.fmf
Normal file
@ -0,0 +1,27 @@
|
||||
---
|
||||
summary: Run containers-common tests
|
||||
description: Test plan for containers-common
|
||||
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/containers-common.git
|
||||
ref: c9s
|
||||
|
||||
execute:
|
||||
how: tmt
|
14
tests/main.fmf
Normal file
14
tests/main.fmf
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
summary: containers-common tests
|
||||
description: Using podman system tests to test containers-common
|
||||
contact: Yuhui Jiang <yujiang@redhat.com>
|
||||
framework: shell
|
||||
require: [podman,containers-common]
|
||||
|
||||
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
|
Loading…
Reference in New Issue
Block a user