aboutsummaryrefslogtreecommitdiffstats
path: root/jobs
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-12-02 23:01:32 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2017-12-02 23:15:56 +0100
commitd2bd8f5095f0f6111c8dbd9699b38905b9b66271 (patch)
treecaa9c42d3b6b87d4129c6214a6c29f8b1381e43b /jobs
parent30e4b60a13be133459d96ae9b293300ea47570c3 (diff)
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
Diffstat (limited to 'jobs')
-rw-r--r--jobs/master-builds.yml25
1 files changed, 11 insertions, 14 deletions
diff --git a/jobs/master-builds.yml b/jobs/master-builds.yml
index aa4edb3..c626de5 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