[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 37/40] gitlab: limit re-builds of the containers
From: |
Alex Bennée |
Subject: |
[PATCH v4 37/40] gitlab: limit re-builds of the containers |
Date: |
Wed, 1 Jul 2020 14:56:49 +0100 |
Most of the time we are just rebuilding the same things. We can skip
this although currently there is no mechanism for picking up new
distro releases.
Rather than try to be too fine grained allow any change to trigger all
the images being rebuilt.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
v4
- try and include branches
- use rules instead
---
.gitlab-ci.d/containers.yml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/.gitlab-ci.d/containers.yml b/.gitlab-ci.d/containers.yml
index a7621c4204c..ea350eacff7 100644
--- a/.gitlab-ci.d/containers.yml
+++ b/.gitlab-ci.d/containers.yml
@@ -17,6 +17,12 @@
- docker push "$TAG"
after_script:
- docker logout
+ rules:
+ - changes:
+ - .gitlab-ci.d/containers.yml
+ - tests/docker/*
+ - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
+ - if: '$CI_COMMIT_REF_NAME == "testing/next"'
amd64-centos7-container:
<<: *container_job_definition
--
2.20.1
- [PATCH v4 08/40] tests/vm: Add common Ubuntu python module, (continued)
- [PATCH v4 08/40] tests/vm: Add common Ubuntu python module, Alex Bennée, 2020/07/01
- [PATCH v4 05/40] tests/vm: pass args through to BaseVM's __init__, Alex Bennée, 2020/07/01
- [PATCH v4 25/40] tests/docker: add packages needed for check-acceptance, Alex Bennée, 2020/07/01
- [PATCH v4 06/40] tests/vm: Add configuration to basevm.py, Alex Bennée, 2020/07/01
- [PATCH v4 24/40] tests/docker: add --registry support to tooling, Alex Bennée, 2020/07/01
- [PATCH v4 21/40] gitlab: build all container images during CI, Alex Bennée, 2020/07/01
- [PATCH v4 20/40] gitlab: introduce explicit "container" and "build" stages, Alex Bennée, 2020/07/01
- [PATCH v4 19/40] gitlab-ci: Fix the change rules after moving the YML files, Alex Bennée, 2020/07/01
- [PATCH v4 22/40] gitlab: convert jobs to use custom built containers, Alex Bennée, 2020/07/01
- [PATCH v4 23/40] gitlab: build containers with buildkit and metadata, Alex Bennée, 2020/07/01
- [PATCH v4 37/40] gitlab: limit re-builds of the containers,
Alex Bennée <=
- [PATCH v4 26/40] tests/acceptance: skip s390x_ccw_vrtio_tcg on GitLab, Alex Bennée, 2020/07/01
- [PATCH v4 34/40] gitlab: enable check-tcg for linux-user tests, Alex Bennée, 2020/07/01
- [PATCH v4 15/40] tests/vm: allow us to take advantage of MTTCG, Alex Bennée, 2020/07/01
- [PATCH v4 35/40] gitlab: add avocado asset caching, Alex Bennée, 2020/07/01
- [PATCH v4 16/40] tests/docker: check for an parameters not empty string, Alex Bennée, 2020/07/01
- [PATCH v4 27/40] tests/acceptance: fix dtb path for machine_rx_gdbsim, Alex Bennée, 2020/07/01
- [PATCH v4 14/40] tests/vm: switch from optsparse to argparse, Alex Bennée, 2020/07/01
- [PATCH v4 33/40] linux-user/elfload: use MAP_FIXED_NOREPLACE in pgb_reserved_va, Alex Bennée, 2020/07/01
- [PATCH v4 31/40] tests/tcg: add more default compilers to configure.sh, Alex Bennée, 2020/07/01