From 6dafd59eaa866c4cce047eedbeb40904d7609287 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Thu, 22 Jun 2023 11:15:48 +0200 Subject: [PATCH] packit: use yaml anchors to dedup the copr build targets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ondřej Budai --- .packit.yaml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index ea29bc611..5c5edb544 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -30,7 +30,7 @@ jobs: - fedora-all - job: copr_build trigger: pull_request - targets: + targets: &build_targets - centos-stream-8-aarch64 - centos-stream-8-x86_64 - centos-stream-9-aarch64 @@ -51,19 +51,4 @@ jobs: branch: main owner: "@osbuild" # copr repo namespace project: osbuild-composer # copr repo name so you can consume the builds - 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 + targets: *build_targets