osmith has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ci/+/37712?usp=email
)
Change subject: registry-rebuild-upload-testenv: new job
......................................................................
registry-rebuild-upload-testenv: new job
Add a job that updates the one podman image used by ttcn3 testsuites
with testenv to the registry. The new testsuite jobs will not build
their own images anymore, just pull this one at the start.
Related: OS#6494
Change-Id: I4f069efcb1de01b8efda095d649721f41ab8ac35
---
M jobs/registry-rebuild-upload-titan.yml
1 file changed, 46 insertions(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, but someone else must approve
fixeria: Looks good to me, approved
diff --git a/jobs/registry-rebuild-upload-titan.yml
b/jobs/registry-rebuild-upload-titan.yml
index a535920..8fed502 100644
--- a/jobs/registry-rebuild-upload-titan.yml
+++ b/jobs/registry-rebuild-upload-titan.yml
@@ -3,6 +3,7 @@
jobs:
- registry-rebuild-upload-titan
- registry-rebuild-upload-ttcn3-bts-tests
+ - registry-rebuild-upload-testenv
- scm:
name: osmocom-docker-playground
@@ -69,4 +70,35 @@
notify-every-unstable-build: true
recipients: 'jenkins-notifications(a)lists.osmocom.org'
+- job:
+ name: registry-rebuild-upload-testenv
+ description: Rebuild + publish podman images for testenv (OS#6494)
+ parameters:
+ - string:
+ name: BRANCH
+ description: osmo-ttcn3-hacks.git branch
+ default: 'master'
+ scm:
+ - git:
+ url:
https://gerrit.osmocom.org/osmo-ttcn3-hacks
+ branches:
+ - '$BRANCH'
+ builders:
+ - shell: |
+ REGISTRY="registry.osmocom.org"
+ DISTRO="debian:bookworm"
+
IMAGE="registry.osmocom.org/osmocom-build/"$(echo "$DISTRO"
| tr : -)"-osmo-ttcn3-testenv"
+
+ podman build \
+ --build-arg DISTRO="$DISTRO" \
+ --build-arg REGISTRY="$REGISTRY" \
+ -t "$IMAGE" \
+ _testenv/data/podman
+
+ podman push "$IMAGE"
+ publishers:
+ - email:
+ notify-every-unstable-build: true
+ recipients: 'jenkins-notifications(a)lists.osmocom.org'
+
# vim: expandtab tabstop=2 shiftwidth=2
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ci/+/37712?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I4f069efcb1de01b8efda095d649721f41ab8ac35
Gerrit-Change-Number: 37712
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: merged