Skip to content

Commit

Permalink
Merge pull request #1566 from martinpitt/packit-temp-copr
Browse files Browse the repository at this point in the history
packit: Build PRs into default packit COPRs
  • Loading branch information
saschagrunert authored Aug 8, 2023
2 parents d9fbeb9 + c7ba179 commit 076e9fd
Showing 1 changed file with 24 additions and 29 deletions.
53 changes: 24 additions & 29 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,46 +2,41 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/

# Pull request build targets can be found at:
# https://copr.fedorainfracloud.org/coprs/rhcontainerbot/packit-builds/

# Main branch commit build targets can be found at:
# https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/

specfile_path: conmon-rs.spec

srpm_build_deps:
- cargo
- make
- rpkg

actions:
post-upstream-clone:
- "rpkg spec --outdir ./"
fix-spec-file:
- "bash .packit.sh"

jobs:
- &copr
job: copr_build
- job: copr_build
trigger: pull_request
owner: rhcontainerbot
project: packit-builds
# keep in sync with https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next
enable_net: true
srpm_build_deps:
- cargo
- make
- rpkg
targets:
- centos-stream-8-aarch64
- centos-stream-8-x86_64
- centos-stream-9-aarch64
- centos-stream-9-x86_64
- fedora-all-aarch64
- fedora-all-x86_64
actions:
post-upstream-clone:
- "rpkg spec --outdir ./"
fix-spec-file:
- "bash .packit.sh"
- fedora-all-aarch64
- centos-stream+epel-next-8-x86_64
- centos-stream+epel-next-8-aarch64
- centos-stream+epel-next-9-x86_64
- centos-stream+epel-next-9-aarch64
additional_repos:
- "copr://rhcontainerbot/podman-next"

- <<: *copr
# Run on commit to main branch
- job: copr_build
trigger: commit
branch: main
owner: rhcontainerbot
project: podman-next
targets:
- centos-stream+epel-next-8-aarch64
- centos-stream+epel-next-8-x86_64
- centos-stream+epel-next-9-aarch64
- centos-stream+epel-next-9-x86_64
- fedora-all-aarch64
- fedora-all-x86_64
enable_net: true

0 comments on commit 076e9fd

Please sign in to comment.