]> git.proxmox.com Git - mirror_qemu.git/commit - .gitlab-ci.d/cirrus/build.yml
gitlab: support for FreeBSD 12, 13 and macOS 11 via cirrus-run
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 9 Jul 2021 14:29:32 +0000 (15:29 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 14 Jul 2021 13:33:36 +0000 (14:33 +0100)
commit0e103a65ba1c56871cad3ab4be3aee1d984d65f3
tree63a7f1ff6c820748d0fad7396f38741da939c3a8
parent8f4aea712ffc4f2c20c293dac26df8688f497a9f
gitlab: support for FreeBSD 12, 13 and macOS 11 via cirrus-run

This adds support for running 4 jobs via Cirrus CI runners:

 * FreeBSD 12
 * FreeBSD 13
 * macOS 11 with default XCode
 * macOS 11 with latest XCode

The gitlab job uses a container published by the libvirt-ci
project (https://gitlab.com/libvirt/libvirt-ci) that contains
the 'cirrus-run' command. This accepts a short yaml file that
describes a single Cirrus CI job, runs it using the Cirrus CI
REST API, and reports any output to the console.

In this way Cirrus CI is effectively working as an indirect
custom runner for GitLab CI pipelines. The key benefit is that
Cirrus CI job results affect the GitLab CI pipeline result and
so the user only has look at one CI dashboard.

[AJB: remove $TEMPORARILY_DISABLED condition, s/py37/py38/]

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210625172211.451010-3-berrange@redhat.com>
Message-Id: <20210709143005.1554-8-alex.bennee@linaro.org>
.gitlab-ci.d/cirrus.yml [new file with mode: 0644]
.gitlab-ci.d/cirrus/README.rst [new file with mode: 0644]
.gitlab-ci.d/cirrus/build.yml [new file with mode: 0644]
.gitlab-ci.d/cirrus/freebsd-12.vars [new file with mode: 0644]
.gitlab-ci.d/cirrus/freebsd-13.vars [new file with mode: 0644]
.gitlab-ci.d/cirrus/macos-11.vars [new file with mode: 0644]
.gitlab-ci.d/qemu-project.yml