From 1d8cc13a503d25bdfc4dfbac96fc4c86e21fcdc4 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Fri, 4 Oct 2024 14:58:20 +0200 Subject: [PATCH 1/2] ci: de-duplicate packit testing-farm configs for centos-stream Use a single block of tests for all the versions of centos-stream, using the "$releasever" RPM variable. There is no change to the actual tests being run. --- .packit.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.packit.yml b/.packit.yml index 1811f5c..5eff2fc 100644 --- a/.packit.yml +++ b/.packit.yml @@ -49,21 +49,9 @@ jobs: - job: tests trigger: pull_request - identifier: "unit/centos-stream-8" + identifier: "unit/centos-stream" targets: - centos-stream-8 - labels: - - unit - tf_extra_params: - environments: - - artifacts: - - type: repository-file - id: https://copr.fedorainfracloud.org/coprs/g/yggdrasil/latest/repo/centos-stream-8/group_yggdrasil-latest-centos-stream-8.repo - - - job: tests - trigger: pull_request - identifier: "unit/centos-stream-9" - targets: - centos-stream-9 labels: - unit @@ -71,7 +59,7 @@ jobs: environments: - artifacts: - type: repository-file - id: https://copr.fedorainfracloud.org/coprs/g/yggdrasil/latest/repo/centos-stream-9/group_yggdrasil-latest-centos-stream-9.repo + id: https://copr.fedorainfracloud.org/coprs/g/yggdrasil/latest/repo/centos-stream-$releasever/group_yggdrasil-latest-centos-stream-$releasever.repo - job: tests trigger: pull_request From 2ca956cad189103ce8bacc1dc6d23a338eddc228 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Fri, 4 Oct 2024 15:00:37 +0200 Subject: [PATCH 2/2] ci: build & test also on centos-stream-10 --- .packit.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.packit.yml b/.packit.yml index 5eff2fc..03868cb 100644 --- a/.packit.yml +++ b/.packit.yml @@ -29,6 +29,7 @@ jobs: targets: - centos-stream-8 - centos-stream-9 + - centos-stream-10 - fedora-all - rhel-8 - rhel-9 @@ -43,6 +44,7 @@ jobs: targets: - centos-stream-8 - centos-stream-9 + - centos-stream-10 - fedora-all - rhel-8 - rhel-9 @@ -53,6 +55,7 @@ jobs: targets: - centos-stream-8 - centos-stream-9 + - centos-stream-10 labels: - unit tf_extra_params: