packit: use yaml anchors to dedup the copr build targets

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2023-06-22 11:15:48 +02:00 committed by Alexander Todorov
parent 46f93614f2
commit 6dafd59eaa

View file

@ -30,7 +30,7 @@ jobs:
- fedora-all - fedora-all
- job: copr_build - job: copr_build
trigger: pull_request trigger: pull_request
targets: targets: &build_targets
- centos-stream-8-aarch64 - centos-stream-8-aarch64
- centos-stream-8-x86_64 - centos-stream-8-x86_64
- centos-stream-9-aarch64 - centos-stream-9-aarch64
@ -51,19 +51,4 @@ jobs:
branch: main branch: main
owner: "@osbuild" # copr repo namespace owner: "@osbuild" # copr repo namespace
project: osbuild-composer # copr repo name so you can consume the builds project: osbuild-composer # copr repo name so you can consume the builds
targets: targets: *build_targets
- centos-stream-8-aarch64
- centos-stream-8-x86_64
- centos-stream-9-aarch64
- centos-stream-9-x86_64
- epel-8-aarch64
- epel-8-x86_64
- epel-9-aarch64
- epel-9-x86_64
- rhel-8-x86_64
- rhel-9-aarch64
- rhel-9-x86_64
- fedora-all-aarch64
- fedora-all-s390x
- fedora-all-ppc64le
- fedora-all