Skip to content
Open
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
29 changes: 28 additions & 1 deletion .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,38 @@ targets: &all-targets
- epel-9
- epel-10

# Common definitions
_:
# Copr jobs under the packit project
- &copr-under-packit
job: copr_build
additional_repos:
- copr://@teemtee/stable

# Copr jobs under the teemtee project
- &copr-under-teemtee
<<: *copr-under-packit
list_on_homepage: true
preserve_project: true
owner: "@teemtee"

jobs:
# Build pull requests
- job: copr_build
- <<: *copr-under-packit
trigger: pull_request

# Build commits merged to main to latest
- <<: *copr-under-teemtee
trigger: commit
branch: main
project: latest
release_suffix: "{PACKIT_PROJECT_BRANCH}"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why did we use main as release? We can just use update_release: false instead

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I think it was to make it clear / obvious at the first sight that the package is the latest greatest bleeding edge from the main branch.


# Build released bits to stable
- <<: *copr-under-teemtee
trigger: release
project: stable

# Propose downstream pull requests
- job: propose_downstream
trigger: release
Expand Down