diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..1eb8e7b --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,44 @@ +--- +specfile_path: containernetworking-plugins.spec +# files_to_sync: +# - containernetworking-plugins.spec +# - .packit.yaml +upstream_package_name: plugins +upstream_project_url: https://github.com/containernetworking/plugins +downstream_package_name: containernetworking-plugins +upstream_tag_template: v{version} + +actions: + changelog-entry: + - bash -c "echo - New release ${PACKIT_PROJECT_VERSION}" + +jobs: + # Fedora 38 follows cni-plugins 1.3 due to golang contraint + - job: pull_from_upstream + trigger: release + dist_git_branches: fedora-38 + upstream_tag_include: "^v1.3.+" + + # Fedora 39 follows latest version + - job: pull_from_upstream + trigger: release + dist_git_branches: fedora-39 + # upstream_tag_include: "^v1.4.+" + + # Fedora Rawhide follows the latest version + - job: pull_from_upstream + trigger: release + dist_git_branches: fedora-rawhide + # upstream_tag_include: "^v1.4.+" + + # Run Koji builds when Packit pull requests are merged + - job: koji_build + trigger: commit + dist_git_branches: fedora-all + + # Create Bodhi updates in all Fedora stable versions + - job: bodhi_update + trigger: commit + dist_git_branches: fedora-all + +...