From cad02674635de3c0a137af3233d4122c8ce06b97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Mon, 11 Dec 2023 14:08:24 +0100 Subject: [PATCH] add packit automation for pull_from_upstream https://packit.dev/docs/fedora-releases-guide#pull-from-upstream-job --- packit.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 packit.yaml diff --git a/packit.yaml b/packit.yaml new file mode 100644 index 0000000..61bbdd5 --- /dev/null +++ b/packit.yaml @@ -0,0 +1,32 @@ +# See the documentation for more information: +# https://packit.dev/docs/configuration/ + +upstream_project_url: https://github.com/mesonbuild/meson +copy_upstream_release_description: false + +# do not sync release candidate versions +upstream_tag_exclude: ".*rc\\d+" + +jobs: +- job: pull_from_upstream + trigger: release + dist_git_branches: + - fedora-rawhide + actions: + commit-message: + - bash -c 'echo "Update to ${PACKIT_PROJECT_VERSION}"' + - bash -c '[ -z "$PACKIT_RESOLVED_BUGS" ] || echo ${PACKIT_RESOLVED_BUGS} | tr " " "\n" | sed "s/^/- Resolves /"' + - bash -c 'echo "- Upstream tag: ${PACKIT_UPSTREAM_TAG}"' + - bash -c 'echo "- Upstream commit: ${PACKIT_UPSTREAM_COMMIT}"' + + +- job: koji_build + trigger: commit + allowed_committers: ['packit'] + dist_git_branches: + - fedora-all + +- job: bodhi_update + trigger: commit + dist_git_branches: + - fedora-branched