aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-12-07osmocom-nightly/latest: check if osc is installedAlexander Couzens2-0/+10
Change-Id: I10ce91eab415c19bb811fbb2fd617d5ce2b58d41
2017-12-06osmocom-nightly/latest: document which debian packages are requiredAlexander Couzens2-0/+6
Change-Id: If127d0e852ea8e321461d6aa709621167a0a8ecb
2017-12-02jobs: master-builds: libosmo-sigtran should trigger bsc and iuhNeels Hofmeyr1-0/+2
osmo-iuh in turn triggers osmo-msc and osmo-sgsn, no explicit triggers needed here. Change-Id: Ifd950660cdc3417e82b0a8f4ce2b1efde880cb7a
2017-12-02jobs: master-branches: trigger sgsn from iuhNeels Hofmeyr1-0/+1
osmo-sgsn uses libosmo-ranap and hence should be triggered from osmo-iuh. This naturally "includes" a trigger for libosmo-sigtran. Change-Id: Ia356dc2a8d5120f9d6262bf8eb25c32fe71e76c9
2017-12-02jobs: master-builds: osmo-bsc is now also a downstream of osmo-mgwNeels Hofmeyr1-0/+1
Change-Id: I03c63108bd845ee723d565c3dddd4e930bb68bef
2017-12-02jobs: master-builds: apply various initial fixesNeels Hofmeyr1-14/+11
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-02jobs: rename normal-builds.yml to master-builds.ymlNeels Hofmeyr1-3/+3
Also apply the rename in the job names Change-Id: If623e573e49d4f1a409139c112afbc34e4cc450e
2017-12-02Describe our normal (non-gerrit) build jobs in jenkins-job-builderHarald Welte1-0/+333
after the recent successful conversion from manual job definitions to jenkins-job-buildre of the gerrit jobs, this is an attempt to convert also the non-gerrit jobs for the common osmocom projects. WARNING: this file has not been tested yet, it's a WIP. Change-Id: Ib04707393264a845876659d7bee0cdc9f8b897b6
2017-11-29docker for jenkins: update on changes in osmo-python-testsNeels Hofmeyr1-0/+1
Download (ADD) the latest patch from git.osmocom.org so that the image gets rebuilt when new changes were merged to master. Change-Id: I215f5f6504018d589fa44776a332757a7b870d53
2017-11-29jenkins docker: move smalltalk to separate DockerfileNeels Hofmeyr2-16/+16
To reduce docker image rebuild time, move the Smalltalk related commands to a separate file, which is currently not built by rebuild_osmocom_jenkins_image.sh since there are no jenkins builds using that yet. Change-Id: I1142f068100ef07ce7f177adaa8a0fe2fedb1b7b
2017-11-28jobs: describe how to install jenkins-jobs on deb 9Neels Hofmeyr1-0/+20
Change-Id: Id3a0684e567ae26ca8158fda56898eb683374d09
2017-11-28contrib/jenkins.sh: rather git checkout -f instead of pullNeels Hofmeyr1-1/+1
Change-Id: Idc672879dcb3d38978e27b90c173f0aa950c4eb1
2017-11-28jenkins docker: drop hardcoded osmo-deps.shNeels Hofmeyr1-13/+0
The jenkins invocation of the docker image commonly includes the osmo-ci scripts via binding ~/bin to an up-to-date checkout. We don't need another version of osmo-deps.sh in /usr/local/bin. Change-Id: I5ce9ab992afa3c5a7a0bb13b55cae016bc8e805f
2017-11-28jenkins docker: also install py3 scripts of osmo-python-testsNeels Hofmeyr1-1/+1
Allow using the osmo_verify_transcript_{ctrl,vty}.py scripts from the docker image. Change-Id: I27d02d516c1cccd5a2447ee8d76ae476d0951d56
2017-11-28jobs: update-osmo-ci-on-slaves: remove build2-deb8buildNeels Hofmeyr1-1/+1
The node is offline and has been for a long time. The last osmo-ci-on-slaves job ran for a week waiting for it to come back online. Change-Id: I5a315d1ce3d7d5763ba07bf29f9cdd5d6f7c6491
2017-11-28jobs: add update-osmo-ci-on-slaves.ymlNeels Hofmeyr1-0/+23
Change-Id: Ia933288f87f53f832732f650ba4be30d58faea7f
2017-11-28contrib/jenkins.sh: update from current jenkins job update-osmo-ci-on-slavesNeels Hofmeyr1-4/+8
We're not calling this script on the update-osmo-ci-on-slaves job yet. To move over to calling this script, apply some edits we made on the jenkins UI in the meantime. Change-Id: I54d3f56a89934c1c7b0e445b5c447c91bf94d579
2017-11-21osmocom-latest-packages: only publish source tar balls if a new tag was createdAlexander Couzens1-9/+27
OBS should only be updated if there is a new tag. Change-Id: Ife10c9819e5971b001c5be9d313781eb3fd19e23
2017-11-21osmocom-latest-packages: fix shellcheck warningsAlexander Couzens1-13/+13
Change-Id: I1733658ce9b3de595b6087a58da0cb8c8bcf928f
2017-11-21osmocom-latest-packages: introduce $TOP dir variableAlexander Couzens1-6/+8
Using a $TOP variable makes directory paths more clear to understandable. Path now expressed starting from the TOP dir instead of using ../../../foo Change-Id: I7a87532a3232fbcfb5f676588991dbc59a34f739
2017-11-21osmocom-latest-packages: set -e: exit on any failureAlexander Couzens1-1/+1
Change-Id: I8dbf32a731d01b6eba933b8af22500c5edd1502d
2017-11-14osmo-ggsn + openggsn: Build with and without kernel GTP supportHarald Welte1-2/+9
Change-Id: I974ba11fd8ef1ed87ec87fb64b8da44d5a8fec9f
2017-11-12jenkins: Add gerrit verification job for libgtpnlHarald Welte1-0/+1
Change-Id: I9dfe4a619f75574cc0a61ab978f4450252b6c171
2017-11-10jenkins: Follow the convention and create a jenkins.sh as wellHolger Hans Peter Freyther1-0/+12
Instead of modifying the job on Jenkins, let's do it like in our other projects. Create the diretcory if it doesn't exist and use git pull origin for the Debian9 system. Change-Id: I0ecdc02e3271fe09980f370167277370c599fcfa
2017-11-07osmo-deps.sh: Force fetching git tagsPau Espin Pedrol1-0/+1
It was recently spotted, in a osmo-msc jenkins build, that an updated dependency (new commits to be fetched) contained a new tag which was not fetched with the commit. It resulted in the Makefile generating an old .version file, which ended up generating a library version in the .pc which later in the build make the configure script fail while checking at the dependencies. As far as I could understand after reading several discussion threads, it seems git fetch doesn't necessarily fetch and store locally all new tags found in the remote, and we need to explicitly add the --tags parameter to be sure all of them are downloaded. This patch adds a new fetch line instead of patching the one already present because it seems in old versions of git the --tags parameter had a different behaviour, in which only tags and not branches are fetched. This way is ensured that we get both correct regardless of git version. Change-Id: I4bfe4846959c70e435d6792a755a6f2a6f0a932c
2017-11-05coverity: Don't use PARALLEL_MAKE for libsmpp34Harald Welte1-1/+10
... which apparently doesn't support this and every so often breaks the coverity upload build Change-Id: Id78f80cf0878a0807cd06a24fa5c9561c7b84b36
2017-11-03gerrit jenkins jobs: Remove comment-added-eventHarald Welte1-3/+0
This trigger is responsible for triggering another build once the first build is complete and sets a +V Change-Id: I235e0211a01da0eb74d8e6a9581aa34b59073ca0
2017-11-01jobs: gerrit: fix openbsc: name must case-sensitively match git reposNeels Hofmeyr1-1/+1
Change-Id: I699c4f5f04a416b92be395c303d6bf0edbf320e4
2017-11-01jobs: gerrit: fix osmo-hlr slave label typoNeels Hofmeyr1-1/+1
Change-Id: I78a4b600571e79174dbbdd24bbee23df4b2fd221
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