Add Packit integration for maintenance

This commit is contained in:
Robert-André Mauchin 2025-10-04 14:35:22 +02:00
commit e04ae063ad

35
.packit.yaml Normal file
View file

@ -0,0 +1,35 @@
specfile_path: apache-cloudstack-cloudmonkey.spec
upstream_package_name: cloudstack-cloudmonkey
upstream_project_url: https://github.com/apache/cloudstack-cloudmonkey
downstream_package_name: apache-cloudstack-cloudmonkey
upstream_tag_template: v{version}
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
- rawhide
- job: koji_build
trigger: commit
dist_git_branches:
- rawhide
actions:
post-modifications:
# https://fedora.gitlab.io/sigs/go/go-vendor-tools/scenarios/#manual-update
- |
sh -xeuc "
cd $PACKIT_DOWNSTREAM_REPO
export GOTOOLCHAIN=auto
go_vendor_archive create --config go-vendor-tools.toml apache-cloudstack-cloudmonkey.spec
go_vendor_license \
--config go-vendor-tools.toml \
--path apache-cloudstack-cloudmonkey.spec \
report \
--verify-spec
"
create_sync_note: false