From eebbc35ba99a93f72e000d582c229026068067b8 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Wed, 11 Sep 2024 18:03:42 +0530 Subject: [PATCH] Packit: split out ELN jobs and reuse fedora downstream targets 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 (cherry picked from commit e39efb10e1d6d41c0751b53192b65e6a43b226a2) Signed-off-by: Lokesh Mandvekar --- .packit.yaml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index 852021be..3025ea0f 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -18,6 +18,8 @@ packages: specfile_path: rpm/skopeo.spec skopeo-rhel: specfile_path: rpm/skopeo.spec + skopeo-eln: + specfile_path: rpm/skopeo.spec srpm_build_deps: - make @@ -30,8 +32,21 @@ jobs: failure_comment: message: "Ephemeral COPR build 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 + enable_net: true + + - job: copr_build + trigger: pull_request + packages: [skopeo-eln] + notifications: *copr_build_failure_notification + targets: fedora-eln-x86_64: additional_repos: - "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/x86_64/" @@ -77,7 +92,7 @@ jobs: trigger: release packages: [skopeo-fedora] update_release: false - dist_git_branches: + dist_git_branches: &fedora_targets - fedora-all # Sync to CentOS Stream @@ -97,5 +112,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