-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run podman local rootful and rootless tests on every PR. Packit will handle syncing of the TMT tests and gating config from upstream to downstream (Fedora, CentOS Stream) with every upstream release. Signed-off-by: Lokesh Mandvekar <[email protected]>
- Loading branch information
Showing
4 changed files
with
101 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
prepare: | ||
- name: packages | ||
how: install | ||
package: [bats, podman-tests] | ||
|
||
adjust: | ||
- when: "initiator == packit" | ||
because: "We need to test with updated packages from rhcontainerbot/podman-next copr" | ||
prepare+: | ||
how: shell | ||
script: | | ||
sed -i -n '/^priority=/!p;$apriority=1' /etc/yum.repos.d/*podman-next*.repo | ||
dnf -y upgrade --allowerasing | ||
# FIXME: Use epel10 once bats is available there | ||
- when: distro == centos-stream-10 or distro == rhel-10 | ||
because: "bats isn't yet available on epel10" | ||
prepare+: | ||
how: install | ||
copr: rhcontainerbot/bats-el10 | ||
package: bats | ||
- when: distro == centos-stream-9 or distro == rhel-9 | ||
because: "bats is present on EPEL on rhel9 / c9s" | ||
prepare+: | ||
how: feature | ||
epel: enabled | ||
|
||
discover: | ||
how: fmf | ||
url: https://github.com/lsm5/podman | ||
ref: "tmt-fedora-centos" | ||
|
||
execute: | ||
how: tmt | ||
|
||
/system/local/root: | ||
summary: Run podman system rootful tests | ||
discover+: | ||
test: /test/tmt/system/local/root | ||
|
||
/system/local/rootless: | ||
summary: Run podman system rootless tests | ||
discover+: | ||
test: /test/tmt/system/local/rootless |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- !Policy | ||
product_versions: | ||
- fedora-* | ||
decision_contexts: | ||
- bodhi_update_push_stable | ||
- bodhi_update_push_testing | ||
subject_type: koji_build | ||
rules: | ||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} | ||
|
||
--- !Policy | ||
product_versions: | ||
- rhel-* | ||
decision_context: osci_compose_gate | ||
rules: | ||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} |