mirror of
https://github.com/containers/skopeo.git
synced 2025-05-15 11:20:12 +00:00
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>
117 lines
3.1 KiB
YAML
117 lines
3.1 KiB
YAML
---
|
|
# See the documentation for more information:
|
|
# https://packit.dev/docs/configuration/
|
|
|
|
# NOTE: The Packit copr_build tasks help to check if every commit builds on
|
|
# supported Fedora and CentOS Stream arches.
|
|
# They do not block the current Cirrus-based workflow.
|
|
|
|
downstream_package_name: skopeo
|
|
upstream_tag_template: v{version}
|
|
|
|
packages:
|
|
skopeo-fedora:
|
|
pkg_tool: fedpkg
|
|
specfile_path: rpm/skopeo.spec
|
|
skopeo-centos:
|
|
pkg_tool: centpkg
|
|
specfile_path: rpm/skopeo.spec
|
|
skopeo-rhel:
|
|
specfile_path: rpm/skopeo.spec
|
|
skopeo-eln:
|
|
specfile_path: rpm/skopeo.spec
|
|
|
|
srpm_build_deps:
|
|
- make
|
|
|
|
jobs:
|
|
- job: copr_build
|
|
trigger: pull_request
|
|
packages: [skopeo-fedora]
|
|
notifications: &copr_build_failure_notification
|
|
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-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/"
|
|
fedora-eln-aarch64:
|
|
additional_repos:
|
|
- "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/aarch64/"
|
|
enable_net: true
|
|
|
|
- job: copr_build
|
|
trigger: pull_request
|
|
packages: [skopeo-centos]
|
|
notifications: *copr_build_failure_notification
|
|
targets:
|
|
- centos-stream-9-x86_64
|
|
- centos-stream-9-aarch64
|
|
- centos-stream-10-x86_64
|
|
- centos-stream-10-aarch64
|
|
enable_net: true
|
|
|
|
# Disabled until there is go 1.22 in epel-9
|
|
# - job: copr_build
|
|
# trigger: pull_request
|
|
# packages: [skopeo-rhel]
|
|
# notifications: *copr_build_failure_notification
|
|
# targets:
|
|
# - epel-9-x86_64
|
|
# - epel-9-aarch64
|
|
# enable_net: true
|
|
|
|
# Run on commit to main branch
|
|
- job: copr_build
|
|
trigger: commit
|
|
packages: [skopeo-fedora]
|
|
notifications:
|
|
failure_comment:
|
|
message: "podman-next COPR build failed. @containers/packit-build please check."
|
|
branch: main
|
|
owner: rhcontainerbot
|
|
project: podman-next
|
|
enable_net: true
|
|
|
|
# Sync to Fedora
|
|
- job: propose_downstream
|
|
trigger: release
|
|
packages: [skopeo-fedora]
|
|
update_release: false
|
|
dist_git_branches: &fedora_targets
|
|
- fedora-all
|
|
|
|
# Sync to CentOS Stream
|
|
- job: propose_downstream
|
|
trigger: release
|
|
packages: [skopeo-centos]
|
|
update_release: false
|
|
dist_git_branches:
|
|
- c10s
|
|
|
|
# Fedora Koji build
|
|
- job: koji_build
|
|
trigger: commit
|
|
sidetag_group: podman-releases
|
|
# Dependents are not rpm dependencies, but the package whose bodhi update
|
|
# should include this package.
|
|
# Ref: https://packit.dev/docs/fedora-releases-guide/releasing-multiple-packages
|
|
dependents:
|
|
- podman
|
|
dist_git_branches: *fedora_targets
|