aboutsummaryrefslogtreecommitdiffstats
path: root/jobs/master-builds.yml
AgeCommit message (Collapse)AuthorFilesLines
2019-12-04master-builds: add osmo-{cbc,e1d,e1-recorder}Harald Welte1-0/+3
Change-Id: Idfede8e9e79019b67b9aff4881d5cea97514aeba
2019-12-04Cosmetic: gerrit/master jobs: link to wikiOliver Smith1-1/+2
Place a link to the wiki page, that now documents all available environment variables. Related: OS#4243 Change-Id: I770360b671c64369cf6cdb4fb4222921cc6af58e
2019-12-02jobs/master-builds.yml: fix osmo-fl2kOliver Smith1-11/+1
Don't use the old "osmocom:amd64" image. Remove the entire cmd line, so it uses the default docker command with the default docker image "osmocom:deb9_amd64". Also remove concurrent: true, because that default nowadays too. Related: OS#3203 Change-Id: I93db12d3652f26db059e0ede52d2b2fdd3e89d34
2019-12-01jobs/master-builds.yml: add osmo-fl2kOliver Smith1-0/+11
Related: OS#3203 Depends: https://lists.osmocom.org/pipermail/osmocom-sdr/2019-July/001951.html Change-Id: Iac411a5d5e312b8db0b5388f58571141fb2f32df
2019-12-01add '--publish' to osmo-asf4-dfu and osmo-ccid-firmware buildsHarald Welte1-1/+6
Change-Id: Ie45b9fcabc35f6fd9aff33af0f0587c8ccd88ebd
2019-10-18gerrit, master builds: default to concurrent: trueOliver Smith1-9/+4
Now that almost everything runs in docker, we don't need to worry about problems with running VTY/CTRL tests in parallel for these projects. Related: OS#3726 Change-Id: I5fdf759faf47ec7e4f9cb2657bd004585a667add
2019-10-18gerrit, master builds: build almost all in dockerOliver Smith1-24/+20
Instead of building some projects in docker, and some directly on the build slave, build almost all of them in docker with few exceptions, and make building in docker the default. This has several advantages: * build environment of master builds and gerrit verifications is the same, therefore the same build won't pass in gerrit and then fail in master * all build environments are volatile * no more conflicts while running VTY/CTRL tests * fix osmo-python-tests gerrit review versions being installed to /usr/local of build slave (see previous commit message) Projects that still do not get built in docker: * openggsn: depends on libgtpnl, but does not build it in jenkins.sh * osmo-bts: l1headers, various SDKs not installed in the docker image * osmo-trx: LimeSuite is not in the docker image (and just installing the debian package does not work) * osmo-ttcn3-hacks: TTCN-3 not installed in docker image * pysim: needs to access real sim cards attached to the host * sysmo-usim-tool: needs to access real sim cards attached to the host Related: OS#3726, OS#3598 Change-Id: If4b7d2f9ffbc7e92699732d97a8f5829a88c5b35
2019-10-15jobs/master-builds.yml: Set node for master axis jobPau Espin Pedrol1-1/+1
Otherwise the master job managing the axis can be run on any node, something which is not desirable. For instance, right now job master-osmo-ggsn is run on osmo-gsm-tester-rnd which is currently unable to fetch some git repositories. Let's avoid running master tests on unintended nodes. Change-Id: I62abb3c490588adc4c0e13c761de44d442f8cefe
2019-09-24gerrit, master builds: use stretch, not jessieOliver Smith1-1/+3
Debian jessie (8) is EOL already, so switch to stretch (9). This is required to build all Osmocom projects in docker, because at least libosmocore fails to build with the old image (tests won't build with GCC-4.9.x from jessie unless -Werror is disabled). Do not build the jessie image anymore, and update the shared dockerfile. Remove everything jessie specific, and make it work with stretch by installing asciidoc-dblatex. Otherwise we get this error when building manuals: a2x: ERROR: missing configuration file: /etc/asciidoc/dblatex/asciidoc-dblatex.xsl Add '--cap-add SYS_PTRACE' argument to the docker run command, because otherwise the address sanitizer isn't working anymore with stretch (which makes the OsmoPCU tests fail). I've tried to split this patch up into multiple ones, but since there is no asciidoc-dblatex package in jessie, we must add the dependency and switch the image at the same time. Related: OS#3726 Change-Id: I61fe93863d5367e3b9c01ab4726bb95bd16d891d
2019-09-23gerrit, master builds: add docker_{run,img} varsOliver Smith1-88/+29
Move the common "docker run" invocation and image name into one place, so it is not duplicated over and over. This prepares for changing the image and building all Osmocom projects in docker (follow up patches). Related: OS#3726 Change-Id: If529e6a93bb2227230981ee22f2c75bd0f1f4518
2019-09-19gerrit, master builds: concurrent OsmoPCU buildsOliver Smith1-2/+18
Re-enable concurrent builds for OsmoPCU, and run all builds in docker. This should prevent previous problems with VTY/CTRL test collisions, which lead to the concurrent builds being disabled in I23d5b75825a667e4f043d16a12b841cd8f01af5e. Related: OS#4204 Change-Id: I4f90a601e41dca18a6fcbab56bdf5663167d2353
2019-08-21gerrit, master builds: use ASCIIDOC_WARNINGS_CHECKOliver Smith1-9/+14
The asciidoc warnings check fails the build if asciidoc prints a warning while building the documentation. We had this enabled by default, but since OBS uses various asciidoc versions, we could get unexpected build failures (different asciidoc versions print different warnings). Now that it is disabled by default, explicitly enable it for jenkins again. Related: OS#4140 Depends: Iac993a0d1b17205397a1f1ef1a7bd3f9df739e36 (osmo-gsm-manuals) Change-Id: I8775d45b4dc1a5a46e2ba042fc7ee7d9f10f18cc
2019-07-30master-builds: Publish osmo-hnbgw documentationDaniel Willmann1-0/+1
Requires: Ic7437daeab0b07d16fd71ca3881cb31bab7b1925 (osmo-iuh) Change-Id: Ia1be4ef79a1089d7af582acb63eb3afa5a60f4f3
2019-04-17jobs: use "cmd: |", not "# keep first line ..."Oliver Smith1-16/+8
Adjust README.adoc to mention "cmd: |" instead of the workaround and replace this: cmd: > # keep first line with less indent to preserve newlines docker run ... With that: cmd: | docker run ... Change-Id: I65a06acb76e5d693aa187f9ac38970b73e7fead6
2019-03-03jenkins: Send build failures to jenkins-notifications mailing listHarald Welte1-1/+1
Change-Id: I5609a0f4b8f176ffa692db732abb4694acaaf927
2019-02-05jobs/osmo-bts: Build osmo-bts-oc2g as wellDaniel Willmann1-3/+4
Build osmo-bts with support for oc2g as well. Uses origin/nrw/oc2g as firmware. Fixes: OS#3745 Change-Id: Iaaeb44b949cf6403601f069800c381fe5eae2f6e
2019-01-13add osmo-asf4-dfu master and gerrit jobsHarald Welte1-0/+1
Change-Id: I5bc5ca30809af8d8b472a75a9e02c4964761de38
2019-01-12add maintainer email to simtrace projectKévin Redon1-0/+1
Change-Id: Id0a6740749ea1e3d1c06396485744426b0a74f79
2018-12-12master-builds: openbsc: make SSH keys availableOliver Smith1-0/+1
Mount ~/.ssh in openbsc's docker container, just like it is done with all other Osmocom projects that build in docker (see Change-Id Icfff3b6a620de79d1bab7ff6a35309f828581c09 ("master-builds: make SSH keys available in Docker")). Related: OS#3385 Change-Id: Ib31ab4033c1cc71c10a96445e8bcc3b9f02e2a1f
2018-12-12Build verification: manuals for the restOliver Smith1-1/+8
Build manuals for osmocom-bb and openbsc in gerrit-verifications.yml. Build and publish manuals for osmocom-bb, openbsc and osmo-gsm-tester in master-builds.yml. Following recommendations on the ML, building manuals for osmo-gsm-tester was not done with a new job in gerrit-verifications.yml. It will be done with the existing osmo-gsm-tester_gerrit job (which is generated by osmo-gsm-tester-runner.yml). No changes are necessary for that in osmo-ci.git, see I4ebfe12a164f807b63bc897aff44db83fc0705bd ("contrib/jenkins*: build and publish manuals") in osmo-gsm-tester.git. Related: OS#3385 Change-Id: I2845d14b656f11e3a07107b4f16e8d7a0e3c7bbf
2018-12-05gerrit-verifications/master-builds: fix errorsOliver Smith1-0/+6
Fix three errors that prevented Jenkins from accepting the new configs from Ie0643b17a6be6e86e281b50d78dd7a6858cf99ee ("gerrit-verifications/master-builds: WITH_MANUALS"): * master-builds: fourth axis needs to be in the template or else the server will throw a 500 error. gerrit-verifications already has four template axes. * gerrit-verifications/osmo-pcu: || at the end of combination_filter * gerrit-verifications/osmo-sip-connector: missing ":" Change-Id: I4ad63a3167e59b0837ffd1576fb7c7cf2958ff32
2018-12-05gerrit-verifications/master-builds: WITH_MANUALSOliver Smith1-17/+44
Add WITH_MANUALS=1 to generate (and publish in case of master-builds) PDF manuals. Jobs with multiple axes generate the manuals only in the fastest axis. Related: OS#3385 Change-Id: Ie0643b17a6be6e86e281b50d78dd7a6858cf99ee
2018-12-04master-builds: use PUBLISH=1 instead of --publishOliver Smith1-12/+16
Pass all inputs to contrib/jenkins.sh as environment variables instead of mixing with commandline arguments. We decided on this method instead of I3cc01dbc57213b6d6cdc9b394a516510d045f1ae ("use jenkins.sh --publish"), to make the contrib/jenkins.sh scripts less confusing. Related: OS#3385 Change-Id: Ifc88af086368ce8eea1ea3a375ba7d5603a5d7e5
2018-12-04master-builds/gerrit: remove redundant GTP="$GTP"Oliver Smith1-1/+1
Variables for axes are already exported as environment variables. Change 'GTP="$GTP" ./contrib/jenkins.sh' to './contrib/jenkins.sh' to avoid confusion when introducing other variables. Change-Id: I9238da3dd3c4461f82dc7c792f886177399be3dc
2018-12-03osmo-mgw: don't try to build with transcodingOliver Smith1-3/+0
Do not build osmo-mgw twice anymore (once with "--enable-mgcp-transcoding" and once with "--disable-mgcp-transcoding"). configure.ac does not know these options. Change-Id: I080cd331caec31c53a43090e6c19d23e31abdec6
2018-12-03master-builds: make SSH keys available in DockerOliver Smith1-0/+4
At runtime, mount the Jenkins host's ~/.ssh folder inside the Docker containers, from which manual PDFs will be published. To my surprise, local testing showed that ssh is looking for the keys in /home/build/.ssh, although the HOME variable inside the image is set to /build, not /home/build. Related: OS#3385 Change-Id: Icfff3b6a620de79d1bab7ff6a35309f828581c09
2018-11-29master-builds: use jenkins.sh --publishOliver Smith1-8/+13
Add --publish to the contrib/jenkins.sh calls for each Osmocom project, where PDF manuals should be published. As this parameter is only passed to jenkins.sh from the master-builds job, not from the gerrit-verification job, we can add logic to upload the generated PDFs when getting triggered because of changes in master. Related: OS#3385 Change-Id: I3cc01dbc57213b6d6cdc9b394a516510d045f1ae
2018-11-27jobs: master-builds: Disable deprecated cellmgr-ng failing to buildPau Espin Pedrol1-9/+0
cellmgr-ng is out of maintenance for a long time now (13 months) and some of its features are going to be served by osmo-stp in the future. cellmgr-ng is unable to build against recent libosmo-sccp. Change-Id: I0869ec932ba3b3a9d3d8521b25f677e011334315
2018-11-21jobs/master-builds.yml: don't publish manualsOliver Smith1-7/+1
Do not publish PDFs for all projects anymore, as we are moving the manuals to each project's git repository. They will be published from there instead (see INSTALL.txt in osmo-gsm-manuals.git). No automatism for building and publishing the documentation of all projects will be implemented right now, as discussed here: https://osmocom.org/issues/3385#note-7 Related: OS#3385 Change-Id: I705e20a4f94b308c250580aa1289ee9b2967beef
2018-10-15Add osmo-remsim to gerrit + master build verificationHarald Welte1-1/+1
... which introduces a requirement for libcsv-dev in ansible. Change-Id: I2ac65947ce9ecc071f774dc4df0f08c99c16c632
2018-08-14jobs/master-builds: introduce variable git_base_url to allow other domains ↵Alexander Couzens1-2/+3
than git.osmocom.org Change-Id: Ia37b5f761c47411ac7eab092f3437acecc492f22
2018-08-14jobs/master-builds: add repo sysmo-usim-toolAlexander Couzens1-0/+5
Change-Id: I0e4fec571c3c373000c755cfdb5e56dc09d17413
2018-07-10jobs: master-builds: simtrace2: pass '--publish'Neels Hofmeyr1-1/+6
Kevin would like to upload simtrace firmware to ftp.osmocom.org from master builds. To facilitate, add '--publish' arg, like in master-osmo-gsm-manuals (to distinguish and not upload from gerrit verification jobs). Change-Id: I93435aa6f39e9a072754011ae7696b10315f6092
2018-07-03jobs: add master+gerrit verification job for gapkHarald Welte1-0/+1
Change-Id: Iedf3b43c164ae7e3e653820284c4d4ddaa545784
2018-07-03Restrict where the parent build runs for osmo-gsm-manualsDaniel Willmann1-0/+3
This seems to resolve the issue where the jenkins job fails due to missing ssh credentials. Other jobs can also use this by setting the node property Change-Id: I23cf2c98f02278a5deb9c4ae8d13438b76538287 Ticket: OS#3338
2018-06-29Add simtrace2 gerrit + master jobsHarald Welte1-0/+1
Change-Id: Ib4da0011337d5a591944821411479f1c6bcc64ee
2018-06-10gerrit/gerrit: Add osmo-sysmon build verificationHarald Welte1-0/+1
Change-Id: I41411123836d2713f833f78c5920cbbee695ed14
2018-06-03master-builds.yml: More fine-grained e-mail notificationsHarald Welte1-5/+13
Some projects should alert certain inidividuals/maintainers Change-Id: I8aca77d557b2471aa23aa3418d72e7a62734524d
2018-04-19master-builds: Add rtl-sdrHarald Welte1-0/+1
As rtl-sdr is gaining a ./contrib/jenkins.sh script, we can now also use it just like our other projects, with a template-generated "master-rtl-sdr" jenkins job, which can replace the old manually-created "rtl-sdr" jenkins job. Change-Id: Ia59f12f31d332bda09242fff1d3e215e8cadc915
2018-04-17jobs: bts&pcu: lc15: fetch branch litecell15 instead of litecell15-nextPau Espin Pedrol1-4/+4
Branch nrw/litecell15-next doesn't exist anymore in the remote of that repository (https://gitlab.com/nrw_litecell15/litecell15-fw). Change-Id: I162e81573d7aafc0b2e2e1d2ab90cacc7cbb90d7
2018-04-11jobs: master-builds.yml: allow osmo-gsm-manuals to build anywhereAlexander Couzens1-1/+7
When https://gerrit.osmocom.org/#/c/7725/ has been merged, there is no need to limit this build to OsmocomApi. Change-Id: Ic5fe39b643e7a15dbfd2efd55dce78dde30cf099
2018-04-04jobs/master: optimize trigger chainNeels Hofmeyr1-12/+75
Avoid as many multiple triggers as still ensure all dependent projects are rebuilt correctly. Keep the full trigger list as comment, and illustrate in a comment at libosmocore how the chain is intended to work. Change-Id: Iea2cf25b3872045778f11a985a1c417f37067cd9
2018-03-29jobs/master-builds: move all builds to debian 9 slaveNeels Hofmeyr1-4/+2
Change-Id: I6f025c642d5ae57cdda9d7b34bbaeb82ca119354
2018-03-29jobs/master-builds: drop useless 'node' fieldNeels Hofmeyr1-2/+0
The slaves to build on are determined by the slave_axis, the node parameter has no useful effect. Change-Id: I029de2a46f22a1b1dc977bce71137eb78b826157
2018-03-17jobs: osmo-trx: Disable temporarily ARM buildsPau Espin Pedrol1-1/+3
proot crashes with current jenkins node setup, which means we cannot use it to run ARM based axis. proot bug is already reported upstream in: https://github.com/proot-me/PRoot/issues/134 Related: OS#3061 Change-Id: I9bc48349c78f395b3842bc5caaf6e948fb4c299e
2018-03-17Add laforge@gnumonks.org to all build failure notificationsHarald Welte1-1/+1
Change-Id: I989075eb0cd930d42daa36d9d8501592141c0310
2018-02-25jenkins: master-builds: replace the label linux_amd64_debian8/9 -> ↵Alexander Couzens1-4/+4
osmocom-master-debian8/9 Introduce more precise labels to allow more flexibility when extending the jenkins setup. The linux_amd64_debian8 or linux_amd64_debian9 is used across all build jobs which make it hard to add new nodes which might only support one group of jobs. Change-Id: I0fa3d3f81ab01e2488fe07601740f42eb54b6d9c
2018-02-09master-builds: Add missing dependencies / triggersHarald Welte1-9/+21
There were a lot of downstream triggers that we were missing. I manually reviewed the debian/control files and used that to update the trigger lists for all jobs in master-builds.yml. Change-Id: I12057c9bb389041ef3bcabd1c335a0fa8c358092
2018-01-22jenkins: fix jobs templateMax1-0/+2
The sequential parameter was silently skipped because it was absent from the project template. Fix this for both master- and gerrit- jobs. Change-Id: I0bc28695f4f270bc7b1cc4bcd5d4d43ede6172f3
2018-01-21libosmocore: use dispatcher scriptMax1-7/+1
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