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 78d48a1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 6 deletions.
32 changes: 26 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,19 +14,45 @@ 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

- job: koji_build
trigger: commit
packages: [coreos-installer-fedora]
dist_git_branches:
- fedora-all

- job: bodhi_update
trigger: commit
packages: [coreos-installer-fedora]
dist_git_branches:
- fedora-all

- job: propose_downstream
trigger: release
packages: [coreos-installer-centos]
dist_git_branches:
- c9s
1 change: 1 addition & 0 deletions docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Internal changes:
Packaging changes:

- Update packit's downstream targets to be `fedora-all`
- Add Packit support for c9s packaging


## coreos-installer 0.21.0 (2024-02-22)
Expand Down

0 comments on commit 78d48a1

Please sign in to comment.