debian-forge-cli/.packit.yaml
Simon de Vlieger 3fd0373bc0 packit: enable epel-9 and epel-10
Let's ship our package in epel-9 and epel-10 as well as all the
supported Fedora branches. I've manually created, built, and created
updates for these branches already.

I'm not adding automation to the epel-10.0 branch in this PR as we need
to probably consider that more carefully. However, I *have* submitted
version 13 for epel-10.0 manually.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
2025-03-07 11:56:32 +00:00

68 lines
1.8 KiB
YAML

# https://packit.dev/docs/configuration/
specfile_path: image-builder.spec
downstream_package_name: image-builder
files_to_sync:
- image-builder.spec
- .packit.yaml
copy_upstream_release_description: true
upstream_tag_template: v{version}
srpm_build_deps:
- make
- golang
actions:
# v1 just the default prior to having tags
get-current-version: bash -c "make show-version"
post-upstream-clone: bash -c "GOPROXY=https://proxy.golang.org,direct go mod vendor && ./tools/rpm_spec_add_provides_bundle.sh"
create-archive: bash -c "make release_artifacts"
# Handle only releases without a "dot" (e.g. v88.2), since "dot" releases should never be released to Fedora
upstream_tag_include: 'v\d+'
jobs:
- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-branched # rawhide updates are created automatically
- epel-10
- epel-9
- job: koji_build
trigger: commit
dist_git_branches:
- fedora-all
- epel-10
- epel-9
- job: propose_downstream
trigger: release
dist_git_branches:
- fedora-all
- epel-10
- epel-9
- job: copr_build
trigger: pull_request
targets: &build_targets
- centos-stream-9-aarch64
- centos-stream-9-s390x
- centos-stream-9-ppc64le
- centos-stream-9-x86_64
- centos-stream-10-aarch64
- centos-stream-10-s390x
- centos-stream-10-ppc64le
- centos-stream-10-x86_64
- fedora-all-aarch64
- fedora-all-s390x
- fedora-all-ppc64le
- fedora-all
- rhel-9-aarch64
- rhel-9-x86_64
- job: copr_build
trigger: commit
branch: main
owner: "@osbuild" # copr repo namespace
project: image-builder # copr repo name so you can consume the builds
targets: *build_targets