Restrict Packit targets to those that support Go 1.22

Based on 54b8c4fb64
by Paul Holzinger <pholzing@redhat.com> .

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
Miloslav Trmač
2024-09-03 19:25:45 +02:00
parent 2f45e4888a
commit bebbbaee46

View File

@@ -30,8 +30,12 @@ jobs:
failure_comment: failure_comment:
message: "Ephemeral COPR build failed. @containers/packit-build please check." message: "Ephemeral COPR build failed. @containers/packit-build please check."
targets: targets:
fedora-all-x86_64: {} fedora-development-x86_64: {}
fedora-all-aarch64: {} fedora-development-aarch64: {}
fedora-latest-x86_64: {}
fedora-latest-aarch64: {}
fedora-latest-stable-x86_64: {}
fedora-latest-stable-aarch64: {}
fedora-eln-x86_64: fedora-eln-x86_64:
additional_repos: additional_repos:
- "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/x86_64/" - "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/x86_64/"
@@ -51,14 +55,15 @@ jobs:
- centos-stream-10-aarch64 - centos-stream-10-aarch64
enable_net: true enable_net: true
- job: copr_build # Disabled until there is go 1.22 in epel-9
trigger: pull_request # - job: copr_build
packages: [skopeo-rhel] # trigger: pull_request
notifications: *copr_build_failure_notification # packages: [skopeo-rhel]
targets: # notifications: *copr_build_failure_notification
- epel-9-x86_64 # targets:
- epel-9-aarch64 # - epel-9-x86_64
enable_net: true # - epel-9-aarch64
# enable_net: true
# Run on commit to main branch # Run on commit to main branch
- job: copr_build - job: copr_build