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
2017-12-02 22:01:32 +00:00
|
|
|
# All master branch verification builds, https://jenkins.osmocom.org/jenkins/view/master/
|
2017-11-14 05:41:10 +00:00
|
|
|
|
|
|
|
- project:
|
2017-12-02 22:00:30 +00:00
|
|
|
name: master_build
|
2017-11-14 05:41:10 +00:00
|
|
|
# following default values can be overridden by each repo
|
|
|
|
disabled: false
|
|
|
|
concurrent: false
|
|
|
|
# axes related defaults
|
2018-03-26 17:22:50 +00:00
|
|
|
slave_axis: !!python/tuple [osmocom-master-debian9]
|
2017-11-14 05:41:10 +00:00
|
|
|
a1_name: a1
|
|
|
|
a1: !!python/tuple [default]
|
|
|
|
a2_name: a2
|
|
|
|
a2: !!python/tuple [default]
|
|
|
|
a3_name: a3
|
|
|
|
a3: !!python/tuple [default]
|
|
|
|
combination_filter: ''
|
2018-01-22 15:27:38 +00:00
|
|
|
sequential: false
|
2017-11-14 05:41:10 +00:00
|
|
|
# most common build invocation
|
|
|
|
cmd: ./contrib/jenkins.sh
|
2017-12-09 01:16:15 +00:00
|
|
|
trigger:
|
2017-11-14 05:41:10 +00:00
|
|
|
|
|
|
|
# in alphabetical order
|
|
|
|
repos:
|
|
|
|
- asn1c
|
|
|
|
|
|
|
|
- cellmgr-ng:
|
|
|
|
concurrent: true
|
|
|
|
cmd: >
|
|
|
|
# keep first line with less indent to preserve newlines
|
|
|
|
docker run --rm=true -e HOME=/build -e MAKE=make -e PARALLEL_MAKE="$PARALLEL_MAKE" \
|
|
|
|
-e PATH="$PATH:/build_bin" -w /build \
|
|
|
|
-i -u build -v "$PWD:/build" -v "$HOME/bin:/build_bin" \
|
|
|
|
osmocom:amd64 /build/contrib/jenkins.sh
|
|
|
|
|
2018-02-09 10:25:21 +00:00
|
|
|
- libasn1c:
|
|
|
|
trigger: master-osmo-iuh, master-osmo-msc
|
|
|
|
|
|
|
|
- libgtpnl:
|
|
|
|
trigger: master-osmo-ggsn, openggsn
|
|
|
|
|
2017-11-14 05:41:10 +00:00
|
|
|
- libosmo-abis:
|
2018-02-09 10:25:21 +00:00
|
|
|
trigger: >
|
|
|
|
master-libosmo-netif, master-osmo-bsc, master-osmo-bts, master-osmo-hlr,
|
|
|
|
master-osmo-msc, master-osmo-sgsn, master-openbsc
|
2017-11-14 05:41:10 +00:00
|
|
|
|
|
|
|
- libosmo-dsp:
|
|
|
|
cmd: >
|
|
|
|
# keep first line with less indent to preserve newlines
|
|
|
|
autoreconf --install --force
|
|
|
|
./configure
|
|
|
|
$MAKE $PARALLEL_MAKE
|
|
|
|
$MAKE distcheck
|
2017-12-09 01:16:15 +00:00
|
|
|
trigger: master-osmo-gmr
|
2017-11-14 05:41:10 +00:00
|
|
|
|
|
|
|
- libosmo-netif:
|
2018-02-09 10:25:21 +00:00
|
|
|
trigger: >
|
|
|
|
master-libosmo-sccp, master-openbsc, mastere-osmo-hlr, master-osmo-iuh,
|
|
|
|
master-osmo-mgw, master-osmo-msc, master-osmo-sgsn
|
2017-11-14 05:41:10 +00:00
|
|
|
|
|
|
|
- libosmo-sccp:
|
2018-02-09 10:25:21 +00:00
|
|
|
trigger: >
|
|
|
|
master-openbsc, master-osmo-bsc, master-osmo-iuh, master-osmo-msc, master-osmo-sgsn
|
2017-11-14 05:41:10 +00:00
|
|
|
|
|
|
|
- libosmocore:
|
|
|
|
a1_name: arch
|
|
|
|
a1: !!python/tuple [arm-none-eabi, amd64]
|
|
|
|
combination_filter: '!(arch=="arm-none-eabi" && label=="FreeBSD_amd64")'
|
2018-01-18 18:21:23 +00:00
|
|
|
cmd: './contrib/jenkins_arch.sh "$arch"'
|
2017-12-09 01:16:15 +00:00
|
|
|
trigger: >
|
2018-02-09 10:25:21 +00:00
|
|
|
master-libosmo-abis, master-libosmo-netif, master-libosmo-sccp, master-openbsc,
|
|
|
|
master-osmo-bsc, master-osmo-bts, master-osmo-ggsn, master-osmo-gmr, master-osmo-hlr,
|
|
|
|
master-osmo-iuh, master-osmo-mgw, master-osmo-msc, master-osmo-pcap, master-osmo-pcu,
|
|
|
|
master-osmo-sgsn, master-osmo-sip-connector, master-osmo-tetra,
|
|
|
|
master-osmocom-bb, SIMtrace, xgoldmon
|
2017-11-14 05:41:10 +00:00
|
|
|
|
|
|
|
- libsmpp34:
|
2017-12-09 01:16:15 +00:00
|
|
|
trigger: master-osmo-msc, master-openbsc
|
2017-11-14 05:41:10 +00:00
|
|
|
|
|
|
|
- libtelnet
|
2018-02-09 10:25:21 +00:00
|
|
|
- libusrp:
|
|
|
|
trigger: master-osmo-trx
|
2017-11-14 05:41:10 +00:00
|
|
|
|
|
|
|
- openbsc:
|
|
|
|
a1_name: SMPP
|
|
|
|
a1: !!python/tuple [--enable-smpp]
|
|
|
|
a2_name: MGCP
|
|
|
|
a2: !!python/tuple [--enable-mgcp-transcoding, --disable-mgcp-transcoding]
|
|
|
|
a3_name: IU
|
|
|
|
a3: !!python/tuple [--disable-iu]
|
|
|
|
concurrent: true
|
|
|
|
cmd: >
|
|
|
|
# keep first line with less indent to preserve newlines
|
|
|
|
ARTIFACT_STORE="$HOME/jenkins_build_artifact_store"
|
|
|
|
mkdir -p "$ARTIFACT_STORE"
|
2017-12-15 18:30:30 +00:00
|
|
|
docker run --rm=true \
|
|
|
|
-e HOME=/build \
|
|
|
|
-e ARTIFACT_STORE=/artifact_store \
|
|
|
|
-e JOB_NAME="$JOB_NAME" \
|
|
|
|
-e MAKE=make \
|
|
|
|
-e PARALLEL_MAKE="$PARALLEL_MAKE" \
|
|
|
|
-e IU="$IU" \
|
|
|
|
-e SMPP="$SMPP" \
|
|
|
|
-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" \
|
|
|
|
-v "$ARTIFACT_STORE:/artifact_store" \
|
2017-11-14 05:41:10 +00:00
|
|
|
osmocom:amd64 /build/contrib/jenkins.sh
|
|
|
|
|
|
|
|
- osmo-bsc:
|
|
|
|
concurrent: true
|
|
|
|
cmd: >
|
|
|
|
# keep first line with less indent to preserve newlines
|
2017-12-15 18:30:30 +00:00
|
|
|
docker run --rm=true \
|
|
|
|
-e HOME=/build \
|
|
|
|
-e MAKE=make \
|
|
|
|
-e PARALLEL_MAKE="$PARALLEL_MAKE" \
|
|
|
|
-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
|
2017-11-14 05:41:10 +00:00
|
|
|
|
|
|
|
- osmo-bts:
|
|
|
|
a1_name: FIRMWARE_VERSION
|
|
|
|
a1: !!python/tuple [master, femtobts_v2.7, superfemto_v2.4, superfemto_v3.0.1pre, superfemto_v3.1, superfemto_v5.1, v2017.01, origin/nrw/litecell15-next]
|
|
|
|
a2_name: BTS_MODEL
|
|
|
|
a2: !!python/tuple [sysmo, oct, trx, oct+trx, lc15]
|
|
|
|
combination_filter: >
|
|
|
|
FIRMWARE_VERSION == "master" ||
|
|
|
|
(FIRMWARE_VERSION == "femtobts_v2.7" && BTS_MODEL == "sysmo") ||
|
|
|
|
(FIRMWARE_VERSION == "superfemto_v2.4" && BTS_MODEL == "sysmo") ||
|
|
|
|
(FIRMWARE_VERSION == "superfemto_v3.0.1pre" && BTS_MODEL == "sysmo") ||
|
|
|
|
(FIRMWARE_VERSION == "superfemto_v3.1" && BTS_MODEL == "sysmo") ||
|
|
|
|
(FIRMWARE_VERSION == "superfemto_v5.1" && BTS_MODEL == "sysmo") ||
|
|
|
|
(FIRMWARE_VERSION == "v2017.01" && BTS_MODEL == "lc15") ||
|
|
|
|
(FIRMWARE_VERSION == "origin/nrw/litecell15-next" && BTS_MODEL == "lc15")
|
|
|
|
cmd: './contrib/jenkins_bts_model.sh "$BTS_MODEL"'
|
|
|
|
|
|
|
|
- osmo-ggsn:
|
2017-12-04 12:42:05 +00:00
|
|
|
a1_name: GTP
|
2017-11-14 05:41:10 +00:00
|
|
|
a1: !!python/tuple [--enable-gtp-linux,--disable-gtp-linux]
|
|
|
|
cmd: GTP="$GTP" ./contrib/jenkins.sh
|
2017-12-09 01:16:15 +00:00
|
|
|
trigger: master-osmo-sgsn
|
2017-11-14 05:41:10 +00:00
|
|
|
|
|
|
|
- osmo-gmr
|
|
|
|
|
|
|
|
- osmo-gsm-manuals:
|
2017-12-15 18:31:00 +00:00
|
|
|
# publishing once is plenty
|
|
|
|
slave_axis: !!python/tuple [OsmocomBuild1]
|
2017-11-14 05:41:10 +00:00
|
|
|
cmd: >
|
|
|
|
# keep first line with less indent to preserve newlines
|
2017-12-15 18:31:00 +00:00
|
|
|
./contrib/jenkins.sh --publish
|
2017-11-14 05:41:10 +00:00
|
|
|
|
2018-03-26 17:22:50 +00:00
|
|
|
- osmo-hlr
|
2017-11-14 05:41:10 +00:00
|
|
|
|
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
2017-12-02 22:01:32 +00:00
|
|
|
- osmo-iuh:
|
2017-12-09 01:16:15 +00:00
|
|
|
trigger: master-osmo-msc, master-osmo-sgsn
|
2017-11-14 05:41:10 +00:00
|
|
|
|
|
|
|
- osmo-mgw:
|
|
|
|
a1_name: MGCP
|
|
|
|
a1: !!python/tuple [--enable-mgcp-transcoding, --disable-mgcp-transcoding]
|
|
|
|
concurrent: true
|
|
|
|
cmd: >
|
|
|
|
# keep first line with less indent to preserve newlines
|
2017-12-15 18:30:30 +00:00
|
|
|
docker run --rm=true \
|
|
|
|
-e HOME=/build \
|
|
|
|
-e MAKE=make \
|
|
|
|
-e PARALLEL_MAKE="$PARALLEL_MAKE" \
|
|
|
|
-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" \
|
2017-11-14 05:41:10 +00:00
|
|
|
osmocom:amd64 /build/contrib/jenkins.sh
|
2017-12-09 01:16:15 +00:00
|
|
|
trigger: master-osmo-msc, master-osmo-bsc
|
2017-11-14 05:41:10 +00:00
|
|
|
|
|
|
|
- osmo-msc:
|
|
|
|
a1_name: IU
|
|
|
|
a1: !!python/tuple [--enable-iu, --disable-iu]
|
|
|
|
concurrent: true
|
|
|
|
cmd: >
|
|
|
|
# keep first line with less indent to preserve newlines
|
|
|
|
ARTIFACT_STORE="$HOME/jenkins_build_artifact_store"
|
|
|
|
mkdir -p "$ARTIFACT_STORE"
|
2017-12-15 18:30:30 +00:00
|
|
|
docker run --rm=true -i \
|
|
|
|
-e HOME=/build \
|
|
|
|
-e ARTIFACT_STORE=/artifact_store \
|
|
|
|
-e JOB_NAME="$JOB_NAME" \
|
|
|
|
-e MAKE=make \
|
|
|
|
-e PARALLEL_MAKE="$PARALLEL_MAKE" \
|
|
|
|
-e IU="$IU" \
|
|
|
|
-e PATH="$PATH:/build_bin" \
|
|
|
|
-e OSMOPY_DEBUG_TCP_SOCKETS="1" \
|
|
|
|
-w /build -u build \
|
|
|
|
-v "$PWD:/build" -v "$HOME/bin:/build_bin" \
|
2017-11-14 05:41:10 +00:00
|
|
|
-v "$ARTIFACT_STORE:/artifact_store" \
|
|
|
|
osmocom:amd64 /build/contrib/jenkins.sh
|
|
|
|
|
|
|
|
- osmo-pcap
|
|
|
|
|
|
|
|
- osmo-pcu:
|
|
|
|
scm:
|
|
|
|
- git:
|
|
|
|
branches:
|
|
|
|
- '*/master'
|
|
|
|
- '*/jerlbeck/master'
|
|
|
|
a1_name: FIRMWARE_VERSION
|
|
|
|
a1: !!python/tuple [master, v2017.01, origin/nrw/litecell15-next]
|
|
|
|
a2_name: with_vty
|
2018-01-17 13:28:30 +00:00
|
|
|
a2: !!python/tuple [True, False]
|
2017-11-14 05:41:10 +00:00
|
|
|
a3_name: with_dsp
|
|
|
|
a3: !!python/tuple [sysmo, lc15, none]
|
2018-01-17 15:22:17 +00:00
|
|
|
sequential: true
|
2017-11-14 05:41:10 +00:00
|
|
|
combination_filter: >
|
2018-01-17 13:28:30 +00:00
|
|
|
(with_vty == "True" && with_dsp == "sysmo" && FIRMWARE_VERSION=="master") ||
|
|
|
|
(with_vty == "True" && with_dsp == "lc15" && FIRMWARE_VERSION=="master") ||
|
|
|
|
(with_vty == "True" && with_dsp == "lc15" && FIRMWARE_VERSION=="v2017.01") ||
|
|
|
|
(with_vty == "True" && with_dsp == "lc15" && FIRMWARE_VERSION=="origin/nrw/litecell15-next") ||
|
|
|
|
(with_vty == "False" && with_dsp == "none" && FIRMWARE_VERSION=="master")
|
2017-11-14 05:41:10 +00:00
|
|
|
|
|
|
|
- osmo-sgsn:
|
|
|
|
a1_name: IU
|
|
|
|
a1: !!python/tuple [--enable-iu, --disable-iu]
|
|
|
|
concurrent: true
|
|
|
|
cmd: >
|
|
|
|
# keep first line with less indent to preserve newlines
|
2017-12-15 18:30:30 +00:00
|
|
|
docker run --rm=true \
|
|
|
|
-e HOME=/build \
|
|
|
|
-e MAKE=make \
|
|
|
|
-e PARALLEL_MAKE="$PARALLEL_MAKE" \
|
|
|
|
-e IU="$IU" \
|
|
|
|
-e PATH="$PATH:/build_bin" \
|
|
|
|
-e OSMOPY_DEBUG_TCP_SOCKETS="1" \
|
|
|
|
-w /build -i -u build \
|
|
|
|
-v "$PWD:/build" -v "$HOME/bin:/build_bin" \
|
2017-11-14 05:41:10 +00:00
|
|
|
osmocom:amd64 /build/contrib/jenkins.sh
|
|
|
|
|
|
|
|
- osmo-sip-connector
|
|
|
|
- osmo-tetra
|
|
|
|
|
|
|
|
- osmo-trx:
|
2018-01-08 18:04:57 +00:00
|
|
|
a1_name: INSTR
|
2018-03-17 20:24:04 +00:00
|
|
|
# ARM variants temporarily disabled due to issue OS#3061
|
|
|
|
# a1: !!python/tuple [--with-sse, --with-neon, --with-neon-vfpv4]
|
|
|
|
a1: !!python/tuple [--with-sse]
|
2018-01-08 18:04:57 +00:00
|
|
|
concurrent: true
|
2017-11-14 05:41:10 +00:00
|
|
|
|
|
|
|
- osmocom-bb
|
|
|
|
|
|
|
|
jobs:
|
2017-12-02 22:00:30 +00:00
|
|
|
- 'master-{repos}'
|
2017-11-14 05:41:10 +00:00
|
|
|
|
|
|
|
- job-template:
|
2017-12-02 22:00:30 +00:00
|
|
|
name: 'master-{repos}'
|
2017-11-14 05:41:10 +00:00
|
|
|
project-type: matrix
|
|
|
|
concurrent: '{obj:concurrent}'
|
|
|
|
disabled: '{obj:disabled}'
|
|
|
|
retry-count: 3 # scm checkout
|
2017-12-09 00:11:01 +00:00
|
|
|
properties:
|
|
|
|
- build-discarder:
|
|
|
|
days-to-keep: 30
|
|
|
|
num-to-keep: 120
|
|
|
|
artifact-days-to-keep: -1
|
|
|
|
artifact-num-to-keep: -1
|
2017-11-14 05:41:10 +00:00
|
|
|
description: |
|
|
|
|
Automatic jenkins test job of
|
|
|
|
<a href="http://git.osmocom.org/{repos}">{repos}</a>
|
|
|
|
<br/><br/>
|
|
|
|
<b>Auto-generated using Jenkins Job Builder. DO NOT EDIT MANUALLY!</b>
|
|
|
|
|
|
|
|
execution-strategy:
|
2018-01-22 15:27:38 +00:00
|
|
|
sequential: '{obj:sequential}'
|
2017-11-14 05:41:10 +00:00
|
|
|
combination-filter: |
|
|
|
|
{obj:combination_filter}
|
|
|
|
axes:
|
|
|
|
- axis:
|
|
|
|
type: slave
|
|
|
|
name: label
|
|
|
|
values: '{obj:slave_axis}'
|
|
|
|
- axis:
|
|
|
|
type: user-defined
|
|
|
|
name: '{obj:a1_name}'
|
|
|
|
values: '{obj:a1}'
|
|
|
|
- axis:
|
|
|
|
type: user-defined
|
|
|
|
name: '{obj:a2_name}'
|
|
|
|
values: '{obj:a2}'
|
|
|
|
- axis:
|
|
|
|
type: user-defined
|
|
|
|
name: '{obj:a3_name}'
|
|
|
|
values: '{obj:a3}'
|
|
|
|
|
|
|
|
scm:
|
|
|
|
- git:
|
|
|
|
url: git://git.osmocom.org/{repos}
|
|
|
|
branches:
|
2017-12-13 01:30:47 +00:00
|
|
|
- 'origin/master'
|
2017-11-14 05:41:10 +00:00
|
|
|
refspec:
|
|
|
|
name:
|
|
|
|
wipe-workspace: false
|
|
|
|
skip-tag: true
|
|
|
|
|
|
|
|
triggers:
|
|
|
|
- pollscm:
|
|
|
|
cron: "H/5 * * * *"
|
|
|
|
ignore-post-commit-hooks: false
|
2018-01-19 04:23:37 +00:00
|
|
|
- timed: "H H * * *"
|
2017-11-14 05:41:10 +00:00
|
|
|
|
|
|
|
builders:
|
|
|
|
- shell: '{obj:cmd}'
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- warnings:
|
|
|
|
console-log-parsers:
|
|
|
|
- 'GNU C Compiler 4 (gcc)'
|
|
|
|
resolve-relative-paths: true
|
2017-12-09 01:16:15 +00:00
|
|
|
- trigger:
|
|
|
|
project: '{obj:trigger}'
|
2018-01-09 11:41:16 +00:00
|
|
|
- email:
|
2018-02-22 15:22:14 +00:00
|
|
|
recipients: gerrit-log@lists.osmocom.org, laforge@gnumonks.org
|
2018-01-09 11:41:16 +00:00
|
|
|
send-to-individuals: true
|
2017-11-14 05:41:10 +00:00
|
|
|
|
|
|
|
# vim: expandtab tabstop=2 shiftwidth=2
|