[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 35/41] gitlab: limit re-builds of the containers
From: |
Alex Bennée |
Subject: |
[PULL 35/41] gitlab: limit re-builds of the containers |
Date: |
Tue, 7 Jul 2020 08:08:52 +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>
Message-Id: <20200701135652.1366-38-alex.bennee@linaro.org>
diff --git a/.gitlab-ci.d/containers.yml b/.gitlab-ci.d/containers.yml
index a7621c4204c7..ea350eacff70 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
- [PULL 31/41] linux-user/elfload: use MAP_FIXED_NOREPLACE in pgb_reserved_va, (continued)
- [PULL 31/41] linux-user/elfload: use MAP_FIXED_NOREPLACE in pgb_reserved_va, Alex Bennée, 2020/07/07
- [PULL 20/41] gitlab: convert jobs to use custom built containers, Alex Bennée, 2020/07/07
- [PULL 39/41] travis.yml: Test also the other targets on s390x, Alex Bennée, 2020/07/07
- [PULL 18/41] gitlab: introduce explicit "container" and "build" stages, Alex Bennée, 2020/07/07
- [PULL 16/41] .gitignore: un-ignore .gitlab-ci.d, Alex Bennée, 2020/07/07
- [PULL 17/41] gitlab-ci: Fix the change rules after moving the YML files, Alex Bennée, 2020/07/07
- [PULL 27/41] tests/acceptance: skip LinuxInitrd 2gib with v4.16 on GitLab, Alex Bennée, 2020/07/07
- [PULL 36/41] containers.yml: build with docker.py tooling, Alex Bennée, 2020/07/07
- [PULL 25/41] tests/acceptance: fix dtb path for machine_rx_gdbsim, Alex Bennée, 2020/07/07
- [PULL 34/41] gitlab: split build-disabled into two phases, Alex Bennée, 2020/07/07
- [PULL 35/41] gitlab: limit re-builds of the containers,
Alex Bennée <=
- [PULL 23/41] tests/docker: add packages needed for check-acceptance, Alex Bennée, 2020/07/07
- [PULL 38/41] shippable: pull images from registry instead of building, Alex Bennée, 2020/07/07
- [PULL 32/41] gitlab: enable check-tcg for linux-user tests, Alex Bennée, 2020/07/07
- [PULL 26/41] tests/acceptance: skip multicore mips_malta tests on GitLab, Alex Bennée, 2020/07/07
- [PULL 40/41] tests/qht-bench: Adjust testing rate by -1, Alex Bennée, 2020/07/07
- [PULL 24/41] tests/acceptance: skip s390x_ccw_vrtio_tcg on GitLab, Alex Bennée, 2020/07/07
- [PULL 21/41] gitlab: build containers with buildkit and metadata, Alex Bennée, 2020/07/07
- [PULL 22/41] tests/docker: add --registry support to tooling, Alex Bennée, 2020/07/07
- [PULL 33/41] gitlab: add avocado asset caching, Alex Bennée, 2020/07/07
- [PULL 19/41] gitlab: build all container images during CI, Alex Bennée, 2020/07/07