From e27cb52d0aeed802485471152d8fad31edf4177e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= Date: Tue, 24 Sep 2024 16:23:19 +0900 Subject: [PATCH] Update Packit build configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Krzysztof WilczyƄski --- .packit.yaml | 190 +++++++++++++++++++++++++-------------------------- 1 file changed, 95 insertions(+), 95 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index 587976c03148..e8524ec6e1fe 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -18,13 +18,13 @@ packages: get-current-version: "bash -ec 'grep \"^const Version\" internal/version/version.go | cut -d\\\" -f2'" post-upstream-clone: # Use the Fedora Rawhide specfile - - "git clone https://src.fedoraproject.org/rpms/cri-o .packit_rpm --depth=1" + - git clone https://src.fedoraproject.org/rpms/cri-o .packit_rpm --depth=1 # Drop the "sources" file - - "rm -fv .packit_rpm/sources" + - rm -fv .packit_rpm/sources # Update %global commit0 in specfile - - "sed -i \"s/^%global commit0.*/%global commit0 $(git rev-parse HEAD)/\" .packit_rpm/cri-o.spec" + - sed -i "s/^%global commit0.*/%global commit0 $(git rev-parse HEAD)/" .packit_rpm/cri-o.spec # Remove downstream patches (if any) - - "sed -ri '/^Patch[0-9].*/d' .packit_rpm/cri-o.spec" + - sed -ri "/^Patch[0-9].*/d" .packit_rpm/cri-o.spec fedora-40: # v1.28.x # Propose minor and patch releases downstream @@ -42,7 +42,7 @@ packages: # Drop the "sources" file so rebase-helper doesn't think we're a dist-git - "rm -fv .packit_rpm/sources" # Update %global commit0 in specfile - - "sed -i \"s/^%global commit0.*/%global commit0 $(git rev-parse HEAD)/\" .packit_rpm/cri-o.spec" + - 'sed -i "s/^%global commit0.*/%global commit0 $(git rev-parse HEAD)/" .packit_rpm/cri-o.spec' fedora-39: # v1.27.x # Only propose patch releases downstream @@ -59,104 +59,104 @@ packages: # Drop the "sources" file so rebase-helper doesn't think we're a dist-git - "rm -fv .packit_rpm/sources" # Update %global commit0 in specfile - - "sed -i \"s/^%global commit0.*/%global commit0 $(git rev-parse HEAD)/\" .packit_rpm/cri-o.spec" + - 'sed -i "s/^%global commit0.*/%global commit0 $(git rev-parse HEAD)/" .packit_rpm/cri-o.spec' jobs: -- job: copr_build - trigger: pull_request - branch: main - targets: - - centos-stream-9-aarch64 - - centos-stream-9-x86_64 - - fedora-development-aarch64 - - fedora-development-x86_64 - - fedora-latest-stable-aarch64 - - fedora-latest-stable-x86_64 - packages: - - fedora-rawhide + - job: copr_build + trigger: pull_request + branch: main + targets: + - centos-stream-9-aarch64 + - centos-stream-9-x86_64 + - fedora-development-aarch64 + - fedora-development-x86_64 + - fedora-latest-stable-aarch64 + - fedora-latest-stable-x86_64 + packages: + - fedora-rawhide -- job: copr_build - trigger: pull_request - branch: release-1.30 - targets: - - centos-stream-9-aarch64 - - centos-stream-9-x86_64 - - fedora-development-aarch64 - - fedora-development-x86_64 - - fedora-latest-stable-aarch64 - - fedora-latest-stable-x86_64 - packages: - - fedora-rawhide + - job: copr_build + trigger: pull_request + branch: release-1.30 + targets: + - centos-stream-9-aarch64 + - centos-stream-9-x86_64 + - fedora-development-aarch64 + - fedora-development-x86_64 + - fedora-latest-stable-aarch64 + - fedora-latest-stable-x86_64 + packages: + - fedora-rawhide -- job: copr_build - trigger: pull_request - branch: release-1.29 - targets: - - centos-stream-9-aarch64 - - centos-stream-9-x86_64 - - fedora-rawhide-aarch64 - - fedora-rawhide-x86_64 - - fedora-40-aarch64 - - fedora-40-x86_64 - packages: - - fedora-40 + - job: copr_build + trigger: pull_request + branch: release-1.29 + targets: + - centos-stream-9-aarch64 + - centos-stream-9-x86_64 + - fedora-rawhide-aarch64 + - fedora-rawhide-x86_64 + - fedora-40-aarch64 + - fedora-40-x86_64 + packages: + - fedora-40 -- job: copr_build - trigger: pull_request - branch: release-1.28 - targets: - - centos-stream-9-aarch64 - - centos-stream-9-x86_64 - - fedora-rawhide-aarch64 - - fedora-rawhide-x86_64 - - fedora-40-aarch64 - - fedora-40-x86_64 - packages: - - fedora-40 + - job: copr_build + trigger: pull_request + branch: release-1.28 + targets: + - centos-stream-9-aarch64 + - centos-stream-9-x86_64 + - fedora-rawhide-aarch64 + - fedora-rawhide-x86_64 + - fedora-40-aarch64 + - fedora-40-x86_64 + packages: + - fedora-40 -- job: copr_build - trigger: pull_request - branch: release-1.27 - targets: - - centos-stream-9-aarch64 - - centos-stream-9-x86_64 - - fedora-rawhide-aarch64 - - fedora-rawhide-x86_64 - - fedora-39-aarch64 - - fedora-39-x86_64 - packages: - - fedora-39 + - job: copr_build + trigger: pull_request + branch: release-1.27 + targets: + - centos-stream-9-aarch64 + - centos-stream-9-x86_64 + - fedora-rawhide-aarch64 + - fedora-rawhide-x86_64 + - fedora-39-aarch64 + - fedora-39-x86_64 + packages: + - fedora-39 -- job: propose_downstream - trigger: release - dist_git_branches: - - rawhide - packages: - - fedora-rawhide + - job: propose_downstream + trigger: release + dist_git_branches: + - rawhide + packages: + - fedora-rawhide -- job: propose_downstream - trigger: release - dist_git_branches: - - f40 - packages: - - fedora-40 + - job: propose_downstream + trigger: release + dist_git_branches: + - f40 + packages: + - fedora-40 -- job: propose_downstream - trigger: release - dist_git_branches: - - f39 - packages: - - fedora-39 + - job: propose_downstream + trigger: release + dist_git_branches: + - f39 + packages: + - fedora-39 -# downstream automation: -- job: koji_build - trigger: commit - allowed_pr_authors: ["packit-stg", "packit", "haircommander", "lorbus"] - dist_git_branches: - - fedora-all + # downstream automation: + - job: koji_build + trigger: commit + allowed_pr_authors: ["packit-stg", "packit", "haircommander", "lorbus"] + dist_git_branches: + - fedora-all -- job: bodhi_update - trigger: commit - allowed_pr_authors: ["packit-stg", "packit", "haircommander", "lorbus"] - dist_git_branches: - - fedora-branched + - job: bodhi_update + trigger: commit + allowed_pr_authors: ["packit-stg", "packit", "haircommander", "lorbus"] + dist_git_branches: + - fedora-branched