From 5c67a0b6952f7055b19c205df2de0e616623287b Mon Sep 17 00:00:00 2001 From: Steven Presti Date: Fri, 8 Dec 2023 14:25:41 -0500 Subject: [PATCH] packit: add initial support This config is setup to target downstream job automation in pagure. --- .packit.yaml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .packit.yaml diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 00000000..ee063da7 --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,40 @@ +# See the documentation for more information: +# https://packit.dev/docs/configuration/ +actions: + changelog-entry: + - "New upstream release" + post-upstream-clone: + - "wget https://src.fedoraproject.org/rpms/rust-coreos-installer/raw/rawhide/f/rust-coreos-installer.spec -O rust-coreos-installer.spec" + +specfile_path: rust-coreos-installer.spec + +upstream_tag_template: v{version} + +# add or remove files that should be synced +files_to_sync: + - rust-coreos-installer.spec + - .packit.yaml + +# name in upstream package repository or registry (e.g. in PyPI) +upstream_package_name: coreos-installer +# downstream (Fedora) RPM package name +downstream_package_name: rust-coreos-installer + +jobs: + +- job: propose_downstream + trigger: release + dist_git_branches: + - fedora-rawhide + - fedora-stable + +- job: koji_build + trigger: commit + dist_git_branches: + - fedora-rawhide + - fedora-stable + +- job: bodhi_update + trigger: commit + dist_git_branches: + - fedora-stable