Commit Graph

38 Commits

Author SHA1 Message Date
Max ce1d21fec1 libosmocore: use dispatcher script
Get rid of job name comparison because it depends and exact build server
name and hence is highly fragile. Use dispatcher script the same way we
do in osmo-bts.

N. B: this requires I2955e866bce4f000a53369bd601a346c36c82468 in
libosmocore.

Change-Id: I76dfc11a05007ae5c6e0554fe8132695b67cccaa
2018-01-21 21:14:41 +00:00
Harald Welte 9b23074eeb jobs: Add {master,gerrit}-libusrp
Change-Id: I2b208455b7bd008fb25322280894c100e51f2227
2018-01-21 18:34:13 +01:00
Pau Espin f98070d9d5 gerrit-verifications.yml: osmo-sgsn: Remove duplicated concurrent attribute
Change-Id: I808c46c2f4488fd577bb1c23cd13c5b73519265b
2018-01-19 15:11:18 +00:00
Max 5dbe9a4617 Don't run OsmoPCU tests in parallel
The vty and ctrl tests are enabled by default and are run on hard-coded
ports. This causes some builds to fail when run in parallel.

Change-Id: I23d5b75825a667e4f043d16a12b841cd8f01af5e
2018-01-17 16:01:53 +00:00
Pau Espin 13738fa235 jobs: osmo-trx: Set slave_axis to use only debian9
Debian 8 contains quite old qemu and proot packages which have some
issues running the chroot infrastructure set up in osmo-trx's
jenkins.sh.

Change-Id: I24665880fff5a5b918bb6ffaf1e7bb51ae860b0b
2018-01-15 18:40:59 +01:00
Pau Espin 7d5bfdd722 gerrit-verifications.yml: Build osmo-trx with different optimization instruction sets enabled
Change-Id: I1d73165a397d98d8fb630f7adec45f00887c139a
2018-01-15 10:32:18 +01:00
Max 971489df4a Fix missing OsmoPCU gerrit verification
The [yes, no] tuple was automatically converted to [True, False] by the
jenkins-job-builder but the combination filter still used old literal
check. Fix this by using boolean from the very beginning.

Change-Id: Idac6e53b1e0addbcb5b6c99b8051e1e0ad26bc5b
2018-01-12 17:07:27 +00:00
Neels Hofmeyr 85f74b5c90 jobs: gerrit: fix osmo-python-tests: gerrit project name
Change-Id: Idb4e93d88123f0a7e403af627345300dae86aca7
2017-12-15 20:29:31 +01:00
Neels Hofmeyr 51f77030fb jobs: gerrit: fix osmo-ttcn3-hacks scm and slave
Change-Id: I252c103450ad0da59ab18c88d78f20c750b22c98
2017-12-15 19:55:38 +01:00
Neels Hofmeyr fd7b2aae89 jobs: gerrit: fix URL for osmo-python-tests
Change-Id: Icaa44207ebbdc03c3af1a32f7491d2b4c9fb982d
2017-12-15 19:55:35 +01:00
Neels Hofmeyr 27af5a2c6f jobs: gerrit-verifications: make repos_url configurable
Change-Id: I24aadc2aeeeda762df61e7c56e4159a730010c97
2017-12-15 19:55:15 +01:00
Max 1e857dcf1f Add osmo-python-tests to gerrit verification
Change-Id: Ia5db32b8ffe62f9578a55c9049d0c13fc6da7e83
2017-12-15 15:43:22 +00:00
Harald Welte cb7c6ee40f Add gerrit JJB for osmo-ttcn3-hacks
we simply call 'make compile' which will compile all of the projects
from TTCN-3 to C++

Change-Id: I2bb94c08259c130558f82bb4c084484be5b81c40
2017-12-13 01:21:21 +01:00
Pau Espin 787a51f51f jobs: Fix osmo-ggsn GTP build option
As far as I understand, the variable is populated using the name field.
In openggsn build it matches, but it doesn't in osmo-ggsn.

