Hi, Gitlab recommends to use job templates. To be able to re-use / include templates, they can not use YAML anchors. All current jobs has first to be converted to use the 'extends' keyworkd. This is the first part of this series (already reviewed).
The second part extracts various generic jobs (which can be reused by forks) as template. Since RFC v1 [1]: - Remove dynamically generated pipelines (Daniel) - Addressed Thomas/Wainer review comments Alex Bennée review comments *not* addressed: https://www.mail-archive.com/qemu-devel@nongnu.org/msg799947.html Supersedes: <20210418233448.1267991-1-f4...@amsat.org> Based-on: <20210503104456.1036472-1-th...@redhat.com> https://gitlab.com/thuth/qemu.git tags/pull-request-2021-05-03 (keeping moxie target) [1] https://www.mail-archive.com/qemu-devel@nongnu.org/msg799735.html Philippe Mathieu-Daudé (10): gitlab-ci: Replace YAML anchors by extends (acceptance_test_job) gitlab-ci: Rename acceptance_test_job -> integration_test_job gitlab-ci: Extract container job template to container-template.yml gitlab-ci: Extract crossbuild job templates to crossbuild-template.yml gitlab-ci: Extract DCO/style check jobs to static_checks.yml gitlab-ci: Extract build stages to stages.yml gitlab-ci: Extract default build/test jobs templates gitlab-ci: Extract all default build/test jobs to buildtest.yml gitlab-ci: Extract core container jobs to container-core.yml gitlab-ci: Move current job set to qemu-project.yml .gitlab-ci.d/buildtest-template.yml | 69 +++ .gitlab-ci.d/buildtest.yml | 726 +++++++++++++++++++++++ .gitlab-ci.d/container-core.yml | 17 + .gitlab-ci.d/container-template.yml | 22 + .gitlab-ci.d/containers.yml | 39 +- .gitlab-ci.d/crossbuild-template.yml | 41 ++ .gitlab-ci.d/crossbuilds.yml | 43 +- .gitlab-ci.d/qemu-project.yml | 11 + .gitlab-ci.d/stages.yml | 8 + .gitlab-ci.d/static_checks.yml | 24 + .gitlab-ci.yml | 841 +-------------------------- 11 files changed, 923 insertions(+), 918 deletions(-) create mode 100644 .gitlab-ci.d/buildtest-template.yml create mode 100644 .gitlab-ci.d/buildtest.yml create mode 100644 .gitlab-ci.d/container-core.yml create mode 100644 .gitlab-ci.d/container-template.yml create mode 100644 .gitlab-ci.d/crossbuild-template.yml create mode 100644 .gitlab-ci.d/qemu-project.yml create mode 100644 .gitlab-ci.d/stages.yml create mode 100644 .gitlab-ci.d/static_checks.yml -- 2.26.3