From 35f6d8dd0bc45799e8b95ab9c400facfa1f363d4 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Thu, 21 Nov 2024 15:29:52 +0100 Subject: [PATCH] fix: update Packit config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Switch from deprecated syntax (‹synced_files› → ‹files_to_sync›) - Enable downstream automation for Koji builds and Bodhi updates Signed-off-by: Matej Focko --- .packit.yml | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/.packit.yml b/.packit.yml index bbe5a80..a95330e 100644 --- a/.packit.yml +++ b/.packit.yml @@ -1,21 +1,48 @@ -synced_files: - - python-deprecated.spec - - .packit.yml upstream_package_name: Deprecated upstream_tag_template: v{version} downstream_package_name: python-deprecated + +files_to_sync: + - python-deprecated.spec + - .packit.yml + jobs: - job: propose_downstream trigger: release metadata: dist_git_branches: - fedora-all + - job: copr_build trigger: pull_request metadata: targets: - fedora-all +# Downstream automation +- job: koji_build + trigger: commit + allowed_pr_authors: + - packit + - mfocko + allowed_committers: + - packit + - mfocko + dist_git_branches: + - fedora-all + - epel-9 + - epel-10 + +- job: bodhi_update + trigger: koji_build + allowed_builders: + - packit + - mfocko + dist_git_branches: + - fedora-all + - epel-9 + - epel-10 + srpm_build_deps: - python3-pip - python3-setuptools_scm