35 lines
919 B
YAML
35 lines
919 B
YAML
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
|