mirror of https://gerrit.osmocom.org/osmo-ci
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
This commit is contained in:
parent
30e4b60a13
commit
d2bd8f5095
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue