qemu/.gitlab-ci.d
Philippe Mathieu-Daudé 1f88fad50e gitlab: Use $CI_DEFAULT_BRANCH instead of hardcoded 'master'
We want to skip the checkpatch and DCO signoff jobs when
pushing to the default branch. Currently this branch is
called 'master', but we don't need to hardcode this in
the CI configuration, because the $CI_DEFAULT_BRANCH
env variable exposes it.

References:

- https://sfconservancy.org/news/2020/jun/23/gitbranchname/
- https://about.gitlab.com/blog/2021/03/10/new-git-default-branch-name/

Suggested-by: Savitoj Singh <savsingh@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210525153826.4174157-1-philmd@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
2021-05-27 16:39:23 +02:00
..
edk2
opensbi
buildtest-template.yml gitlab: Run Avocado tests manually (except mainstream CI) 2021-05-27 16:39:23 +02:00
buildtest.yml gitlab: Extract all default build/test jobs to buildtest.yml 2021-05-27 16:39:23 +02:00
check-dco.py gitlab: add a CI job to validate the DCO sign off 2020-10-13 12:48:17 +02:00
check-patch.py .gitlab-ci.d/check-patch: tweak output for CI logs 2020-11-16 11:08:40 +00:00
container-core.yml gitlab: Extract core container jobs to container-core.yml 2021-05-27 16:39:23 +02:00
container-cross.yml gitlab: Extract cross-container jobs to container-cross.yml 2021-05-27 16:39:23 +02:00
container-template.yml gitlab: Extract container job template to container-template.yml 2021-05-27 16:39:23 +02:00
containers.yml gitlab: Extract cross-container jobs to container-cross.yml 2021-05-27 16:39:23 +02:00
crossbuild-template.yml gitlab: Extract crossbuild job templates to crossbuild-template.yml 2021-05-27 16:39:23 +02:00
crossbuilds.yml gitlab: Extract crossbuild job templates to crossbuild-template.yml 2021-05-27 16:39:23 +02:00
edk2.yml docker: EDK2 build job depends on EDK2 container 2021-03-09 06:03:53 +01:00
opensbi.yml docker: OpenSBI build job depends on OpenSBI container 2021-03-09 06:03:53 +01:00
qemu-project.yml gitlab: Move current job set to qemu-project.yml 2021-05-27 16:39:23 +02:00
stages.yml gitlab: Extract build stages to stages.yml 2021-05-27 16:39:23 +02:00
static_checks.yml gitlab: Use $CI_DEFAULT_BRANCH instead of hardcoded 'master' 2021-05-27 16:39:23 +02:00