Skip to content

Commit

Permalink
Merge pull request #1446 from HuijingHei/packit-c9s
Browse files Browse the repository at this point in the history
packit.yaml: add c9s
  • Loading branch information
prestist authored Jul 22, 2024
2 parents c2062d9 + d0eaa43 commit bf15feb
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 10 deletions.
37 changes: 28 additions & 9 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +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}

# add or remove files that should be synced
Expand All @@ -20,19 +12,46 @@ 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
- fedora-rawhide

- 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
- c10s
3 changes: 2 additions & 1 deletion docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ Internal changes:
Packaging changes:

- Require Rust ≥ 1.75.0
- Update packit's downstream targets to be `fedora-all`
- Update packit's downstream targets to be `fedora-rawhide`
- Add Packit support for c9s packaging
- Update container to Fedora 40

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

0 comments on commit bf15feb

Please sign in to comment.