From: Jóhann B. Guðmundsson Date: Fri, 19 Feb 2021 14:51:47 +0000 (+0000) Subject: feat(github): adding packit support for fedora maintenance X-Git-Tag: 053~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1edf54e275381383f2360eaafe204a4b2bfa3bd9;p=thirdparty%2Fdracut.git feat(github): adding packit support for fedora maintenance Adding initial packit [1] support for fedora maintenance which should automate the release process from upstream release to fedora. 1. https://packit.dev --- diff --git a/.packit.yml b/.packit.yml new file mode 100644 index 000000000..88ad76f6a --- /dev/null +++ b/.packit.yml @@ -0,0 +1,58 @@ +# This file is part of dracut. +# SPDX-License-Identifier: GPL-2.0-or-later + +# The name of the upstream package +upstream_package_name: dracut + +# The upstream tag versioning scheme +upstream_tag_template: "{version}" + +# The URL of the upstream project +upstream_project_url: https://github.com/dracutdevs/dracut + +# Relative path to a spec file within the upstream repository +specfile_path: dracut.spec + +# Name of the downstream package +downstream_package_name: dracut + +# The URL of the downstream project +dist_git_base_url: https://src.fedoraproject.org/ + +# Sync file(s) from upstream repo to dist-git +synced_files: + # The dracut spec file is maintained upstream so we sync it downstream. + - dracut.spec + # We sync the packit file downstream be able to optionally use the sync-from-downstream command + - .packit.yaml + +# We want new releases to be automatically built on rawhide and have few jobs +# on copr. +create_pr: false +jobs: +- job: propose_downstream + trigger: release + metadata: + dist_git_branches: master + +- job: tests + trigger: pull_request + metadata: + targets: + - fedora-rawhide + +- job: copr_build + trigger: pull_request + metadata: + targets: + - fedora-rawhide + +- job: copr_build + trigger: commit + metadata: + targets: + - fedora-rawhide + branch: master + owner: "@dracut" + project: Dracut + preserve_project: True