Add Packit integration for maintenance
This commit is contained in:
parent
a0ab58e9c0
commit
e04ae063ad
1 changed files with 35 additions and 0 deletions
35
.packit.yaml
Normal file
35
.packit.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue