Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

packit.yaml: add c9s #1446

Merged
merged 1 commit into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kinda surprised Packit needs to be told this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol meeee too.

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might as well add c10s now. Or is Packit integration not yet done for that yet?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean it will create PR and merge automatically, is it necessary to add comment like resolve #<bug> ?

- 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
Loading