From 6c01d10f8b3e35869a3bc6852b78cdce344cccf9 Mon Sep 17 00:00:00 2001 From: Tomas Hozza Date: Fri, 3 Dec 2021 10:56:32 +0100 Subject: [PATCH] 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 --- .packit.yaml | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/.packit.yaml b/.packit.yaml index 292d178d7..992416a8f 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -22,4 +22,35 @@ jobs: trigger: release metadata: dist_git_branches: - - fedora-all \ No newline at end of file + - 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