Skip to content

Commit

Permalink
Packit: split out ELN jobs and reuse fedora downstream targets
Browse files Browse the repository at this point in the history
ELN is kind of a midway between Fedora and RHEL, so it's best to mention
ELN jobs separately. This will also allow reusing fedora targets using
YAML anchors for TMT tests.

This commit also mentions fedora-40 targets separately for copr_build
jobs so that once fedora-41 is released, fedora-40 jobs continue to
trigger.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
  • Loading branch information
lsm5 committed Sep 11, 2024
1 parent 0494df6 commit b2defd3
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ packages:
specfile_path: rpm/buildah.spec
buildah-rhel:
specfile_path: rpm/buildah.spec
buildah-eln:
specfile_path: rpm/buildah.spec

srpm_build_deps:
- make
Expand All @@ -26,12 +28,21 @@ jobs:
failure_comment:
message: "Ephemeral COPR build failed. @containers/packit-build please check."
targets:
fedora-development-x86_64: {}
fedora-development-aarch64: {}
fedora-latest-x86_64: {}
fedora-latest-aarch64: {}
fedora-latest-stable-x86_64: {}
fedora-latest-stable-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
enable_net: true

- job: copr_build
trigger: pull_request
packages: [buildah-eln]
notifications: *copr_build_failure_notification
targets:
fedora-eln-x86_64:
additional_repos:
- "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/x86_64/"
Expand Down Expand Up @@ -78,7 +89,7 @@ jobs:
trigger: release
packages: [buildah-fedora]
update_release: false
dist_git_branches:
dist_git_branches: &fedora_targets
- fedora-all

# Sync to CentOS Stream
Expand All @@ -98,5 +109,4 @@ jobs:
# Ref: https://packit.dev/docs/fedora-releases-guide/releasing-multiple-packages
dependents:
- podman
dist_git_branches:
- fedora-all
dist_git_branches: *fedora_targets

0 comments on commit b2defd3

Please sign in to comment.