Change-Id: Ifb1a630b77a8c2f442e26dbef8e608882e8f9a71
2017-12-09 02:45:25 +01:00
Neels Hofmeyr 28564a6977 jobs: gerrit, master, update-osmo-ci: fix build-discarder section
The build-discarder section was silently not working. It needs to be nested
below a 'properties' node.

Also the names need to be dashed and not camelCased.

Change-Id: I9503200a8873e616f9195d4bb1d6163c464b305e
2017-12-09 01:13:18 +01:00
Harald Welte 92525a71d4 osmo-ggsn + openggsn: Build with and without kernel GTP support
Change-Id: I974ba11fd8ef1ed87ec87fb64b8da44d5a8fec9f
2017-11-14 14:47:14 +09:00
Harald Welte b9f2e75fbe jenkins: Add gerrit verification job for libgtpnl
Change-Id: I9dfe4a619f75574cc0a61ab978f4450252b6c171
2017-11-12 14:19:38 +00:00
Harald Welte d81f473140 gerrit jenkins jobs: Remove comment-added-event
This trigger is responsible for triggering another build
once the first build is complete and sets a +V

Change-Id: I235e0211a01da0eb74d8e6a9581aa34b59073ca0
2017-11-03 19:46:13 +01:00
Neels Hofmeyr ccafbb7c53 jobs: gerrit: fix openbsc: name must case-sensitively match git repos
Change-Id: I699c4f5f04a416b92be395c303d6bf0edbf320e4
2017-11-01 14:42:09 +01:00
Neels Hofmeyr fdfa976db0 jobs: gerrit: fix osmo-hlr slave label typo
Change-Id: I78a4b600571e79174dbbdd24bbee23df4b2fd221
2017-11-01 14:20:07 +01:00
Harald Welte 64c82cdeaf gerrit-verifications.yml: Remove FreeBSD_amd64 builds
In early September we asked on the public mailing list if there are
any users of the FreeBSD builds, and there was no response at all.

Let's disable the build testing on FreeBSD.  This will significantly
speed up our build testing, as well as pave the way for a more
comprehensive docker/containerization of build testing.

We're still extremely happy to merge any patches for support of
FreeBSD or other operating systems.  But the core Osmocom developers
will not perform related testing / porting.

Change-Id: I2c6d2a17c3cf9d8c78c3675995493e30cbc6be0d
2017-11-01 09:50:16 +00:00
Neels Hofmeyr d753583177 jobs: gerrit: make all docker builds concurrent
The point of using docker is to allow concurrent builds, hence set 'concurrent:
true' for all jobs using docker.

Change-Id: I6333ee2856cbeb0cc3eb14c381ac8faf838c5f97
2017-11-01 01:39:12 +01:00
Neels Hofmeyr fb06801fee jobs: gerrit: fix missing indents in 4 jobs
fixed in osmo-bsc, osmo-mgw, osmo-sgsn, cellmgr-ng:

Spanning a single shell command across several lines with backslashes in the
end breaks when the newlines are not preserved: the backslashes escape a
following space, which is joined to the following cmdline arg.

Add the leading less-indented comments that curiously lead to preserving the
newline characters in the cmd sections.

Change-Id: Icfd6cfb7ca4172795620e1d7ee60610db4f7226b
2017-11-01 01:26:29 +01:00
Neels Hofmeyr 4cc4060a12 jobs: gerrit: fix osmo-mgw and osmo-bsc: remove stray '
Change-Id: I565876176c3827a2696a228f9a81a1cc10a34ca9
2017-10-30 05:14:34 +01:00
Neels Hofmeyr 0ee68a25f3 jobs: gerrit: fix cellmgr-ng
Change-Id: I4ab24f66909e43c0447265e027593a56d0dfa52c
2017-10-30 05:14:28 +01:00
Neels Hofmeyr cf60aaa5f2 jobs: yml files: set vim expandtab (and shiftwidth)
Having tabs in the yml files cause parse errors. For vim convenience, add
comments that instruct vim to expand the tabs to spaces.

Change-Id: I5f0598a31e30d1a9440c40935644bb782f645664
2017-10-30 04:43:38 +01:00
Neels Hofmeyr 6d9ba13ef0 jobs: fix multiline cmds with less-indented first line comments
Interestingly enough, only a line that has more indenting than the first line
also receives an actual newline in the resulting jenkins Execute Shell section.
Hence insert '# keep first line with less indent' comments.

