Use PackIt for building RPMs in COPR for PRs and commits to main

Exclude s390x for now as it is emulated in COPR and `go` binary
segfaults when building osbuild-composer.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
Tomas Hozza 2021-12-03 10:56:32 +01:00 committed by Tomáš Hozza
parent 0731857d6c
commit 6c01d10f8b

View file

@ -22,4 +22,35 @@ jobs:
trigger: release
metadata:
dist_git_branches:
- fedora-all
- fedora-all
- job: copr_build
trigger: pull_request
metadata:
targets:
- centos-stream-8-aarch64
- centos-stream-8-x86_64
- centos-stream-9-aarch64
- centos-stream-9-x86_64
- epel-8-aarch64
- epel-8-x86_64
- fedora-all-aarch64
#- fedora-all-s390x # go binary segfaults in the emulated environment
- fedora-all-ppc64le
- fedora-all
- job: copr_build
trigger: commit
metadata:
branch: main
owner: "@osbuild" # copr repo namespace
project: osbuild-composer # copr repo name so you can consume the builds
targets:
- centos-stream-8-aarch64
- centos-stream-8-x86_64
- centos-stream-9-aarch64
- centos-stream-9-x86_64
- epel-8-aarch64
- epel-8-x86_64
- fedora-all-aarch64
#- fedora-all-s390x # go binary segfaults in the emulated environment
- fedora-all-ppc64le
- fedora-all