summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-05-04osmocom-nightly-packages: replace version string with by git-version-genAlexander Couzens1-3/+22
E.g. old version 0.10.2.20180501 (0.10.2 last deb version, 20180501 was the date) The new version will look like 0.10.2.279.178b - 0.10.2 is the last tag - .279 is 279 commits since the tag - 178b is the actual short git rev The direct output of ./git-version-gen couldn't be used because debian forbids using a minus (-) in upstream versions. Change-Id: I2da90ada90adf8ef8f8cfee3d26f86fbd3cec181
2018-05-02jobs: remove old job Osmocom_nightly_nitb_splitAlexander Couzens1-24/+0
It's not any more used, neither does the job even work, because the split file got already removed. Change-Id: I6e85d6384f2a377f1ebe0e06c9ca92a594050eec
2018-05-02jobs: osmocom-obs: add support for the nightly buildAlexander Couzens1-0/+1
Change-Id: I59929b4025210e1143e4d09bcfc59f91c81f0d20
2018-05-02jobs: osmocom-obs: introduce template var typeAlexander Couzens1-5/+7
In preparation for the nightly jobs Change-Id: I315215eb1d5ade257262d0717711c11f3787319f
2018-05-02jobs: rename osmocom-obs-latest.yml -> osmocom-obs.ymlAlexander Couzens1-0/+0
Prepare to template nightly and latest in one file Change-Id: If080cca2ab51a7aab9c85da9f07c51179134f8c6
2018-05-02jobs: Osmocom_latest_packages: change node to obsAlexander Couzens1-1/+1
obs node label have the credentials to access OBS Change-Id: Ifaaa8a9cb2ddddf399e108b2516017a8d60d1d88
2018-04-26scripts: osmocom-*-packages.sh: Build libusrpPau Espin Pedrol2-0/+3
Depends on: I5ff1d76f533b9ac68ab3f2c70ead6b66f4413b4f Change-Id: Ic742db854b8a3aba6ddc85ffb41fc6f4697c572d
2018-04-24osmocom-jenkins-slave: install graphizAlexander Couzens1-0/+1
Change-Id: Iad1f10d057475ca15bc3104b5c97fa57e29db15e
2018-04-24jobs: update-osmo-* remove old build nodesAlexander Couzens2-4/+0
Change-Id: Ia7f98e55895b150da473a38a3e68b188acd0e76a
2018-04-24jobs: update-osmo*: remove non-existent node build2-deb8buildAlexander Couzens2-2/+0
The jobs will stall when trying to handle a non-existent node Change-Id: Id9f25d8a5f6d0521e2b70884f46de5dee14d8092
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 Pedrol2-8/+8
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-16scripts/docker-cleanup.sh: set permissions to 755Alexander Couzens1-0/+0
It will otherwise not executed by the cron, because the cron is checking for the executable bit Change-Id: Ie9d67b157d62b38b62f5e74406d14344f90d07b8
2018-04-16ansible: osmocom-jenkins-slave: fix crontab for fstrimAlexander Couzens1-0/+1
Change-Id: Ib6aae8d1d986346dc7bc0fc945bab6491fff4f3f
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-11osmocom-jenkins-slave: call fstrim periodicallyAlexander Couzens3-3/+13
Change-Id: I82c497f476abf43148e8d7c027f53b87b5a738fb
2018-04-11ansible: gsm-tester-bts: add OBS osmocom:nightly to install osmocom utilitiesAlexander Couzens2-0/+39
Useful for admininistrators. Change-Id: I7b704d402c83db54401d1c06acb715cce821f2e4
2018-04-11ansible: gsm-tester: install sispmctl to control usb power socketsAlexander Couzens1-0/+4
Change-Id: Ie1af197d4b24e25196e10d2afa3ab8eea73ad729
2018-04-11ansible: gsm-tester-modems: improve nameAlexander Couzens1-3/+3
Use same scheme as of gsm-tester-bts. This should improve readability. Change-Id: I4186baaf565442c96555b723622c93b1cbd9f4f7
2018-04-11ansible: gsm-tester: move usrp tasks to gsm-tester-btsAlexander Couzens2-22/+22
Change-Id: I9caebed94c3473051b82e2cdc35f6dfb9f862084
2018-04-11ansible: gsm-tester-bts: install ip.access dependenciesAlexander Couzens2-0/+17
Change-Id: I47f578c4b9bb7b1dc81ccf93a7e82a335f6968a2
2018-04-11ansible: setup-gsm-tester: use udhcpd as dhcp serverAlexander Couzens3-0/+19
Required for ip.access Change-Id: I5ae43ebcd3c87e625110d8ff6afa0476f4b1facf
2018-04-11ansible: add role udhcpd: setup a udhcpd serverAlexander Couzens4-0/+168
Change-Id: Ia272ae9c2b245d0a06f84b91f50dd875d4488e02
2018-04-11ansible: hosts: gsm-tester: use ansible_host to have more readable ansible ↵Alexander Couzens1-4/+2
output Change-Id: Ia7b60ace8afd0e2cc47c535da1856d4f34fdd735
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-11osmocom-jenkins-slave: install gsm-manual dependenciesAlexander Couzens1-0/+3
Change-Id: I3fa60bd986220e065b1e9eca4308f2b089d505d9
2018-04-11add docker-cleanup.sh scriptHarald Welte1-0/+9
This script should be executed regularly on all build slaves that have docker in order to discard unused images/layers. It would be a good idea to call "fstrim /" afterwards in order to get more SSD performance. However, the latter requires root access, and hence cannot be called by the 'osmocom-build' user and thus jenkins. Maybe we should install it as a cron job or systemd periodic timer job? Related: OS#3144 Change-Id: I688b952578507a9cc28fe682221b5c7e3a245519
2018-04-11jobs: update-osmo-* reformat a list to be human readableAlexander Couzens2-2/+20
Change-Id: Ic64463d3974fdbf3967e67a77c75490d7ca80fb7
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-04-10ansible: docker: cleanup old docker imagesAlexander Couzens1-0/+8
Fixes: OS#3144 Change-Id: I77fe38775b3f6055691bbf654de4019916b75fd7
2018-04-09osmo-clean-workspace.sh: make more robust against broken git clonesNeels Hofmeyr1-4/+25
Change-Id: Ifa70fd75468b3e21b5c9327ea28bc7a4c8cb549d
2018-04-09osmo-clean-workspace.sh: cosmetic: no need to clean -e depsNeels Hofmeyr1-1/+2
git clean always excludes git clone subdirs; furthermore, even if I supply a dir as -e, the contents of that dir still get cleaned out. So it is useless to pass -e on the commandline. Drop it. Change-Id: I2b59cc9c9adf88a2663469b22cfeffbd66b5bf2e
2018-04-06jenkins: add job osmo-gsm-tester_gerritAlexander Couzens2-0/+64
The job verifies the gerrit patchset. Change-Id: If661675528059bc8a95d39a6489a5a9381f52677
2018-04-06jenkins: add osmo-gsm-tester_run-{prod,rnd}Alexander Couzens3-0/+146
Both jobs doing the actual test run on the prod or rnd tester. Change-Id: Ic1c4babc547f48402b0bcfaf38e2734e87e565f0
2018-04-06jenkins: add job osmo-gsm-tester_build-trigger-allAlexander Couzens1-0/+29
osmo-gsm-tester_build-trigger-all triggers a new build of all osmo-gsm-tester build jobs. Change-Id: I8dcf2a6fa2991cb73b4807f8a10d251f3dca77dd
2018-04-06jenkins: add osmo-gsm-tester-build jobsAlexander Couzens1-0/+99
The build jobs building all osmocom components which will be used by the osmo-gsm-tester. A .tgz archive will be used as artefact which is copied later by the osmo-gsm-tester test run. Change-Id: Ic49c94e9e6639e43f6ae14b868bc826af3ce2085
2018-04-05ansible jenkins-slave: only setup ttcn3_slave on debian stretchAlexander Couzens1-1/+1
Change-Id: Iaf043008890da94098986468e1fd3d9578810206
2018-04-05ansible: install eclipse-titanAlexander Couzens1-0/+17
Change-Id: I354271b7c573484b7f538a5a4bb29753a950d5f9
2018-04-05jobs/update-osmo*: add new nodes to the update jobsAlexander Couzens2-2/+2
Change-Id: Ib103b3343d582f7a78f0c4cec00c94078a078584
2018-04-05ansible: hosts: add host2-deb8build-ansible host2-deb9build-ansibleAlexander Couzens1-0/+3
Change-Id: If0a21f24483b2c1c6ea56e366c5858eee50f17e1
2018-04-05ansible: create a new group coverity-slaves to choose the target of coverityAlexander Couzens2-1/+9
Change-Id: I8b09ca50db938c5c7087a74e5d2575412a916ff6
2018-04-05ansible: hosts: use inventory with ansible_host to have more readable ↵Alexander Couzens1-8/+4
ansible output As long they don't have a dns entry, use the ansible_host variable Change-Id: I0888e9b66cd1077dcdada97fb5ee2d56def516e3
2018-04-05ansible: hosts: add build2-deb8build-ansible build2-deb9build-ansible slavesAlexander Couzens1-0/+4
Change-Id: Iede01ab10f0a9582b3a3a9a3ebbbc684b94a3c0a
2018-04-05ansible: osmocom-jenkins-slave: don't install recommend packagesAlexander Couzens1-0/+1
libuhd-dev would recommend uhd-host which seems not be installable on debian jessie in an lxc. However we should have already listed all explicit dependencies and shouldn't need anything else Change-Id: I6859b8180916a8e172d32030da06ba6fa27d5c45
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-04-02scripts: osmo-deps.sh: Allow building against tagsPau Espin Pedrol1-1/+6
In case we provide a tag, origin/$tag doesn't resolve correctly, we must use $tag. Same happens probably if we want to build against a specific commit hash. Change-Id: Ica50080c8b3e20686fe6f47a2b61718ef4a66d95
2018-04-02ansible: Add docbook5-xml to jenkins build slavesHarald Welte1-0/+1
Change-Id: Ic0a33a87a61c9cdd1ca60a023bbf2920d04fefcd Related: OS#3072
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-27ansible: jenkins-slave: setup ttcn3 repositoryAlexander Couzens3-0/+22
Change-Id: I3aa1bf52f6fcae129278dab7081ea5cfc97d0759