From e04ae063addb60c7fd4d68970eb8294944bc52fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= Date: Sat, 4 Oct 2025 14:35:22 +0200 Subject: [PATCH] Add Packit integration for maintenance --- .packit.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .packit.yaml diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..8cd0f2d --- /dev/null +++ b/.packit.yaml @@ -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