Skip to content

Commit

Permalink
packit: add initial support
Browse files Browse the repository at this point in the history
This config is setup to target downstream job automation in pagure.
  • Loading branch information
prestist committed Dec 11, 2023
1 parent d9d2c49 commit 5c67a0b
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5c67a0b

Please sign in to comment.