Change in docker-playground[master]: jenkins-common.sh: pull registry.osmocom.org imgs

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Mon Dec 6 09:20:46 UTC 2021


osmith has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/26443 )

Change subject: jenkins-common.sh: pull registry.osmocom.org imgs
......................................................................

jenkins-common.sh: pull registry.osmocom.org imgs

Pull debian-stretch-titan from registry.osmocom.org if the repository is
enabled. Otherwise the image gets only pulled the first time, and does
not get updated once it becomes outdated.

Fixes: OS#5336
Change-Id: I1cf998c21e4ee1f723c3b783703e339328377f3e
---
M jenkins-common.sh
1 file changed, 3 insertions(+), 1 deletion(-)

Approvals:
  osmith: Verified
  fixeria: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/jenkins-common.sh b/jenkins-common.sh
index 88d053c..3511c02 100644
--- a/jenkins-common.sh
+++ b/jenkins-common.sh
@@ -121,10 +121,12 @@
 
 	for i in $@; do
 		# Don't build images that are available on the private
-		# registry, if using it.
+		# registry, if using it. Instead, pull the images to make sure
+		# they are up-to-date.
 		if [ "$REGISTRY_HOST" = "registry.osmocom.org" ]; then
 			case "$i" in
 			debian-stretch-titan)
+				docker pull "$REGISTRY_HOST/$USER/$i"
 				continue
 				;;
 			esac

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/26443
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I1cf998c21e4ee1f723c3b783703e339328377f3e
Gerrit-Change-Number: 26443
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211206/429701f3/attachment.htm>


More information about the gerrit-log mailing list