virt-viewer/ci/gitlab/builds.yml
Daniel P. Berrangé 1e99e5e4f4 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, 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.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-09-30 10:10:21 -04:00

253 lines
5.3 KiB
YAML

# THIS FILE WAS AUTO-GENERATED
#
# $ lcitool manifest ci/manifest.yml
#
# https://gitlab.com/libvirt/libvirt-ci
# Native build jobs
x86_64-centos-stream-8-prebuilt-env:
extends: .native_build_job_prebuilt_env
needs:
- job: x86_64-centos-stream-8-container
optional: true
allow_failure: false
variables:
NAME: centos-stream-8
RPM: skip
x86_64-centos-stream-8-local-env:
extends: .native_build_job_local_env
needs: []
allow_failure: false
variables:
IMAGE: quay.io/centos/centos:stream8
NAME: centos-stream-8
RPM: skip
x86_64-debian-10-prebuilt-env:
extends: .native_build_job_prebuilt_env
needs:
- job: x86_64-debian-10-container
optional: true
allow_failure: false
variables:
NAME: debian-10
x86_64-debian-10-local-env:
extends: .native_build_job_local_env
needs: []
allow_failure: false
variables:
IMAGE: docker.io/library/debian:10-slim
NAME: debian-10
x86_64-debian-sid-prebuilt-env:
extends: .native_build_job_prebuilt_env
needs:
- job: x86_64-debian-sid-container
optional: true
allow_failure: true
variables:
NAME: debian-sid
x86_64-debian-sid-local-env:
extends: .native_build_job_local_env
needs: []
allow_failure: true
variables:
IMAGE: docker.io/library/debian:sid-slim
NAME: debian-sid
x86_64-fedora-35-prebuilt-env:
extends: .native_build_job_prebuilt_env
needs:
- job: x86_64-fedora-35-container
optional: true
allow_failure: false
variables:
NAME: fedora-35
x86_64-fedora-35-local-env:
extends: .native_build_job_local_env
needs: []
allow_failure: false
variables:
IMAGE: registry.fedoraproject.org/fedora:35
NAME: fedora-35
x86_64-fedora-36-prebuilt-env:
extends: .native_build_job_prebuilt_env
needs:
- job: x86_64-fedora-36-container
optional: true
allow_failure: false
variables:
NAME: fedora-36
x86_64-fedora-36-local-env:
extends: .native_build_job_local_env
needs: []
allow_failure: false
variables:
IMAGE: registry.fedoraproject.org/fedora:36
NAME: fedora-36
x86_64-fedora-rawhide-prebuilt-env:
extends: .native_build_job_prebuilt_env
needs:
- job: x86_64-fedora-rawhide-container
optional: true
allow_failure: true
variables:
NAME: fedora-rawhide
x86_64-fedora-rawhide-local-env:
extends: .native_build_job_local_env
needs: []
allow_failure: true
variables:
IMAGE: registry.fedoraproject.org/fedora:rawhide
NAME: fedora-rawhide
x86_64-opensuse-leap-153-prebuilt-env:
extends: .native_build_job_prebuilt_env
needs:
- job: x86_64-opensuse-leap-153-container
optional: true
allow_failure: false
variables:
NAME: opensuse-leap-153
RPM: skip
x86_64-opensuse-leap-153-local-env:
extends: .native_build_job_local_env
needs: []
allow_failure: false
variables:
IMAGE: registry.opensuse.org/opensuse/leap:15.3
NAME: opensuse-leap-153
RPM: skip
x86_64-opensuse-tumbleweed-prebuilt-env:
extends: .native_build_job_prebuilt_env
needs:
- job: x86_64-opensuse-tumbleweed-container
optional: true
allow_failure: true
variables:
NAME: opensuse-tumbleweed
RPM: skip
x86_64-opensuse-tumbleweed-local-env:
extends: .native_build_job_local_env
needs: []
allow_failure: true
variables:
IMAGE: registry.opensuse.org/opensuse/tumbleweed:latest
NAME: opensuse-tumbleweed
RPM: skip
x86_64-ubuntu-2004-prebuilt-env:
extends: .native_build_job_prebuilt_env
needs:
- job: x86_64-ubuntu-2004-container
optional: true
allow_failure: false
variables:
NAME: ubuntu-2004
x86_64-ubuntu-2004-local-env:
extends: .native_build_job_local_env
needs: []
allow_failure: false
variables:
IMAGE: docker.io/library/ubuntu:20.04
NAME: ubuntu-2004
x86_64-ubuntu-2204-prebuilt-env:
extends: .native_build_job_prebuilt_env
needs:
- job: x86_64-ubuntu-2204-container
optional: true
allow_failure: false
variables:
NAME: ubuntu-2204
x86_64-ubuntu-2204-local-env:
extends: .native_build_job_local_env
needs: []
allow_failure: false
variables:
IMAGE: docker.io/library/ubuntu:22.04
NAME: ubuntu-2204
# Cross build jobs
mingw32-fedora-rawhide-prebuilt-env:
extends: .cross_build_job_prebuilt_env
needs:
- job: mingw32-fedora-rawhide-container
optional: true
allow_failure: true
variables:
CROSS: mingw32
NAME: fedora-rawhide
artifacts:
expire_in: 2 days
paths:
- data/virt-viewer-x86*.msi
mingw32-fedora-rawhide-local-env:
extends: .cross_build_job_local_env
needs: []
allow_failure: true
variables:
CROSS: mingw32
IMAGE: registry.fedoraproject.org/fedora:rawhide
NAME: fedora-rawhide
artifacts:
expire_in: 2 days
paths:
- data/virt-viewer-x86*.msi
mingw64-fedora-rawhide-prebuilt-env:
extends: .cross_build_job_prebuilt_env
needs:
- job: mingw64-fedora-rawhide-container
optional: true
allow_failure: true
variables:
CROSS: mingw64
NAME: fedora-rawhide
artifacts:
expire_in: 2 days
paths:
- data/virt-viewer-x64*.msi
mingw64-fedora-rawhide-local-env:
extends: .cross_build_job_local_env
needs: []
allow_failure: true
variables:
CROSS: mingw64
IMAGE: registry.fedoraproject.org/fedora:rawhide
NAME: fedora-rawhide
artifacts:
expire_in: 2 days
paths:
- data/virt-viewer-x64*.msi