Change in osmo-ci[master]: Add jenkins job to update docker base images on registry.osmocom.org

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/.

laforge gerrit-no-reply at lists.osmocom.org
Wed Nov 4 19:30:57 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/21023 )

Change subject: Add jenkins job to update docker base images on registry.osmocom.org
......................................................................

Add jenkins job to update docker base images on registry.osmocom.org

Change-Id: Iec2d2e3a43b074cb60f75cbe852351ffa8e0009e
Related: OS#4839
---
A jobs/registry-update-base-images.yml
1 file changed, 37 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, approved; Verified



diff --git a/jobs/registry-update-base-images.yml b/jobs/registry-update-base-images.yml
new file mode 100644
index 0000000..e036799
--- /dev/null
+++ b/jobs/registry-update-base-images.yml
@@ -0,0 +1,37 @@
+---
+- project:
+    name: registry-update-base-images
+    jobs:
+      - registry-update-base-images
+
+- job:
+    name: registry-update-base-images
+    description: |
+        Update base docker images in our private reigstry.osmocom.org with those from docker.io
+        Related:<br>
+        <ul>
+          <li> <a href="https://osmocom.org/issues/3839">OS#4839</a>
+        </ul>
+    node: osmocom-master-debian9
+    builders:
+      - shell: |
+          REGISTRY="registry.osmocom.org"
+          IMAGES="debian:stretch debian:buster debian:jessie debian:sid ubuntu:zesty centos:centos8"
+          for i in $IMAGES; do
+            src=$i
+            dst=${REGISTRY}/$i
+            echo
+            echo ======= $src
+            docker pull $src
+            docker tag $src $dst
+            docker push $dst
+          done
+    triggers:
+      - timed: "@daily"
+
+    publishers:
+      - email:
+          notify-every-unstable-build: true
+          recipients: 'jenkins-notifications at lists.osmocom.org'
+
+# vim: expandtab tabstop=2 shiftwidth=2

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/21023
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Iec2d2e3a43b074cb60f75cbe852351ffa8e0009e
Gerrit-Change-Number: 21023
Gerrit-PatchSet: 3
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201104/dcf6cd7f/attachment.htm>


More information about the gerrit-log mailing list