osmith has uploaded this change for review.

View Change

jobs/gerrit-verifications: build ttcn3 in docker

Build the testsuites in the same docker container during gerrit
verification, as it will be the case when building and running the
testsuites in the various ttcn3-* jenkins jobs.

This avoids the need to install eclipse-titan and libfftranscode on the
jenkins nodes.

Related: OS#5452
Change-Id: I6a667255bb55a945b4c6279d711142aa252c6996
---
M jobs/gerrit-verifications.yml
1 file changed, 12 insertions(+), 4 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/05/27205/1
diff --git a/jobs/gerrit-verifications.yml b/jobs/gerrit-verifications.yml
index 84fe805..9481047 100644
--- a/jobs/gerrit-verifications.yml
+++ b/jobs/gerrit-verifications.yml
@@ -261,12 +261,20 @@
cmd: '{timeout_cmd} ./contrib/jenkins.sh'

- osmo-ttcn3-hacks:
- repos_url: 'https://gerrit.osmocom.org/{repos}'
slave_axis: !!python/tuple [ttcn3]
- concurrent: false
cmd: |
- set -e
- make deps; make clean; make compile
+ docker run \
+ --rm \
+ -v "$PWD:/build" \
+ "registry.osmocom.org/osmocom-build/debian-bullseye-titan" \
+ {timeout_cmd} \
+ sh -e -x -c "
+ useradd --uid=1000 build;
+ cd /build;
+ su build -c 'make deps';
+ su build -c 'make clean';
+ su build -c 'make compile';
+ "

jobs:
- 'gerrit-{repos}'

To view, visit change 27205. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I6a667255bb55a945b4c6279d711142aa252c6996
Gerrit-Change-Number: 27205
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-MessageType: newchange