aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-11-01osmo-deps.sh: fix: add 'origin/' to branch, to properly updateNeels Hofmeyr1-1/+1
If I have a git clone that once did 'checkout [-f] branch', and if then origin/branch gets updates, doing another 'checkout -f branch' only goes back to the local tracking-branch of origin/branch. We never pull in changes from origin/branch anymore as soon as a local branch exists. Always prepend 'origin/', so that 'checkout -f' goes into detached-HEAD state onto the newest fetched revision. Change-Id: Ia715a100b5beaf7e612c2c64cdad8819aa00c8bd
2017-11-01gerrit-verifications.yml: Remove FreeBSD_amd64 buildsHarald Welte1-23/+9
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-01jobs: gerrit: make all docker builds concurrentNeels Hofmeyr1-0/+5
The point of using docker is to allow concurrent builds, hence set 'concurrent: true' for all jobs using docker. Change-Id: I6333ee2856cbeb0cc3eb14c381ac8faf838c5f97
2017-11-01jobs: README: better explain newlines curiosity and update behaviorNeels Hofmeyr1-4/+7
Change-Id: I9707091a4dcfc65bd378fab02bf24692debb60ed
2017-11-01jobs: gerrit: fix missing indents in 4 jobsNeels Hofmeyr1-0/+4
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-10-30osmocom-nightly-packages: Build latest libgtpnlHarald Welte1-0/+2
libgtpnl is the userspace library for using kenrel GTP-U support, which is used by openggsn (and will be used by osmo-ggsn). Change-Id: Iad600a36cb658bbd874b4587ec514f49703d6a45
2017-10-30jobs: gerrit: fix osmo-mgw and osmo-bsc: remove stray 'Neels Hofmeyr1-2/+2
Change-Id: I565876176c3827a2696a228f9a81a1cc10a34ca9
2017-10-30jobs: gerrit: fix cellmgr-ngNeels Hofmeyr1-2/+3
Change-Id: I4ab24f66909e43c0447265e027593a56d0dfa52c
2017-10-30gitignore: also ignore jenkins-jobs.ini with a dashNeels Hofmeyr1-0/+1
Some may "accidentally" use a dash when reading the README file. Change-Id: I34877e2ba874c71b1be0079125f3662a9492a314
2017-10-30jobs: yml files: set vim expandtab (and shiftwidth)Neels Hofmeyr3-0/+6
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-30jobs: overhaul README to actually help in usageNeels Hofmeyr1-17/+53
Change-Id: I5981583d9248bfb47a42e930bd7733bfbce1219c
2017-10-30jobs: fix multiline cmds with less-indented first line commentsNeels Hofmeyr1-2/+3
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-30jobs: gerrit: fix: don't do git plugin cleanupNeels Hofmeyr1-2/+0
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-30jobs: gerrit: fix osmo-msc: missing ARTIFACT_STORE docker mountNeels Hofmeyr1-0/+1
Change-Id: Ibeca6f1afad263fb9756ad1d6ce3e55d51ac322b
2017-10-29gerrit-verifications.yml: Don't skip the voteHarald Welte1-4/+4
Change-Id: I4eb153701baf1652394bda7505dcd3bc31e28570
2017-10-29gerrit-verifications.yml: Don't build drafts or no-code-changesHarald Welte1-1/+3
Change-Id: I19e8004a2016626e3525eca690c84800715e4fdc
2017-10-29gerrit-verifcations.yml: Make sure we add a +V=1 on successful buildsHarald Welte1-0/+3
Change-Id: I0b3bcb4661a144e231613398031c0aadf8781bb8
2017-10-29gerrit-verifications.yml: Add missing git 'name' and 'refspec'Harald Welte1-0/+2
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-29gerrit-verifications.yml: Turn gerrit URL into hyperlinkHarald Welte1-1/+2
Change-Id: Ia9855f8d8c547f32439df2eea50fb755dfeba388
2017-10-29gerrit-verifications.yml: State in job description that job is managedHarald Welte1-1/+4
to prevent accidential / unintentional manual modification Change-Id: I26b20a879fe29f153487757ac50f88acb9655338
2017-10-29gerrit-verifications.yml: Rename from *-gerrit to gerrit-*Harald Welte1-2/+2
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-29gerrit-verifications.yml: Manual sync with current jobsHarald Welte1-57/+60
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-28Add JJB YML for Osmocom_OBS_latestHarald Welte1-0/+22
Change-Id: I59a901727e35a35ba0fe73c09accb0bd1fa6b7ab
2017-10-28Add osmocom-latest-packages.sh script for network:osmocom:latestHarald Welte1-0/+62
Change-Id: I8b036e57d8a5f4e08081c9641bbef50fead0c52a
2017-10-28osmo-deps.sh: make sure to not clean all deps when inside a dep dirNeels Hofmeyr1-2/+2
Make sure osmo-deps.sh passes no $deps in to osmo-clean-workspace.sh. In most builds, $deps is a relative path, and when within a dir that contains no such subir, calling osmo-clean-workspace.sh has no effect. However, in some, $deps is passed in as absolute path, so when within a deps/... subdir in osmo-deps.sh, the script would still find the abspath and clean out all deps subdirs; for example in osmo-bts. Change-Id: I431d20aedefc708645a1f1862334cffaef20b928
2017-10-27scripts: use 'git checkout -f' instead of 'reset --hard'Neels Hofmeyr2-2/+2
'checkout -f' more accurately does what is intended. 'reset' changes the current branch to some hash, 'checkout -f' force-checkouts another branch. Change-Id: Ic6279ebaf8160bceb3fa2ab40eff0b888ecd5009
2017-10-27osmo-build-dep: offload branch checkout to osmo-deps.shNeels Hofmeyr2-9/+7
In osmo-deps.sh, add second arg $branch, and also name the first one (i.e. $project). Use the passed branch or 'origin/master' by default. In osmo-build-dep.sh, it's not necessary to do a second 'git rev-parse HEAD', osmo-deps.sh already does it. Change-Id: I598c41a12352acea6e49a321ad2f665f6ea07a44
2017-10-27add osmo-clean-workspace.sh, use in osmo-deps.shNeels Hofmeyr3-1/+48
So far, each jenkins job does its own cleanup, more or less well. Also, jenkins git config offers the 'Clean before checkout' option, which seems to fail when there are non-writable leftovers from a failed 'make distcheck'. Furthermore, our jenkins build slaves have unused compiled binaries piling up by the gigabytes: each matrix build x each parallel build and each compiled dependency therein builds .o, .a, .so and executables plus installs them to a local prefix, and just leaves them sitting around to rot until the job runs again. Instead, we want to clean them out when building is done. All of this calls for a unified cleanup script that knows how to clean a workspace properly, to run once before and once after each jenkins build. Here it is. Use that function in osmo-deps.sh instead of duplicating cleanup steps. Change-Id: I2409b2928b4d7ebbd6c005097d4ad7337307dd93
2017-10-26osmocom:nightly OBS: add osmo-bsc package / remove nitb-splitHarald Welte2-119/+2
This was the last package that we only built in osmocom:nitb-split:nightly, so we can remove the latter, too Change-Id: Ib99e0775e9db30ec3c5263bb3a364d8cab4633c3
2017-10-26osmocom:nightly OBS: Add osmo-msc + osmo-mgwHarald Welte1-0/+4
Change-Id: Ie417f912f11f3a45c6efb39595d6a4d89cf3a058
2017-10-26osmocom:nightly OBS: remove old osmo-stp/cellmgr-ng packageHarald Welte1-2/+0
this package doesn't exist in the OBS anyway, yet we continue to attempt to upload it there. Stop that :) Change-Id: I0f0726ed412e4a281dcf99047ca22b494216b4ad
2017-10-11coverity: build with --enable-trxHarald Welte1-1/+1
Change-Id: I0684bc04b82ad57a1513bbd4627144d6c254b965
2017-10-11coverity: clone + build osmo-{mgw,bsc,msc,hlr}Harald Welte2-0/+9
Related: OS#2564 Change-Id: I6f046943f045a97c2bae4e99485a474c11d90a90
2017-10-11coverity: osmo-bts now builds without openbscHarald Welte1-5/+1
Change-Id: I09565441c0d9eb907edba82b26df38d08a5d868d
2017-10-11coverity: Add support for $PARALLEL_MAKE environment variableHarald Welte1-1/+1
Change-Id: I95b0e5f104155ac7c5ae993b7f3c0c0721d0157b
2017-10-11coverity: Reduce codeduplication in build_Osmocom.shHarald Welte1-94/+18
We don't need a separate build_foo function if it is identical in its body except for the 'foo' (project name). Let's clean this up. Change-Id: I27e9fc94142b42a7b7c2f9eca89056e1f90f1f0e
2017-10-11coverity: Don't start with a new clone, but simply fetch/checkoutHarald Welte1-3/+8
If a given git clone already exists, simply do a fetch + checkout -f, rather than cloning a decade worth of history from scratch. Change-Id: Icecb2d00a75bc303d84efafee5c1f2d52ba1b6b3
2017-10-10nightly-pacakges: don't copy over gsm_data_shared.[ch] anymoreHarald Welte1-8/+0
This is no longer needed by upstream osmo-bts since Change-Id I9f004fb5c4c1db29d4792dfd281d388c7063da13 Change-Id: Ie53482a1538d1559e764da86dbbb78031c9c386b
2017-10-06osmocom:nitb-split:nightly Re-introduce osmo-sgsn + osmo-ggsnHarald Welte1-0/+4
For some strange reason, in commit 8e9fe0808072d3f5eca8b4c6fac9865a52c9beb3, the osmocom:nitb-split:nightly package feed was rendered to use old packages for sgsn+ggsn, rather than current ones by removing the "osc upload" from this script, but still leaving the packages in OBS at https://build.opensuse.org/project/show/network:osmocom:nitb-split:nightly Removing them half (only in osmo-ci but not at OBS) is a bad idea, as it leaves people with old packages who actually want to use nightly builds. Also, removing the packages in general is a very bad idea. People are *either* using osmocom:nightly, *or* they are using the osmocom:nitb-split:nightly feed, but not both. So we cannot remove any packages from the osmocom:nitb-split:nightly feed until we have introduced all those packages to osmocom:nightly *and* we have given people sufficient notice to update! Change-Id: I5c091127d92a4b4beb7355e16abd9788fa3b9fe5
2017-10-06osmocom-nightly-packages.sh: Add libasn1c required by osmo-iuhHarald Welte1-0/+2
Change-Id: Ia455655eaf53faeab6c3049a54c153cb9ddd3d37
2017-10-05Add osmo-iuh to nightly .deb buildsMax1-0/+2
It produces libosmo-ranap-dev which is required by osmo-sgsn. Change-Id: Ief40137cc94e2c54da8c12e2a00953834a578171
2017-10-04Fix OsmoSGSN nightly buildMax1-1/+1
It depends on libgtp provided by OsmoGGSN so let's build it in that order. Change-Id: Icedc259ddc3a3b83ce8fe87f5572596ef29d6814 Related: OS#2527
2017-10-02Use new GPRS repositoriesMax4-10/+6
* use coverity check on osmo-ggsn instead of openggsn * move osmo-sgsn and osmo-ggsn from nightly-split into nightly Change-Id: Ia49969cbfb9ef57b635a3b5759f411f71a54f8e1
2017-09-19Gerrit verification jobs as Jenkins Job Builder YAML [1] file.André Boddenberg4-0/+287
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-06build both openggsn (old) and osmo-ggsn (new) in nightly feedsHarald Welte1-0/+2
Change-Id: I310c6237ce5ec34e4cc008123a5219d5cadaf7a3
2017-09-06change from openggsn to osmo-ggsn in nightly nitb-split packagesHarald Welte1-2/+2
Change-Id: Ie0d6d39ad0451733f6577844737f63028d087d8e
2017-09-04Change used protocoll for 'git ls-remote' call from https to git.André Boddenberg1-1/+1
Otherwise script depends on availability of https://git.osmocom.org, which is currently down. Change-Id: Icf2a6b425177ef24aef1dba6e270d36fdc05d214
2017-09-03debian nightly: don't use pre_release branches, use masterNeels Hofmeyr1-5/+5
Related: OS#2297 Change-Id: I15e114389095af381978201c1bb3aad2a51fbaaa
2017-08-26scripts: add requirements.txt to list jenkins-job-builderAlexander Couzens1-0/+1
Change-Id: If25ce84593bbf6a393928a8f4e1670f320c48ca4
2017-08-26osmocom-nightly-nitb-split.yml: schedule the job to be run at midnightAlexander Couzens1-1/+3
Change-Id: I0d80e7d260f9092f44d4d80471a4dd67b7acc839