mbox series

[v3,00/10] gitlab-ci: Ease forks pipeline workflow

Message ID 20210519185504.2198573-1-f4bug@amsat.org (mailing list archive)
Headers show
Series gitlab-ci: Ease forks pipeline workflow | expand

Message

Philippe Mathieu-Daudé May 19, 2021, 6:54 p.m. UTC
Series fully reviewed.

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 v2:
- Rebased (thuth ull-request-2021-05-03 merged)
- Added Willian R-b tags

Since RFC v1:
- 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

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           | 725 +++++++++++++++++++++++
 .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                       | 840 +--------------------------
 11 files changed, 922 insertions(+), 917 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

Comments

Thomas Huth May 20, 2021, 7:57 a.m. UTC | #1
On 19/05/2021 20.54, Philippe Mathieu-Daudé wrote:
> Series fully reviewed.
> 
> 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.

Thanks, queued it to my testing-next branch:

  https://gitlab.com/thuth/qemu/-/commits/testing-next/

  Thomas