From bc478e9c49badbae1c44f43a9875212bdeb9c042 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Mon, 31 Jul 2023 10:43:57 +0200 Subject: [PATCH] packit: Build COPR for main commits Build every commit into main into https://copr.fedorainfracloud.org/coprs/g/cockpit/main-builds/ We will use that for cross-project testing (e.g. running cockpit-podman's tests in podman upstream PRs). Users can also install that to test bug fixes and new features after they landed, but before they got released. --- packit.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packit.yaml b/packit.yaml index e7c9c9602..27daac109 100644 --- a/packit.yaml +++ b/packit.yaml @@ -26,7 +26,7 @@ jobs: - centos-stream-9-x86_64 - centos-stream-9-aarch64 - centos-stream-8-x86_64 - + - job: tests trigger: pull_request targets: @@ -51,6 +51,13 @@ jobs: - sh -exc "curl -L -O https://github.com/cockpit-project/cockpit-podman/releases/download/${PACKIT_PROJECT_VERSION}/${PACKIT_PROJECT_NAME_VERSION}.tar.xz" - sh -exc "ls ${PACKIT_PROJECT_NAME_VERSION}.tar.xz" + - job: copr_build + trigger: commit + branch: "^main$" + owner: "@cockpit" + project: "main-builds" + preserve_project: True + - job: propose_downstream trigger: release dist_git_branches: