Skip to content

Commit

Permalink
Packit: Reuse Fedora targets wherever possible
Browse files Browse the repository at this point in the history
This commit uses 2 anchors, `fedora_copr_targets` and `fedora_targets`
for copr and downstream jobs respectively.

Signed-off-by: Lokesh Mandvekar <[email protected]>
  • Loading branch information
lsm5 committed Sep 6, 2024
1 parent 556b808 commit e3b5a26
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
notifications: &copr_build_failure_notification
failure_comment:
message: "Ephemeral COPR build failed. @containers/packit-build please check."
targets:
targets: &fedora_copr_targets
- fedora-all-x86_64
- fedora-all-aarch64

Expand Down Expand Up @@ -102,9 +102,7 @@ jobs:
notifications: &podman_system_test_fail_notification
failure_comment:
message: "podman system tests failed. @containers/packit-build please check."
targets:
- fedora-all-x86_64
- fedora-all-aarch64
targets: *fedora_copr_targets
tf_extra_params:
environments:
- artifacts:
Expand Down Expand Up @@ -146,7 +144,7 @@ jobs:
- job: propose_downstream
trigger: release
packages: [crun-fedora]
dist_git_branches:
dist_git_branches: &fedora_targets
- fedora-all

- job: propose_downstream
Expand All @@ -157,8 +155,7 @@ jobs:

- job: koji_build
trigger: commit
dist_git_branches:
- fedora-all
dist_git_branches: *fedora_targets

- job: bodhi_update
trigger: commit
Expand Down

0 comments on commit e3b5a26

Please sign in to comment.