Skip to content

CI: Allow automatic rebuild of rolling release containers

Anthony PERARD xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- remove the logic to test containers once rebuilt, and only do container build in the pipeline.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3CI: Remove deprecated "only:variables" in favor of "rules:if"automation/gitlab-ci/test.yaml+6 -90 replies
2/3CI: Define XEN_REGISTRY variable.gitlab-ci.yml automation/gitlab-ci/build.yaml automation/gitlab-ci/test.yaml+6 -30 replies
3/3CI: New stage "containers" to rebuild some containers.gitlab-ci.yml automation/gitlab-ci/containers.yaml+42 -32 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchStefano Stabellini
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [XEN PATCH v2 0/3] CI: Allow automatic rebuild of rolling release containers

Patch series available in this git branch:
https://xenbits.xenproject.org/git-http/people/aperard/xen-unstable.git br.gitlab-ci-rebuild-arch-container-v2

v2:
- remove the logic to test containers once rebuilt, and only do container build in the pipeline.

Hi,

This patch series would allow to setup a scheduled pipeline on GitLab which would rebuild containers.

To enable this, just running a pipeline with XEN_CI_REBUILD_CONTAINERS=1 will do.

I intend to add a scheduled pipeline to run once a month.

Thanks,

Anthony PERARD (3):
CI: Remove deprecated "only:variables" in favor of "rules:if"
CI: Define XEN_REGISTRY variable
CI: New stage "containers" to rebuild some containers

 .gitlab-ci.yml                       | 19 +++++++++++++++---
 automation/gitlab-ci/build.yaml      |  4 ++--
 automation/gitlab-ci/containers.yaml | 29 ++++++++++++++++++++++++++++
 automation/gitlab-ci/test.yaml       | 17 +++++++---------
 4 files changed, 54 insertions(+), 15 deletions(-)
 create mode 100644 automation/gitlab-ci/containers.yaml
Signature · 5 lines
Anthony Perard | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech