From 9832c6aa4ebabb60d74645377355dd28e40ff70a Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 20 Dec 2021 11:32:42 +0100 Subject: [PATCH] jobs: Automatically push ttcn3-bts-tests to osmocom registry This image used to be pushed to the sysmocom registry, before the osmocom one existed. Let's make it available in the osmocom one now that we have it instead. The new job triggers upon conclusion of the registry-rebuild-upload-titan job, since anyway the ttcn3-bts-tests is based on that image and hence requires it to be built prior to it. Related: SYS#5765 Change-Id: I65e4e5a9e539de5bfd881e08d7c5842f2266ecee --- jobs/registry-rebuild-upload-titan.yml | 47 +++++++++++++++++++++----- 1 file changed, 39 insertions(+), 8 deletions(-) diff --git a/jobs/registry-rebuild-upload-titan.yml b/jobs/registry-rebuild-upload-titan.yml index 0c63fcac..2042cdf1 100644 --- a/jobs/registry-rebuild-upload-titan.yml +++ b/jobs/registry-rebuild-upload-titan.yml @@ -1,9 +1,18 @@ - ---- - project: name: registry-rebuild-upload-titan jobs: - registry-rebuild-upload-titan + - registry-rebuild-upload-ttcn3-bts-tests + +- scm: + name: osmocom-docker-playground + scm: + - git: + url: git://git.osmocom.org/docker-playground + skip-tag: true + branches: + - 'origin/master' + - job: name: registry-rebuild-upload-titan @@ -17,18 +26,40 @@ node: osmocom-master-debian9 scm: - - git: - url: git://git.osmocom.org/docker-playground - skip-tag: true - branches: - - 'origin/master' - + - 'osmocom-docker-playground' builders: - shell: | REGISTRY="registry.osmocom.org" make -C debian-bullseye-titan REGISTRY_HOST=$REGISTRY docker push "$REGISTRY/$USER/debian-bullseye-titan" + publishers: + - email: + notify-every-unstable-build: true + recipients: 'jenkins-notifications@lists.osmocom.org' +- job: + name: registry-rebuild-upload-ttcn3-bts-tests + description: | + Rebuild + push ttcn3-bts-test image in our private registry.osmocom.org. + This docker container is used by osmo-gsm-tester main unit to run TTCN3 + BTS_Tests testsuite against real hardware. +

+ Related:
+ + node: osmocom-master-debian9 + triggers: + - reverse: + jobs: + - registry-rebuild-upload-titan + scm: + - 'osmocom-docker-playground' + builders: + - shell: | + REGISTRY="registry.osmocom.org" + make -C ttcn3-bts-test REGISTRY_HOST=$REGISTRY + docker push "$REGISTRY/$USER/ttcn3-bts-test" publishers: - email: notify-every-unstable-build: true