Skip to content

Commit 733c4bf

Browse files
committed
fix(.packit.yaml): use explicit distros mapping for CentOS Stream tests
Use dict format with explicit distros in the tests job to prevent packit from incorrectly mapping centos-stream targets to epel chroots. Workaround for packit/packit#2700 Signed-off-by: Miguel Martín <mmartinv@redhat.com>
1 parent 29cedcc commit 733c4bf

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.packit.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,16 @@ jobs:
9494
owner: "@fedora-iot"
9595
project: fedora-iot
9696

97+
# Use dict format with explicit distros to work around
98+
# https://github.com/packit/packit/issues/2700
9799
- job: tests
98100
trigger: pull_request
99101
identifier: onboarding-centos
100102
fmf_path: test/fmf
101103
tmt_plan: plans/onboarding
102104
packages: [fido-device-onboard-centos]
103-
targets: ["centos-stream-9", "centos-stream-10"]
105+
targets:
106+
centos-stream-9-x86_64:
107+
distros: [centos-stream-9]
108+
centos-stream-10-x86_64:
109+
distros: [centos-stream-10]

0 commit comments

Comments
 (0)