aboutsummaryrefslogtreecommitdiffstats
path: root/jobs/gerrit-verifications.yml
AgeCommit message (Collapse)AuthorFilesLines
2020-01-17gerrit-verifications: fix erlang/osmo_ss7 nameOliver Smith1-5/+5
Fixes: aadc60f4037dcf9529a30d362648b0f0849825c2 ("jobs/gerrit-verifications.yml: add erlang repos") Related: OS#4345 Change-Id: Id78f7e62e12c7595329ef8a265e522f27a087604
2020-01-17gerrit-verification: fix erlang cmdOliver Smith1-4/+3
Jenkins job builder only does one pass of variable substitution. Replace the cmd_erlang variable with its contents, so the jobs don't fail with: [osmocom-gerrit-debian9] $ /bin/sh -xe /tmp/jenkins7189809471369692535.sh + {docker_run} {docker_img_erlang} /build/contrib/jenkins.sh /tmp/jenkins7189809471369692535.sh: 2: /tmp/jenkins7189809471369692535.sh: {docker_run}: not found Fixes: aadc60f4037dcf9529a30d362648b0f0849825c2 ("jobs/gerrit-verifications.yml: add erlang repos") Related: OS#4345 Change-Id: I6e121c79ecf872a7058de3a6dc0a940fa8091f68
2020-01-15jobs/gerrit-verifications.yml: add erlang reposOliver Smith1-0/+18
Run contrib/jenkins.sh in erlang repositories, that were recently updated (osmo_gsup, osmo_dia2gsup, osmo_ss7). Depends: docker-playground Ia3eaec6090c9652549b2850de74ee21730374bbd Related: OS#4345 Change-Id: I05d152de6b7a04dee935d79b9987c511351eca95
2020-01-15docker: move to docker-playground.gitOliver Smith1-1/+1
Instead of building "osmocom:deb9_amd64" from this repository, build "$USER/debian-stretch-jenkins" from docker-playground.git (same Dockerfile). Adjust all jobs to use the new image name. Add a new "update-osmo-ci-on-slaves-dp" jenkins job, which triggers the existing "update-osmo-ci-on-slaves" job whenever docker-playground.git changes. Replace docker/rebuild_osmocom_jenkins_image.sh with scripts/osmo-ci-docker-rebuild.sh, so we can get rid of the docker dir. I thought about dropping the script completely, and directly writing the two lines into contrib/jenkins.sh. But I kept the extra script for convenience, when testing locally. Related: OS#4345 Depends: docker-playground I125ae8a6bcabbd1f485028c79b0abacda0622c3a Change-Id: I30a61aebcadef5536e74edd35e1c75ef77a2da9f
2020-01-14gerrit-verifications: introduce "gerrit_url" varOliver Smith1-2/+3
Prepare for erlang repositories, which will use this variable. Related: OS#4345 Change-Id: Ia91764797745b48ae832cfbc16976e561b288a50
2019-12-04add gerrit-verifications for osmo-e1-recorder and osmo-cbcHarald Welte1-0/+2
Change-Id: I1df28b4e7a7cbcf9151cd57a77001d88f1875415
2019-12-04Cosmetic: gerrit/master jobs: link to wikiOliver Smith1-0/+2
Place a link to the wiki page, that now documents all available environment variables. Related: OS#4243 Change-Id: I770360b671c64369cf6cdb4fb4222921cc6af58e
2019-10-18gerrit, master builds: default to concurrent: trueOliver Smith1-15/+8
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-18/+14
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-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-85/+28
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-1/+15
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-23gerrit-verifications: fix osmo-bts cmdOliver Smith1-1/+1
Fixes: 932b0037506130692bc8a1aa1edd95d5f54efd11 ("gerrit, master builds: use ASCIIDOC_WARNINGS_CHECK") Change-Id: Ia17d6a14ede93bae715fb67826b074ab91f87749
2019-08-21gerrit, master builds: use ASCIIDOC_WARNINGS_CHECKOliver Smith1-7/+12
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-1/+2
Requires: Ic7437daeab0b07d16fd71ca3881cb31bab7b1925 (osmo-iuh) Change-Id: Ia1be4ef79a1089d7af582acb63eb3afa5a60f4f3
2019-07-11gerrit-verifications: add libtelnetOliver Smith1-0/+1
Related: OS#3047 Change-Id: Iafffd9d938ee310bb729b3e2a0a4d80870d4b3b5
2019-05-11Add osmo-e1d to gerrit-verifications.ymlHarald Welte1-0/+1
Change-Id: I78cfd6052aebbe8cfa215928906f18f8afe3c06a
2019-04-17jobs: use "cmd: |", not "# keep first line ..."Oliver Smith1-14/+7
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-27Avoid '/' in jenkins matrix labelsDaniel Willmann1-2/+2
The script already deals with this for osmo-bts by using the version_prefix variable Change-Id: I3102fc607718ca42634273e24e6ff303dc28483f
2019-03-27Also build oc2g support for osmo-pcuDaniel Willmann1-2/+3
Needs gerrit change I7cd89a549c9463e81893ca7dd925299f728e4453 in osmo-pcu Fixes: SYS#4524 Change-Id: Iebddf8d41538fe1e69435cda7f77bd49c4c14477
2019-02-04gerrit-verifications: Add osmo-ccid-firmwareHarald Welte1-0/+1
The repository currently doesn't yet have a contrib/jenkins.sh script, so all verifications will fail. This is intentional, as it will force the addition of a related script in the first merged commit. Change-Id: I713d345240dec319ee07d99e9381fc1af6a2d86d
2019-01-13add osmo-asf4-dfu master and gerrit jobsHarald Welte1-0/+1
Change-Id: I5bc5ca30809af8d8b472a75a9e02c4964761de38
2018-12-12Build verification: manuals for the restOliver Smith1-1/+3
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-2/+2
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-18/+48
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/gerrit: remove redundant GTP="$GTP"Oliver Smith1-2/+2
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-11-30cosmetic: gerrit-verifications: format docker cmdOliver Smith1-22/+61
Format the docker command lines just like they are formatted in master-builds.yml. Most notably, this puts every environment variable on its own line. This makes it much easier to compare both files side by side. Change-Id: I0adcb028be24c2e05189c15b85811777d6287387
2018-10-27gerrot-osmo-bts: Don't use unsupported '/' in labels of axis/matrix jobsHarald Welte1-4/+4
It seems jenkins cannot deal with this, so we cannot specify something like 'origin/nrw/oc2g-next' in a label. Let's work around by using only oc2g-next here and expanding that to 'origin/nrw/oc2g-next' only in the osmo-l1yer1-headers.sh script of osmo-ci.git Change-Id: I9130a2f349f06a0b46b50665cef7188ddb08f666
2018-10-27gerrit-verifications.yml: Add OC2G build matrix to gerrit-osmo-btsHarald Welte1-3/+5
The gerrit-osmo-bts job is used for build verification of osmo-bts patches. This adds (untested) support for OC2G Change-Id: I62a9a5ec357b7246b2d7915681c646c79eda4b76
2018-10-15Add osmo-remsim to gerrit + master build verificationHarald Welte1-0/+1
... which introduces a requirement for libcsv-dev in ansible. Change-Id: I2ac65947ce9ecc071f774dc4df0f08c99c16c632
2018-07-25jobs: add gerrit verification for pysimAlexander Couzens1-0/+3
pysim will be tested on the simtester which has real hardware. Change-Id: I180cc4a83a41f3ef2e4b1e316ea0371cc83be654
2018-07-05jobs: gerrit: use debian-9Neels Hofmeyr1-4/+2
This is the same as done for the master builds in I6f025c642d5ae57cdda9d7b34bbaeb82ca119354, seems I forgot to follow up with this one. Change-Id: I9204ca2f083c8a6a04c6c0fc7d51752a4f1a4830
2018-07-03jobs: add master+gerrit verification job for gapkHarald Welte1-0/+1
Change-Id: Iedf3b43c164ae7e3e653820284c4d4ddaa545784
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-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-14jobs: gerrit-osmo-ttcn3-hacks: Make deps before cleaningPau Espin Pedrol1-1/+2
make clean has subdir/Makefile as dependency. As a result, subdir/gen_links.sh and subdir/makefile-regen.sh are called, and ttcn3_makefilegen in there fails because the dep symlinks are done against missing files (because git repos in deps have not been checked out). Additionally, since 61c11e9234b3f9e087aba94380892ab66abc1191 make deps-update is equivalent to make deps since the dependency tracking system was improved, so we can remove it as it's not needed anymore. Change-Id: I07fee78bba5b07c7f3f4359869e00ef2583e0769
2018-04-10jobs: gerrit-osmo-ttcn3-hacks: execute the job on a ttcn3 nodeAlexander Couzens1-1/+1
Only ttcn3 nodes have the eclipse-titan compiler installed Change-Id: If946af8fa3f7bd2d13914c9895d3f74b58fdef24
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-02-25jenkins: gerrit-builds: replace the label linux_amd64_debian8/9 -> ↵Alexander Couzens1-4/+4
osmocom-gerrit-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: I900b7b50b33cc95e127ca78d2a47f59d32a6dfee
2018-02-15ttcn3 gerrit verification: Use 'make deps-update' targetHarald Welte1-1/+1
In osmo-ttcn3-hacks Idc165425b45872d2eb958a662d03e69aaf60669d we introduced the new 'deps-update' Makefile target to properly update all 'deps' repositories without removing them. Let's use it. Change-Id: Iabc54182d1d30ef26e4f72fb9db52fd25a6c9800
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
2018-01-21jobs: Add {master,gerrit}-libusrpHarald Welte1-0/+1
Change-Id: I2b208455b7bd008fb25322280894c100e51f2227
2018-01-19gerrit-verifications.yml: osmo-sgsn: Remove duplicated concurrent attributePau Espin Pedrol1-1/+0
Change-Id: I808c46c2f4488fd577bb1c23cd13c5b73519265b
2018-01-17Don't run OsmoPCU tests in parallelMax1-0/+1
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-15jobs: osmo-trx: Set slave_axis to use only debian9Pau Espin Pedrol1-1/+1
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-15gerrit-verifications.yml: Build osmo-trx with different optimization ↵Pau Espin Pedrol1-0/+3
instruction sets enabled Change-Id: I1d73165a397d98d8fb630f7adec45f00887c139a
2018-01-12Fix missing OsmoPCU gerrit verificationMax1-6/+6
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