Skip to content

Commit 5b50dda

Browse files
committed
TMT: Skip container-selinux upgrade after enabling podman-next
container-selinux in the podman-next copr has a higher Epoch than what's available in the PR copr. So, it should be skipped in the dnf upgrade step to ensure we're testing with the right container-selinux. Signed-off-by: Lokesh Mandvekar <[email protected]>
1 parent 69f5cab commit 5b50dda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plans/main.fmf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ prepare:
1616
if compgen -G $COPR_REPO_FILE > /dev/null; then
1717
sed -i -n '/^priority=/!p;$apriority=1' $COPR_REPO_FILE
1818
fi
19-
dnf -y upgrade --allowerasing
19+
# We don't want the podman-next rpm to override the one from the PR copr build
20+
dnf -y upgrade --allowerasing --exclude=container-selinux
2021
order: 20
2122
- name: Disable installing everything from srpm
2223
how: install

0 commit comments

Comments
 (0)