[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 29/30] gitlab: limit re-builds of the containers
From: |
Alex Bennée |
Subject: |
[PATCH v3 29/30] gitlab: limit re-builds of the containers |
Date: |
Fri, 26 Jun 2020 19:13:56 +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>
---
.gitlab-ci.d/containers.yml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.gitlab-ci.d/containers.yml b/.gitlab-ci.d/containers.yml
index 20b2fb1de5d..f56aa44f711 100644
--- a/.gitlab-ci.d/containers.yml
+++ b/.gitlab-ci.d/containers.yml
@@ -19,6 +19,10 @@
- docker push "$TAG"
after_script:
- docker logout
+ only:
+ changes:
+ - .gitlab-ci.d/containers.yml
+ - tests/docker/*
amd64-centos7-container:
<<: *container_job_definition
--
2.20.1
- Re: [PATCH v3 15/30] tests/docker: change tag naming scheme of our images, (continued)
[PATCH v3 24/30] gitlab: add acceptance testing to system builds, Alex Bennée, 2020/06/26