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

Fix Packit config #419

Merged
merged 2 commits into from
Nov 29, 2024
Merged
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
49 changes: 9 additions & 40 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ upstream_tag_template: v{version}
srpm_build_deps:
- curl

targets:
- fedora-latest-stable
- fedora-development
- epel-9

actions:
post-upstream-clone:
# fetch specfile from src.fp.o
Expand All @@ -36,38 +41,18 @@ jobs:
# upon upstream PRs, perform COPR builds
- job: copr_build
trigger: pull_request
metadata:
targets:
- fedora-latest-stable
- fedora-development
- epel9

# upon upstream PRs, test builds
- job: tests
trigger: pull_request
metadata:
targets:
- fedora-latest-stable
- fedora-development
- epel9

# upon upstream releases, perform COPR builds
- job: copr_build
trigger: release
metadata:
targets:
- fedora-latest-stable
- fedora-development
- epel9

# upon upstream releases, test builds
- job: tests
trigger: release
metadata:
targets:
- fedora-latest-stable
- fedora-development
- epel9

# upon downstream changes, create a PR upstream with sync'd files from above
- job: sync_from_downstream
Expand All @@ -76,37 +61,21 @@ jobs:
# land upstream release in fedora dist-git - no builds
- job: propose_downstream
trigger: release
metadata:
dist_git_branches:
- fedora-latest-stable
- fedora-development
- epel9

# create an srpm from upstream and submit a scratch build to koji
- job: production_build
trigger: release
metadata:
targets:
- fedora-latest-stable
- fedora-development
- epel9

# downstream automation

# trigger a build in koji for a new dist-git commit
- job: koji_build
trigger: commit
metadata:
dist_git_branches:
- fedora-latest-stable
- fedora-development
- epel9

# create a new update in bodhi for a successful koji build. directly related to `koji_build`
- job: bodhi_update
trigger: commit
metadata:
dist_git_branches:
# Don't create an update on Rawhide.
- fedora-latest-stable
- epel9
dist_git_branches:
# Don't create an update on Rawhide.
- fedora-latest-stable
- epel-9