You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2020/10/29 21:39:43 UTC

[couchdb-ci] branch main updated: Jenkins: pull ALL images only once a week

This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-ci.git


The following commit(s) were added to refs/heads/main by this push:
     new 0c464fc  Jenkins: pull ALL images only once a week
0c464fc is described below

commit 0c464fcf99ff896a142b5b510f3f3f21a27b69d2
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Thu Oct 29 17:38:00 2020 -0400

    Jenkins: pull ALL images only once a week
---
 pull-all-couchdbdev-docker | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/pull-all-couchdbdev-docker b/pull-all-couchdbdev-docker
index cfbb8af..ef93e5a 100644
--- a/pull-all-couchdbdev-docker
+++ b/pull-all-couchdbdev-docker
@@ -85,7 +85,13 @@ ubuntu-xenial-erlang-19.3.6
 ubuntu-xenial-erlang-20.3.8.25-1
 )
 
-for image in ${IMAGES[*]} ${BASE_IMAGES[*]}
+if [ "$(date +%u)" -ne "1" ]; then
+    LIST=( ${KEEP_IMAGES[*]})
+else
+    LIST=( ${IMAGES[*]} ${BASE_IMAGES[*]} )
+fi
+
+for image in ${LIST[*]}
 do
     echo docker pull couchdbdev/${image}
     docker pull couchdbdev/${image}