osmith submitted this change.
jobs/ttcn3-testsuites-testenv: add ipa
Change-Id: I3d42aa8789b5d6f1756d7dba18e49ecafe7bee6e
---
M jobs/ttcn3-testsuites-testenv.yml
1 file changed, 18 insertions(+), 0 deletions(-)
diff --git a/jobs/ttcn3-testsuites-testenv.yml b/jobs/ttcn3-testsuites-testenv.yml
index 0b5dba7..05d9a5a 100644
--- a/jobs/ttcn3-testsuites-testenv.yml
+++ b/jobs/ttcn3-testsuites-testenv.yml
@@ -624,6 +624,15 @@
args: -b osmocom:nightly:asan
timer: H 17 * * *
+ # ---------------------------------------------
+ # Build from source with osmo-dev (for programs
+ # where we don't have binary packages in OBS)
+ # ---------------------------------------------
+ - ttcn3-onomondo-ipa-test:
+ testsuite: ipad
+ build-with-osmo-dev: true
+ timer: H 17 * * *
+
- job-template:
name: '{job-name}'
project-type: freestyle
@@ -658,6 +667,9 @@
IMAGE="registry.osmocom.org/osmocom-build/"$(echo "$DISTRO" | tr : -)"-osmo-ttcn3-testenv"
KERNEL="{kernel}"
+ # Converting to lowercase is needed as jenkins-job-builder sets it to "True" / "False"
+ BUILD_WITH_OSMO_DEV="$(echo '{build-with-osmo-dev}' | tr '[:upper:]' '[:lower:]')"
+
podman pull "$IMAGE"
# Clean up leftover apt partial directories, which the host system
@@ -697,6 +709,10 @@
uptime | grep --color=always -o "load.*"
+ if $BUILD_WITH_OSMO_DEV; then
+ src/osmo-ttcn3-hacks/testenv.py init osmo-dev
+ fi
+
RC=0
if ! src/osmo-ttcn3-hacks/testenv.py run \
{testsuite} \
@@ -751,3 +767,5 @@
- ansicolor:
colormap: xterm
email: jenkins-notifications@lists.osmocom.org
+ args: ""
+ build-with-osmo-dev: false
To view, visit change 43494. To unsubscribe, or for help writing mail filters, visit settings.