]> xenbits.xensource.com Git - libvirt.git/commit
ci: refresh with latest lcitool manifest
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 30 Sep 2022 08:50:04 +0000 (04:50 -0400)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 6 Oct 2022 09:15:54 +0000 (05:15 -0400)
commit491d918502e50bf15c75d183bb41e3c0de5a0e1b
tree45572ca1a059cb8a4d0322f0ee084eb0844ed1ef
parenta31d427123f86cb388b4fbe639d12593dcd47607
ci: refresh with latest lcitool manifest

This refresh switches the CI for contributors to be triggered by merge
requests. Pushing to a branch in a fork will no longer run CI pipelines,
in order to avoid consuming CI minutes. To regain the original behaviour
contributors can opt-in to a pipeline on push

   git push <remote> -o ci.variable=RUN_PIPELINE=1

This variable can also be set globally on the repository, through the
web UI options Settings -> CI/CD -> Variables, though this is not
recommended. Upstream repo pushes to branches will run CI.

The use of containers has changed in this update, with only the upstream
repo creating containers, in order to avoid consuming contributors'
limited storage quotas. A fork with existing container images may delete
them. Containers will be rebuilt upstream when pushing commits with CI
changes to the default branch. Any other scenario with CI changes will
simply install build pre-requisite packages in a throaway environment,
using the ci/buildenv/ scripts. These scripts may also be used on a
contributor's local machines.

With pipelines triggered by merge requests, it is also now possible to
workaround the inability of contributors to run pipelines if they have
run out of CI quota. A project member can trigger a pipeline from the
merge request, which will run in context of upstream, however, note
this should only be done after reviewing the code for any malicious
CI changes.

Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
77 files changed:
.gitlab-ci.yml
ci/README.rst
ci/buildenv/almalinux-8.sh [new file with mode: 0644]
ci/buildenv/alpine-315.sh [new file with mode: 0644]
ci/buildenv/alpine-edge.sh [new file with mode: 0644]
ci/buildenv/centos-stream-8.sh [new file with mode: 0644]
ci/buildenv/centos-stream-9.sh [new file with mode: 0644]
ci/buildenv/debian-11-cross-aarch64.sh [new file with mode: 0644]
ci/buildenv/debian-11-cross-armv6l.sh [new file with mode: 0644]
ci/buildenv/debian-11-cross-armv7l.sh [new file with mode: 0644]
ci/buildenv/debian-11-cross-i686.sh [new file with mode: 0644]
ci/buildenv/debian-11-cross-mips64el.sh [new file with mode: 0644]
ci/buildenv/debian-11-cross-mipsel.sh [new file with mode: 0644]
ci/buildenv/debian-11-cross-ppc64le.sh [new file with mode: 0644]
ci/buildenv/debian-11-cross-s390x.sh [new file with mode: 0644]
ci/buildenv/debian-11.sh [new file with mode: 0644]
ci/buildenv/debian-sid-cross-aarch64.sh [new file with mode: 0644]
ci/buildenv/debian-sid-cross-armv6l.sh [new file with mode: 0644]
ci/buildenv/debian-sid-cross-armv7l.sh [new file with mode: 0644]
ci/buildenv/debian-sid-cross-i686.sh [new file with mode: 0644]
ci/buildenv/debian-sid-cross-mips64el.sh [new file with mode: 0644]
ci/buildenv/debian-sid-cross-mipsel.sh [new file with mode: 0644]
ci/buildenv/debian-sid-cross-ppc64le.sh [new file with mode: 0644]
ci/buildenv/debian-sid-cross-s390x.sh [new file with mode: 0644]
ci/buildenv/debian-sid.sh [new file with mode: 0644]
ci/buildenv/fedora-35.sh [new file with mode: 0644]
ci/buildenv/fedora-36-cross-mingw32.sh [new file with mode: 0644]
ci/buildenv/fedora-36-cross-mingw64.sh [new file with mode: 0644]
ci/buildenv/fedora-36.sh [new file with mode: 0644]
ci/buildenv/fedora-rawhide-cross-mingw32.sh [new file with mode: 0644]
ci/buildenv/fedora-rawhide-cross-mingw64.sh [new file with mode: 0644]
ci/buildenv/fedora-rawhide.sh [new file with mode: 0644]
ci/buildenv/opensuse-leap-153.sh [new file with mode: 0644]
ci/buildenv/opensuse-tumbleweed.sh [new file with mode: 0644]
ci/buildenv/ubuntu-2004.sh [new file with mode: 0644]
ci/buildenv/ubuntu-2204.sh [new file with mode: 0644]
ci/containers/almalinux-8.Dockerfile
ci/containers/alpine-315.Dockerfile
ci/containers/alpine-edge.Dockerfile
ci/containers/centos-stream-8.Dockerfile
ci/containers/centos-stream-9.Dockerfile
ci/containers/debian-11-cross-aarch64.Dockerfile
ci/containers/debian-11-cross-armv6l.Dockerfile
ci/containers/debian-11-cross-armv7l.Dockerfile
ci/containers/debian-11-cross-i686.Dockerfile
ci/containers/debian-11-cross-mips64el.Dockerfile
ci/containers/debian-11-cross-mipsel.Dockerfile
ci/containers/debian-11-cross-ppc64le.Dockerfile
ci/containers/debian-11-cross-s390x.Dockerfile
ci/containers/debian-11.Dockerfile
ci/containers/debian-sid-cross-aarch64.Dockerfile
ci/containers/debian-sid-cross-armv6l.Dockerfile
ci/containers/debian-sid-cross-armv7l.Dockerfile
ci/containers/debian-sid-cross-i686.Dockerfile
ci/containers/debian-sid-cross-mips64el.Dockerfile
ci/containers/debian-sid-cross-mipsel.Dockerfile
ci/containers/debian-sid-cross-ppc64le.Dockerfile
ci/containers/debian-sid-cross-s390x.Dockerfile
ci/containers/debian-sid.Dockerfile
ci/containers/fedora-35.Dockerfile
ci/containers/fedora-36-cross-mingw32.Dockerfile
ci/containers/fedora-36-cross-mingw64.Dockerfile
ci/containers/fedora-36.Dockerfile
ci/containers/fedora-rawhide-cross-mingw32.Dockerfile
ci/containers/fedora-rawhide-cross-mingw64.Dockerfile
ci/containers/fedora-rawhide.Dockerfile
ci/containers/opensuse-leap-153.Dockerfile
ci/containers/opensuse-tumbleweed.Dockerfile
ci/containers/ubuntu-2004.Dockerfile
ci/containers/ubuntu-2204.Dockerfile
ci/gitlab.yml
ci/gitlab/build-templates.yml
ci/gitlab/builds.yml
ci/gitlab/container-templates.yml
ci/gitlab/sanity-checks.yml
ci/integration-template.yml
ci/integration.yml