Change in osmo-ci[master]: jobs/ttcn3-testsuites.yml: support centos8

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 May 28 15:23:12 UTC 2020


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


Change subject: jobs/ttcn3-testsuites.yml: support centos8
......................................................................

jobs/ttcn3-testsuites.yml: support centos8

Related: OS#4564
Change-Id: I195437ffe8a8b6cb54de867d6f809c71e8f47ef1
---
M jobs/ttcn3-testsuites.yml
1 file changed, 41 insertions(+), 21 deletions(-)



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

diff --git a/jobs/ttcn3-testsuites.yml b/jobs/ttcn3-testsuites.yml
index 89d50cf..84edaa5 100644
--- a/jobs/ttcn3-testsuites.yml
+++ b/jobs/ttcn3-testsuites.yml
@@ -10,7 +10,7 @@
       - "{job-name}"
     # Folders from docker-playground.git
     job-name:
-      # nightly - order by time
+      # debian-stretch nightly - order by time
       - nplab-m3ua-test:
           timer: 00 03 * * *
       - nplab-sua-test:
@@ -46,41 +46,45 @@
       - ttcn3-sccp-test:
           timer: 00 10 * * *
 
-      # latest stable
+      # debian-stretch latest stable
       - nplab-m3ua-test-latest:
-          blocking: "^nplab-m3ua-test.*"
+          blocking: "^nplab.*-m3ua-test.*"
       - nplab-sua-test-latest:
-          blocking: "^nplab-sua-test.*"
+          blocking: "^nplab.*-sua-test.*"
       - ttcn3-bsc-test-latest:
-          blocking: "^ttcn3-bsc-test.*"
+          blocking: "^ttcn3.*-bsc-test.*"
       - ttcn3-bsc-test-sccplite-latest:
-          blocking: "^ttcn3-bsc-test-sccplite.*"
+          blocking: "^ttcn3.*-bsc-test-sccplite.*"
       - ttcn3-bts-test-latest:
-          blocking: "^ttcn3-bts-test.*"
+          blocking: "^ttcn3.*-bts-test.*"
       - ttcn3-ggsn-test-latest:
-          blocking: "^ttcn3-ggsn-test.*"
+          blocking: "^ttcn3.*-ggsn-test.*"
       - ttcn3-hlr-test-latest:
-          blocking: "^ttcn3-hlr-test.*"
+          blocking: "^ttcn3.*-hlr-test.*"
       - ttcn3-mgw-test-latest:
-          blocking: "^ttcn3-mgw-test.*"
+          blocking: "^ttcn3.*-mgw-test.*"
       - ttcn3-msc-test-latest:
-          blocking: "^ttcn3-msc-test.*"
+          blocking: "^ttcn3.*-msc-test.*"
       - ttcn3-sgsn-test-latest:
-          blocking: "^ttcn3-sgsn-test.*"
+          blocking: "^ttcn3.*-sgsn-test.*"
       - ttcn3-sip-test-latest:
-          blocking: "^ttcn3-sip-test.*"
+          blocking: "^ttcn3.*-sip-test.*"
       - ttcn3-pcu-test-latest:
-          blocking: "^ttcn3-pcu-test.*"
+          blocking: "^ttcn3.*-pcu-test.*"
       - ttcn3-pcu-test-sns-latest:
-          blocking: "^ttcn3-pcu-test-sns.*"
+          blocking: "^ttcn3.*-pcu-test-sns.*"
       - ttcn3-bscnat-test-latest:
-          blocking: "^ttcn3-bscnat-test.*"
+          blocking: "^ttcn3.*-bscnat-test.*"
       - ttcn3-remsim-test-latest:
-          blocking: "^ttcn3-remsim-test.*"
+          blocking: "^ttcn3.*-remsim-test.*"
       - ttcn3-stp-test-latest:
-          blocking: "^ttcn3-stp-test.*"
+          blocking: "^ttcn3.*-stp-test.*"
       #- ttcn3-sccp-test-latest:
-      #    blocking: "^ttcn3-sccp-test.*"
+      #    blocking: "^ttcn3.*-sccp-test.*"
+
+      # centos8 nightly
+      - ttcn3-centos8-mgw-test:
+          blocking: "^ttcn3.*-mgw-test.*"
 - job-template:
     name: '{job-name}'
     project-type: freestyle
@@ -107,13 +111,29 @@
     builders:
       - shell: |-
           case "{job-name}" in
+              *-centos8-*-latest)
+                  cd "$(echo "{job-name}" | sed s/^ttcn3-centos8\-/ttcn3-/ | sed s/\-latest$//)"
+                  export DISTRO="centos8"
+                  export IMAGE_SUFFIX="latest"
+                  ./jenkins.sh
+                  ;;
+              *-centos8-*)
+                  cd "$(echo "{job-name}" | sed s/^ttcn3-centos8\-/ttcn3-/)"
+                  export DISTRO="centos8"
+                  export IMAGE_SUFFIX="master"
+                  ./jenkins.sh
+                  ;;
               *-latest)
                   cd "$(echo "{job-name}" | sed s/\-latest$//)"
-                  IMAGE_SUFFIX="latest" ./jenkins.sh
+                  export DISTRO="debian-stretch"
+                  export IMAGE_SUFFIX="latest"
+                  ./jenkins.sh
                   ;;
               *)
                   cd "{job-name}"
-                  IMAGE_SUFFIX="master" ./jenkins.sh
+                  export DISTRO="debian-stretch"
+                  export IMAGE_SUFFIX="master"
+                  ./jenkins.sh
                   ;;
           esac
     scm:

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

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I195437ffe8a8b6cb54de867d6f809c71e8f47ef1
Gerrit-Change-Number: 18555
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/20200528/f81225da/attachment.htm>


More information about the gerrit-log mailing list