xref: /qemu/.gitlab-ci.yml (revision f56bf4ca)
18b185c81SPhilippe Mathieu-Daudé#
28b185c81SPhilippe Mathieu-Daudé# This is the GitLab CI configuration file for the mainstream QEMU
38b185c81SPhilippe Mathieu-Daudé# project: https://gitlab.com/qemu-project/qemu/-/pipelines
48b185c81SPhilippe Mathieu-Daudé#
58b185c81SPhilippe Mathieu-Daudé# !!! DO NOT ADD ANY NEW CONFIGURATION TO THIS FILE !!!
68b185c81SPhilippe Mathieu-Daudé#
78b185c81SPhilippe Mathieu-Daudé# Only documentation or comments is accepted.
88b185c81SPhilippe Mathieu-Daudé#
98b185c81SPhilippe Mathieu-Daudé# To use a different set of jobs than the mainstream QEMU project,
108b185c81SPhilippe Mathieu-Daudé# you need to set the location of your custom yml file at "custom CI/CD
118b185c81SPhilippe Mathieu-Daudé# configuration path", on your GitLab CI namespace:
128b185c81SPhilippe Mathieu-Daudé# https://docs.gitlab.com/ee/ci/pipelines/settings.html#custom-cicd-configuration-path
138b185c81SPhilippe Mathieu-Daudé#
14*f56bf4caSPhilippe Mathieu-Daudé# ----------------------------------------------------------------------
15*f56bf4caSPhilippe Mathieu-Daudé#
16*f56bf4caSPhilippe Mathieu-Daudé# QEMU CI jobs are based on templates. Some templates provide
17*f56bf4caSPhilippe Mathieu-Daudé# user-configurable options, modifiable via configuration variables.
18*f56bf4caSPhilippe Mathieu-Daudé#
19*f56bf4caSPhilippe Mathieu-Daudé# These variables can be set globally in the user's CI namespace
20*f56bf4caSPhilippe Mathieu-Daudé# setting:
21*f56bf4caSPhilippe Mathieu-Daudé# https://docs.gitlab.com/ee/ci/variables/#create-a-custom-variable-in-the-ui
22*f56bf4caSPhilippe Mathieu-Daudé# or set manually each time a branch/tag is pushed, as a git-push
23*f56bf4caSPhilippe Mathieu-Daudé# command line argument:
24*f56bf4caSPhilippe Mathieu-Daudé# https://docs.gitlab.com/ee/user/project/push_options.html#push-options-for-gitlab-cicd
25*f56bf4caSPhilippe Mathieu-Daudé#
26*f56bf4caSPhilippe Mathieu-Daudé# Example setting the QEMU_CI_EXAMPLE_VAR variable:
27*f56bf4caSPhilippe Mathieu-Daudé#
28*f56bf4caSPhilippe Mathieu-Daudé#   git push -o ci.variable="QEMU_CI_EXAMPLE_VAR=value" myrepo mybranch
29*f56bf4caSPhilippe Mathieu-Daudé#
30*f56bf4caSPhilippe Mathieu-Daudé# ----------------------------------------------------------------------
31*f56bf4caSPhilippe Mathieu-Daudé#
32*f56bf4caSPhilippe Mathieu-Daudé# List of environment variables that can be use to modify the set
33*f56bf4caSPhilippe Mathieu-Daudé# of jobs selected:
34*f56bf4caSPhilippe Mathieu-Daudé#
35*f56bf4caSPhilippe Mathieu-Daudé# - QEMU_CI_AVOCADO_TESTING
36*f56bf4caSPhilippe Mathieu-Daudé#   If set, tests using the Avocado framework will be run
37*f56bf4caSPhilippe Mathieu-Daudé
3871920809SPhilippe Mathieu-Daudéinclude:
39a151926cSPhilippe Mathieu-Daudé  - local: '/.gitlab-ci.d/qemu-project.yml'
40