Skip to content

Commit

Permalink
packit: Add RPM build for pull requests against the rhel10-branch
Browse files Browse the repository at this point in the history
For 'rhel10-branch' we want to run builds just for the CentOS 10
Stream target.
  • Loading branch information
vojtechtrefny committed Sep 5, 2024
1 parent 111b07d commit e2c8715
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,36 @@ actions:
- bash -c "sed -i python-blivet.spec -e \"s/Release:.*/Release:\ ${PACKIT_RPMSPEC_RELEASE}%{?dist}/\""

jobs:
# Fedora builds for the 'main' branch
- job: copr_build
targets:
- fedora-all
trigger: pull_request
branch: main

# CentOS 10 Stream builds for the 'rhel10-branch'
- job: copr_build
targets:
- centos-stream-10-x86_64
trigger: pull_request
branch: rhel10-branch

# Daily builds for Fedora from the 'main' branch
- job: copr_build
trigger: commit
owner: "@storage"
project: blivet-daily
branch: main
preserve_project: true

# Fedora tests for the 'main' branch
- job: tests
trigger: pull_request
targets:
- fedora-latest-stable
branch: main

# Downstream builds
- job: propose_downstream
trigger: release
dist_git_branches:
Expand All @@ -49,7 +60,8 @@ jobs:
dist_git_branches:
- fedora-branched

# run tests for udisks consumers, see plans/ with `revdeps == yes`
# Reverse dependency tests
## run tests for udisks consumers, see plans/ with `revdeps == yes`
- job: tests
identifier: revdeps
trigger: pull_request
Expand Down

0 comments on commit e2c8715

Please sign in to comment.