-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit enables TMT tests via Packit jobs for Fedora 41, 42 and Rawhide on x86_64. Podman, Buildah and Skopeo system tests are run for these environments on every PR. TODO: Enable CentOS Stream and aarch64 test jobs. Co-authored-by: Chris Evich <[email protected]> Signed-off-by: Lokesh Mandvekar <[email protected]>
- Loading branch information
Showing
5 changed files
with
159 additions
and
7 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,38 @@ | ||
prepare: | ||
- when: distro == centos-stream or distro == rhel | ||
how: shell | ||
script: | | ||
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm --eval '%{?rhel}').noarch.rpm | ||
dnf -y config-manager --set-enabled epel | ||
order: 10 | ||
- when: initiator == packit | ||
how: shell | ||
script: | | ||
COPR_REPO_FILE="/etc/yum.repos.d/*podman-next*.repo" | ||
if compgen -G $COPR_REPO_FILE > /dev/null; then | ||
sed -i -n '/^priority=/!p;$apriority=1' $COPR_REPO_FILE | ||
fi | ||
dnf -y upgrade --allowerasing | ||
order: 20 | ||
- name: packages | ||
how: install | ||
package: [buildah-tests] | ||
|
||
discover: | ||
how: fmf | ||
url: https://github.com/lsm5/buildah | ||
ref: "tmt-system-tests" | ||
test: /tests/tmt | ||
|
||
execute: | ||
how: tmt | ||
|
||
provision: | ||
how: artemis | ||
hardware: | ||
memory: ">= 16 GB" | ||
cpu: | ||
cores: ">= 4" | ||
threads: ">=8" | ||
disk: | ||
- size: ">= 512 GB" |
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,58 @@ | ||
prepare: | ||
- when: distro == centos-stream or distro == rhel | ||
how: shell | ||
script: | | ||
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm --eval '%{?rhel}').noarch.rpm | ||
dnf -y config-manager --set-enabled epel | ||
order: 10 | ||
- when: initiator == packit | ||
how: shell | ||
script: | | ||
COPR_REPO_FILE="/etc/yum.repos.d/*podman-next*.repo" | ||
if compgen -G $COPR_REPO_FILE > /dev/null; then | ||
sed -i -n '/^priority=/!p;$apriority=1' $COPR_REPO_FILE | ||
fi | ||
dnf -y upgrade --allowerasing | ||
order: 20 | ||
- name: packages | ||
how: install | ||
package: [podman-tests] | ||
|
||
discover: | ||
how: fmf | ||
url: https://github.com/lsm5/podman | ||
ref: "tmt-fedora-centos" | ||
|
||
execute: | ||
how: tmt | ||
|
||
provision: | ||
how: artemis | ||
hardware: | ||
memory: ">= 16 GB" | ||
cpu: | ||
cores: ">= 4" | ||
threads: ">=8" | ||
disk: | ||
- size: ">= 512 GB" | ||
|
||
/local-root: | ||
summary: Local rootful tests | ||
discover+: | ||
filter: 'tag:local & tag:root' | ||
|
||
/local-rootless: | ||
summary: Local rootless tests | ||
discover+: | ||
filter: 'tag:local & tag:rootless' | ||
|
||
/remote-root: | ||
summary: Remote rootful tests | ||
discover+: | ||
filter: 'tag:remote & tag:root' | ||
|
||
/remote-rootless: | ||
summary: Remote rootless tests | ||
discover+: | ||
filter: 'tag:remote & tag: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,38 @@ | ||
prepare: | ||
- when: distro == centos-stream or distro == rhel | ||
how: shell | ||
script: | | ||
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm --eval '%{?rhel}').noarch.rpm | ||
dnf -y config-manager --set-enabled epel | ||
order: 10 | ||
- when: initiator == packit | ||
how: shell | ||
script: | | ||
COPR_REPO_FILE="/etc/yum.repos.d/*podman-next*.repo" | ||
if compgen -G $COPR_REPO_FILE > /dev/null; then | ||
sed -i -n '/^priority=/!p;$apriority=1' $COPR_REPO_FILE | ||
fi | ||
dnf -y upgrade --allowerasing | ||
order: 20 | ||
- name: packages | ||
how: install | ||
package: [skopeo-tests] | ||
|
||
discover: | ||
how: fmf | ||
url: https://github.com/containers/skopeo | ||
ref: "main" | ||
test: /systemtest/tmt | ||
|
||
execute: | ||
how: tmt | ||
|
||
provision: | ||
how: artemis | ||
hardware: | ||
memory: ">= 16 GB" | ||
cpu: | ||
cores: ">= 4" | ||
threads: ">=8" | ||
disk: | ||
- size: ">= 512 GB" |