Skip to content

Commit

Permalink
Merge pull request #1260 from martinpitt/packit-temporary
Browse files Browse the repository at this point in the history
packit: Build PRs into default packit COPRs
  • Loading branch information
lsm5 authored Aug 8, 2023
2 parents e2e7b62 + 387d3ac commit 4ee9bde
Showing 1 changed file with 22 additions and 17 deletions.
39 changes: 22 additions & 17 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,35 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/

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

specfile_path: rpm/crun.spec

srpm_build_deps:
- git-archive-all
- make
actions:
create-archive:
- "git-archive-all -v --force-submodules rpm/crun-HEAD.tar.xz"
- bash -c "ls -1 rpm/crun-HEAD.tar.xz"

jobs:
- &copr
job: copr_build
- job: copr_build
trigger: pull_request
owner: rhcontainerbot
project: packit-builds
enable_net: true
srpm_build_deps:
- git-archive-all
- make
actions:
create-archive:
- "git-archive-all -v --force-submodules rpm/crun-HEAD.tar.xz"
- bash -c "ls -1 rpm/crun-HEAD.tar.xz"
# keep in sync with https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next
targets:
- fedora-all-x86_64
- 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
# Run on commit to main branch
- job: copr_build
trigger: commit
branch: main
owner: rhcontainerbot
project: podman-next

- job: propose_downstream
Expand Down

0 comments on commit 4ee9bde

Please sign in to comment.