From 2541f13809dcfe961ba1f07e57178791debac9e3 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Fri, 17 May 2024 09:29:07 -0400 Subject: [PATCH] Packit: remove EL8 and enable C10S downstream update CentOS Stream 8 will be going EOL end of May and nothing new from upstream will be shipped there. We have also removed all EL8 targets from the podman-next copr. So, this commit removes all EL8 targets from the packit config. RPM spec file syncing to CentOS Stream 10 dist-git has also been enabled in this commit. NOTE: Packit support for CentOS Stream is not yet on the same level as for Fedora. The CentOS Stream maintainer would still need to manually run `packit propose-downstream -p gvisor-tap-vsock-centos` and `centpkg build` after the dist-git PR has merged. Unfortunately, packit will also file an upstream issue because the CentOS Stream 10 rpm update job failed. Such issues can simply be closed for the time being. This commit also removes the explicit targets specification for podman-next COPR so that all the targets enabled on that copr can be used automatically. This does work on all other projects that submit builds to podman-next. We can revisit this if things don't work as expected. Signed-off-by: Lokesh Mandvekar --- .packit.yaml | 50 ++++++++++++++++++++++++++++++++------------------ 1 file changed, 32 insertions(+), 18 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index ef7b40e49..4419dad19 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -2,61 +2,75 @@ # See the documentation for more information: # https://packit.dev/docs/configuration/ -# Build targets can be found at: -# On PR: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/packit-builds/ -# On commit: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/ +# podman-next COPR build targets can be found at: +# On commit: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/gvisor-tap-vsock-next/ specfile_path: rpm/gvisor-tap-vsock.spec upstream_tag_template: v{version} +packages: + gvisor-tap-vsock-fedora: + pkg_tool: fedpkg + specfile_path: rpm/gvisor-tap-vsock.spec + gvisor-tap-vsock-centos: + pkg_tool: centpkg + specfile_path: rpm/gvisor-tap-vsock.spec + srpm_build_deps: - make jobs: - job: copr_build trigger: pull_request + packages: [gvisor-tap-vsock-fedora] enable_net: true targets: - fedora-all-aarch64 - fedora-all-x86_64 - fedora-eln-aarch64 - fedora-eln-x86_64 - - 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" + + - job: copr_build + trigger: pull_request + packages: [gvisor-tap-vsock-centos] + enable_net: true + targets: + - centos-stream-10-x86_64 + - centos-stream-10-aarch64 + - centos-stream-9-x86_64 + - centos-stream-9-aarch64 # Run on commit to main branch - job: copr_build trigger: commit + packages: [gvisor-tap-vsock-fedora] enable_net: true branch: main owner: rhcontainerbot project: podman-next - targets: - - fedora-all-aarch64 - - fedora-all-ppc64le - - fedora-all-s390x - - fedora-all-x86_64 - - fedora-eln-aarch64 - - fedora-eln-ppc64le - - fedora-eln-s390x - - fedora-eln-x86_64 - job: propose_downstream trigger: release + packages: [gvisor-tap-vsock-fedora] update_release: false dist_git_branches: - fedora-all + - job: propose_downstream + trigger: release + packages: [gvisor-tap-vsock-centos] + update_release: false + dist_git_branches: + - c10s + - job: koji_build trigger: commit + packages: [gvisor-tap-vsock-fedora] dist_git_branches: - fedora-all - job: bodhi_update trigger: commit + packages: [gvisor-tap-vsock-fedora] dist_git_branches: - fedora-branched # rawhide updates are created automatically