Change-Id: I13bcb41fa0e59b60a201c2b769bad42067e34ab8
2017-10-30 04:43:38 +01:00
Neels Hofmeyr 4280b49da8 jobs: gerrit: fix: don't do git plugin cleanup
After the "manual" cleanup from I2409b2928b4d7ebbd6c005097d4ad7337307dd93 has
been applied in numerous jenkins.sh scripts of the various osmocom projects,
drop the git plugin cleanup step.

Rationale:
- The git plugin cleanup apparently does not check against non-writable files,
  like leftovers from a failed 'make distcheck'. If any are left behind, the
  build fails even before the build steps start.
- The git cleanup would wipe out all git clones, which we're trying to re-use
  across rebuilds now.

The osmo-clean-workspace.sh takes care of this, so don't use the jenkins
plugin.

Change-Id: I8a43b851cef2ad7e8582f1e9bbe3547e3b77fc1a
2017-10-30 04:13:45 +01:00
Neels Hofmeyr 7b27e14340 jobs: gerrit: fix osmo-msc: missing ARTIFACT_STORE docker mount
Change-Id: Ibeca6f1afad263fb9756ad1d6ce3e55d51ac322b
2017-10-30 04:13:45 +01:00
Harald Welte 9dd60ec017 gerrit-verifications.yml: Don't skip the vote
Change-Id: I4eb153701baf1652394bda7505dcd3bc31e28570
2017-10-29 18:48:15 +01:00
Harald Welte 7c40acc9bb gerrit-verifications.yml: Don't build drafts or no-code-changes
Change-Id: I19e8004a2016626e3525eca690c84800715e4fdc
2017-10-29 18:48:15 +01:00
Harald Welte 0a6bed8905 gerrit-verifcations.yml: Make sure we add a +V=1 on successful builds
Change-Id: I0b3bcb4661a144e231613398031c0aadf8781bb8
2017-10-29 18:48:15 +01:00
Harald Welte 920b27baa3 gerrit-verifications.yml: Add missing git 'name' and 'refspec'
The 'name' and 'refspec' attributes for the git SCM fetcher were
not configured correctly (like in old manual job definitions)

Change-Id: Ibc63751838c14a449464afeec56930021bef37be
2017-10-29 18:48:15 +01:00
Harald Welte 6a582f1177 gerrit-verifications.yml: Turn gerrit URL into hyperlink
Change-Id: Ia9855f8d8c547f32439df2eea50fb755dfeba388
2017-10-29 12:16:03 +00:00
Harald Welte 5ce7f79e68 gerrit-verifications.yml: State in job description that job is managed
to prevent accidential / unintentional manual modification

Change-Id: I26b20a879fe29f153487757ac50f88acb9655338
2017-10-29 12:16:00 +00:00
Harald Welte 4732773c39 gerrit-verifications.yml: Rename from *-gerrit to gerrit-*
Let's rename the auto-generated jobs to make it easier to differentiate
from the old manual jobs with -gerrit suffix.

Change-Id: I9e46f03834e1b500b27c16f4a728f0b82dff0933
2017-10-29 12:15:55 +00:00
Harald Welte 3027ead9e9 gerrit-verifications.yml: Manual sync with current jobs
This is the result of one pass through all gerrit jenkins jobs
currently [manually] configured on jenkins.osmocom.org together
with alphabetically sorting the definitions to match the order in
the Jenkins Web UI.

Change-Id: I42051e76234b2695934183188f074ee7e467f58c
2017-10-29 11:56:34 +00:00
André Boddenberg 6c401be095 Gerrit verification jobs as Jenkins Job Builder YAML [1] file.
All jobs are in jobs/ directory and will be automatically verified and
deployed in a follow-up commit.

Note: osmocom-nightly-nitb-split.yml has been moved to jobs/ dir.

[1] https://docs.openstack.org/infra/jenkins-job-builder/

Change-Id: I04387367a6e2d737bfb50423c81a8908d3c2a89f
2017-09-19 16:05:38 +00:00