diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-12-20 11:32:42 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-12-20 11:39:26 +0100 |
commit | 9832c6aa4ebabb60d74645377355dd28e40ff70a (patch) | |
tree | 34072bcbaa199d27168f0675562100d2cc5814b6 | |
parent | 37f480d44166691b97bd3f4b0b65487fa11f7991 (diff) |
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
-rw-r--r-- | jobs/registry-rebuild-upload-titan.yml | 47 |
1 files changed, 39 insertions, 8 deletions
diff --git a/jobs/registry-rebuild-upload-titan.yml b/jobs/registry-rebuild-upload-titan.yml index 0c63fca..2042cdf 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 @@ </ul> 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. + <br><br> + Related:<br> + <ul> + <li>SYS#5765 + </ul> + 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 |