summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLokesh Mandvekar <lsm5@fedoraproject.org>2024-09-26 19:55:03 +0530
committerLokesh Mandvekar <lsm5@fedoraproject.org>2024-09-26 19:55:03 +0530
commit6b7741f791f27e6eafc3fefd60abfa0885ddc328 (patch)
tree9b37bc96f88f5c9f0ae05e082d7d2c18b7a93864
parentf544277acbbe43b081dbebb2d76b935c6463f418 (diff)
Packit: disable F39 and separate out ELN
We have disabled Fedora 39 on podman-next copr. So, it's best to disable build and tests for them here too. This commit also separates out ELN jobs into a separate set using `packages: [aardvark-dns-eln]` key-value. YAML anchors are also used for reusing fedora and centos stream targets for upstream and downstream jobs. Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
-rw-r--r--.packit.yaml36
1 files changed, 23 insertions, 13 deletions
diff --git a/.packit.yaml b/.packit.yaml
index acd5096..a38060c 100644
--- a/.packit.yaml
+++ b/.packit.yaml
@@ -30,6 +30,8 @@ packages:
specfile_path: rpm/aardvark-dns.spec
aardvark-dns-rhel:
specfile_path: rpm/aardvark-dns.spec
+ aardvark-dns-eln:
+ specfile_path: rpm/aardvark-dns.spec
srpm_build_deps:
- cargo
@@ -44,8 +46,15 @@ jobs:
failure_comment:
message: "Ephemeral COPR build failed. @containers/packit-build please check."
targets:
- fedora-all-x86_64: {}
- fedora-all-aarch64: {}
+ - fedora-all-x86_64
+ - fedora-all-aarch64
+ enable_net: true
+
+ - job: copr_build
+ trigger: pull_request
+ packages: [aardvark-dns-eln]
+ notifications: *copr_build_failure_notification
+ targets:
fedora-eln-x86_64:
additional_repos:
- "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/x86_64/"
@@ -58,7 +67,7 @@ jobs:
trigger: pull_request
packages: [aardvark-dns-centos]
notifications: *copr_build_failure_notification
- targets:
+ targets: &centos_copr_targets
- centos-stream-9-x86_64
- centos-stream-9-aarch64
- centos-stream-10-x86_64
@@ -94,19 +103,21 @@ jobs:
failure_comment:
message: "Tests failed. @containers/packit-build please check."
targets:
- - fedora-all-x86_64
- - fedora-all-aarch64
+ - fedora-development-x86_64
+ - fedora-development-aarch64
+ - fedora-latest-x86_64
+ - fedora-latest-aarch64
+ - fedora-latest-stable-x86_64
+ - fedora-latest-stable-aarch64
+ - fedora-40-x86_64
+ - fedora-40-aarch64
# Unit tests on CentOS Stream
- job: tests
trigger: pull_request
packages: [aardvark-dns-centos]
notifications: *test_failure_notification
- targets:
- - centos-stream-9-x86_64
- - centos-stream-9-aarch64
- - centos-stream-10-x86_64
- - centos-stream-10-aarch64
+ targets: *centos_copr_targets
# Unit tests on RHEL
- job: tests
@@ -133,7 +144,7 @@ jobs:
trigger: release
packages: [aardvark-dns-fedora]
update_release: false
- dist_git_branches:
+ dist_git_branches: &fedora_targets
- fedora-all
# Sync to CentOS Stream
@@ -149,5 +160,4 @@ jobs:
sidetag_group: netavark-releases
dependents:
- netavark
- dist_git_branches:
- - fedora-all
+ dist_git_branches: *fedora_targets