Skip to content

Commit

Permalink
packit.yaml: add c9s
Browse files Browse the repository at this point in the history
  • Loading branch information
HuijingHei committed Apr 10, 2024
1 parent 10017f1 commit 5d5231a
Showing 1 changed file with 24 additions and 6 deletions.
30 changes: 24 additions & 6 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/
actions:
changelog-entry:
- bash -c 'echo "- 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}
Expand All @@ -20,10 +14,28 @@ upstream_package_name: coreos-installer
# downstream (Fedora) RPM package name
downstream_package_name: rust-coreos-installer

packages:
coreos-installer-fedora:
specfile_path: rust-coreos-installer.spec
actions:
post-upstream-clone:
- wget https://src.fedoraproject.org/rpms/rust-coreos-installer/raw/rawhide/f/rust-coreos-installer.spec
changelog-entry:
- bash -c 'echo "- New upstream release"'
coreos-installer-centos:
pkg_tool: centpkg
specfile_path: rust-coreos-installer.spec
actions:
post-upstream-clone:
- wget https://gitlab.com/redhat/centos-stream/rpms/rust-coreos-installer/-/raw/c9s/rust-coreos-installer.spec
changelog-entry:
- bash -c 'echo "- New upstream release"'

jobs:

- job: propose_downstream
trigger: release
packages: [coreos-installer-fedora]
dist_git_branches:
- fedora-all

Expand All @@ -36,3 +48,9 @@ jobs:
trigger: commit
dist_git_branches:
- fedora-all

- job: propose_downstream
trigger: release
packages: [coreos-installer-centos]
dist_git_branches:
- c9s

0 comments on commit 5d5231a

Please sign in to comment.