mirror of
https://github.com/containers/skopeo.git
synced 2025-04-27 02:51:02 +00:00
This commit enables TMT jobs triggered by Packit to run system tests. 2 set of jobs `dev` and `release` have been added. `dev` jobs are meant to run on main PRs with additional package updates fetched from podman-next copr while `release` jobs are meant to run on release- branch PRs using only the dependencies present in the official distro. Packit checks PR labels (see previous commit) to filter out the jobs that get run. Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
21 lines
638 B
Plaintext
21 lines
638 B
Plaintext
discover:
|
|
how: fmf
|
|
execute:
|
|
how: tmt
|
|
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
|