[PATCH] osmo-ci[master]: jobs: master-builds: apply various initial fixes

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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Sat Dec 2 22:07:08 UTC 2017


Review at  https://gerrit.osmocom.org/5141

jobs: master-builds: apply various initial fixes

libosmo-sccp, osmo-ggsn: The osmo-gsm-tester builds are downstream builds, yes,
but we configured that with the osmo-gsm-tester builds: instead of telling
libosmo-sccp to build osmo-gsm-tester_build-osmo-stp when done, we configure
the osmo-gsm-tester_osmo-stp to build after libosmo-sccp. So that the master
branch builds don't need to have any knowledge of osmo-gsm-tester.

osmo-msc build triggers should rather be post-build triggers of osmo-iuh and
osmo-mgw, like the others. Then we can also drop the pollscm here, and use the
pollscm that is common to all other builds.

Call these jobs 'master-*'. It more accurately says what they build, and also
we can install the jobs from this file next to the current, old ones, without
overwriting them and thus we'll have an easy rollback path. The new ones can
co-exist with the old ones until the new ones are verified to work, at which
point we can drop the old ones.  Line 313:

IIUC the safest git branch is 'refs/remotes/origin/master'.

This is still untested!

Change-Id: If2ad9c90a0986d1304cd53383d3df5b375f23ac8
---
M jobs/master-builds.yml
1 file changed, 11 insertions(+), 14 deletions(-)


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

diff --git a/jobs/master-builds.yml b/jobs/master-builds.yml
index f058b42..782b150 100644
--- a/jobs/master-builds.yml
+++ b/jobs/master-builds.yml
@@ -1,5 +1,4 @@
-# This file holds all gerrit verifications https://jenkins.osmocom.org/jenkins/view/Jenkins-Gerrit/.
-# One cane simply add a gerrit job by adding project's repository to repos list.
+# All master branch verification builds, https://jenkins.osmocom.org/jenkins/view/master/
 
 - project:
     name: master_build
@@ -67,7 +66,6 @@
             downstream-ext:
               projects:
                 - openbsc
-                - osmo-gsm-tester_build-osmo-stp
 
       - libosmocore:
           a1_name: arch
@@ -160,7 +158,6 @@
           publishers:
             downstream-ext:
               projects:
-                - osmo-gsm-tester_build-osmo-ggsn
                 - osmo-sgsn
 
       - osmo-gmr
@@ -183,7 +180,11 @@
       - osmo-hlr:
           slave_axis: !!python/tuple [linux_amd64_debian8, linux_amd64_debian9]
 
-      - osmo-iuh
+      - osmo-iuh:
+          publishers:
+            downstream-ext:
+              projects:
+                - osmo-msc
 
       - osmo-mgw:
           a1_name: MGCP
@@ -195,18 +196,14 @@
               -e MGCP="$MGCP" -e PATH="$PATH:/build_bin" -e OSMOPY_DEBUG_TCP_SOCKETS="1" -w /build \
               -i -u build -v "$PWD:/build" -v "$HOME/bin:/build_bin" \
               osmocom:amd64 /build/contrib/jenkins.sh
+          publishers:
+            downstream-ext:
+              projects:
+                - osmo-msc
 
       - osmo-msc:
           a1_name: IU
           a1: !!python/tuple [--enable-iu, --disable-iu]
-          triggers:
-            - pollscm:
-                cron: "H/5 * * * *"
-                ignore-post-commit-hooks: false
-            - reverse:
-                jobs:
-                  - osmo-iuh
-                  - osmo-mgw
           concurrent: true
           cmd: >
            # keep first line with less indent to preserve newlines
@@ -310,7 +307,7 @@
       - git:
          url: git://git.osmocom.org/{repos}
          branches:
-           - '*/master'
+           - 'refs/remotes/origin/master'
          refspec:
          name:
          wipe-workspace: false

-- 
To view, visit https://gerrit.osmocom.org/5141
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If2ad9c90a0986d1304cd53383d3df5b375f23ac8
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list