Change in osmo-ci[master]: jobs/ttcn3-testsuites-kernel-git: add OSMOCOM_VERSION

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Thu Mar 4 10:01:41 UTC 2021


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/23229 )


Change subject: jobs/ttcn3-testsuites-kernel-git: add OSMOCOM_VERSION
......................................................................

jobs/ttcn3-testsuites-kernel-git: add OSMOCOM_VERSION

Let the user choose whether to run against osmo-ggsn latest or master.
I chose the name "OSMOCOM_VERSION" for the variable to make this easier
to use for people not familiar with the Osmocom stack / the test
infrastructure, as suggested in the related issue.

Related: OS#3208
Change-Id: Ifaf8ed6502b469ade670c3f436670480d27becd6
---
M jobs/ttcn3-testsuites-kernel-git.yml
1 file changed, 11 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/29/23229/1

diff --git a/jobs/ttcn3-testsuites-kernel-git.yml b/jobs/ttcn3-testsuites-kernel-git.yml
index cfc36f2..fa04cb9 100644
--- a/jobs/ttcn3-testsuites-kernel-git.yml
+++ b/jobs/ttcn3-testsuites-kernel-git.yml
@@ -55,6 +55,16 @@
                 <code>KERNEL_URL</code> and <code>KERNEL_REMOTE_NAME</code>
                 before building the kernel.
           default: 'master'
+      - choice:
+          name: OSMOCOM_VERSION
+          choices:
+            - latest
+            - master
+          description: |
+                Version of the Osmocom stack to test against the kernel. Either
+                <code>latest</code> for the latest release version, or
+                <code>master</code> for HEAD of git.osmocom.org.
+          default: 'latest'
 
     builders:
       - shell: |-
@@ -65,7 +75,7 @@
           case "{job-name}" in
               ttcn3-ggsn-test-kernel-git)
                   DIR="ttcn3-ggsn-test"
-                  export IMAGE_SUFFIX="master"
+                  export IMAGE_SUFFIX="$OSMOCOM_VERSION"
                   export KERNEL_TEST=1
                   export KERNEL_BUILD=1
                   ;;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/23229
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ifaf8ed6502b469ade670c3f436670480d27becd6
Gerrit-Change-Number: 23229
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210304/07fae1b6/attachment.htm>


More information about the gerrit-log mailing list