Commit Graph

1066 Commits

Author SHA1 Message Date
Harald Welte 98cc650b48 ansible: Add various additional packages to osmocom-workstation
Change-Id: I9d22cd6e4d3a3c8c685362bb62cd2a6ef467c461
2018-06-13 11:12:18 +00:00
Harald Welte 1600f979e7 osmocom-workstatin: change default user to osmocom
Change-Id: I35da5f2276730c7f81d5a1c2e6878ea3e23bca3b
2018-06-13 11:12:18 +00:00
Harald Welte 3547a81e37 ansible: osmocom-workstation: Add user to 'docker' group
Change-Id: I43169dfb39525ffe16a3ed1cbf5360b47f9f8a00
2018-06-13 11:12:18 +00:00
Harald Welte 18b8307d8f ansible: osmocom-workstation: clone ttcn-3 deps
Change-Id: Ib0169c858c3c0610e49d01f1dafee5c725ddc7df
2018-06-13 11:12:18 +00:00
Harald Welte 03dcb21b4a ansible: Use SDK/toolchain for 2.3.4, not 2.3.2
Change-Id: Ia39284acce65c5779b71154662f3f55349a86960
2018-06-13 11:12:18 +00:00
Alexander Couzens feda39b8e7 ansible: gsm-tester: change production gsm_modems to 3
In the production setup, there are only 3 valid modems.
Moving the variable into the host_vars so they can have
different amount of modem between rnd & prod.

Change-Id: Ic51a14a339bb9be50504a27a724f6f428ee7304f
2018-06-12 16:17:27 +00:00
Alexander Couzens ecb756f37c anisble: gsm-tester: uhubctl: add "-n 1d50:4002"
uhubctl -p 123456 -a 1 is rejecting because uhubctl detects two hubs.
Selecting only one hub.

Fixes the error message:
    Error: changing port state for multiple hubs at once is not supported.
    Use -l to limit operation to one hub!

Change-Id: I2e3c248e4eaef39f18ff38d1055db6d552fc4d20
2018-06-12 16:17:06 +00:00
Alexander Couzens b3ce1d1f2d ansible: fix deprecation of "include:"
"include:" has been deprecated in favour of "include_tasks:".

Change-Id: I6e1bb11e9392f7da9ed554c37f9625daa0950308
2018-06-12 16:16:30 +00:00
Alexander Couzens e5182e1f69 ansible: fix deprecation of filter "| changed"
"| changed" filter will be removed in ansible 2.9

Change-Id: Idf11d54d60b78733ed212f04940cee15b3a55400
2018-06-12 16:16:28 +00:00
Harald Welte 6cce4c2d20 add "osmocom-workstation" role
this role can be used to provision developer workstations, which
includes a git clone of all osmocom git repositories as well as
development tools like valgrind, gdb, ccache, wireshark, ...

Change-Id: I1a943079470db97f41c9c38318feb0716daa7cd5
2018-06-10 15:27:08 +02:00
Harald Welte 227b9ec40d gerrit/gerrit: Add osmo-sysmon build verification
Change-Id: I41411123836d2713f833f78c5920cbbee695ed14
2018-06-10 15:27:08 +02:00
Alexander Couzens 5707b730f8 ansible: gsm-tester: fix apt_repository tasks
Mistyped filename and apt_repostory

Change-Id: Icc97d9d2355f8922853d6b21cb8a95f532347031
2018-06-07 14:57:43 +02:00
Alexander Couzens 9c8b13d2ad ansible: gsm-tester-bts: remove role prefix in names
The role is prefixed anyway by newer ansible's. No need
to manual add it

Change-Id: I4ef16b2e9ab594dd0f76baf43979e73b51282c14
2018-06-07 14:57:43 +02:00
Alexander Couzens da0788f89c ansible: setup-gsm-tester.yml: use role gsm-tester-bts
Change-Id: I7cf033605ad1da6c3ea887b5ba72507bcd6991c7
2018-06-07 14:57:43 +02:00
Alexander Couzens 22672f06d7 ansible: gsm-tester: add udev rule to allow jenkins to access sispm devices
Change-Id: Idd0426a8130046e7aacc02421440eb403bd88888
2018-06-07 14:57:43 +02:00
Alexander Couzens 1620014708 ansible: gsm-tester-network: start all network interfaces after adding new ones
Change-Id: I197dadb68cffeba4c451d2fbfe40075039a67cb8
2018-06-07 12:48:28 +00:00
Alexander Couzens b25b15d8bd ansible: gsm-tester: add missing python dependencies
Change-Id: I0871df95a968f8f9e9318882c5397a16cba1814a
2018-06-07 12:48:17 +00:00
Alexander Couzens 7c7b83c93e ansible: gsm-tester: only check once the apt freshness
Change-Id: I40462fed216b1c0844a41172001dd2aaf8a8d04c
2018-06-07 12:47:55 +00:00
Alexander Couzens 088d2d6bb7 ansible: udhcpd: add systemd service file
The udhcpd /etc/init.d/ script is racy and fails often.

Change-Id: Ie373119a902a001f093599e289cadb8b2d290668
Fixes: OS#3311
2018-06-07 12:47:44 +00:00
Alexander Couzens 4be1378a89 ansible: osmocom-jenkins-slave: install autoconf-archive
Required at least by osmo-sysmon.

Change-Id: I5c6536bfb68ffdda7ec7bf71f5d0efeb1cb77e61
2018-06-05 19:23:27 +02:00
Alexander Couzens 246fd550f0 README.md: mark the version bold
Some parts will fail if used with earlier version.

Change-Id: Iab002a51afc2cc60875696eff0cd538ff9a49eca
2018-06-05 11:55:39 +02:00
Harald Welte 9f7affb20e Revert "osmocom-latest-packages: Also accept "v" in front of version tags"
This reverts commit 5b2bb86e8a.

While it was intended to enable automatic "latest" builds from rtl-sdr,
it breaks builds e.g. of libosmo-abis, where we have both (new) tags
without  'v' and old tags with 'v', and now the older 'v' tags win
due to lexicographical sorting :(

Change-Id: I1c8d2ab18e389a8c2c41082d997f101d72c3acc0
2018-06-04 14:09:21 +02:00
Harald Welte c4f4290f3a osmocom-latest-packages: diable rtl-sdr and osmo-fl2k again
we cannot yet build "latest" for them, as they don't have any tagged
versions yet which include the /debian directory.

Change-Id: Ia5708508d918fd71eb05393e39b93859b943d623
2018-06-03 20:08:30 +02:00
Harald Welte 5b2bb86e8a osmocom-latest-packages: Also accept "v" in front of version tags
Some projects (notably rtl-sdr) use "v" in front of their version
tags in the git history.  Let's make sure we also recognize those.

Change-Id: I20f9896cc7844a6ddec7ba63bc9a77f548082e2a
2018-06-03 20:05:39 +02:00
Harald Welte 534bb718b6 osmocom latest+nightly packages: Add osmo-fl2k
Now that osmo-fl2k has debian packaging information included, we can
easily build it as part of the "latest" and "nightly" feeds.

Change-Id: Ie2429df14ad51aadb55b4a7d8f6cfcb45c5c6e70
2018-06-03 16:27:10 +02:00
Harald Welte f2fb8a9e2c osmocom latest+nightly packages: Add rtl-sdr
Now that rtl-sdr has debian packaging information included, we can
easily build it as part of the "latest" and "nightly" feeds.

Change-Id: Idc6afb523e71ed977401d707895844bad6247f8b
2018-06-03 15:37:06 +02:00
Harald Welte a6a42a06c9 master-builds.yml: More fine-grained e-mail notifications
Some projects should alert certain inidividuals/maintainers

Change-Id: I8aca77d557b2471aa23aa3418d72e7a62734524d
2018-06-03 13:53:31 +02:00
Harald Welte 9f2f265e3b add script to create virtual machine with kernel gtp ggsn for qemu-kvm
Change-Id: Id9f1aee5d4158024517bc8e3884929b9efd1343e
2018-06-03 13:29:05 +02:00
Pau Espin cd23e09f36 ansible: Document docker login step
This step requires manual interaction since a password will be asked.

Change-Id: I193c721490c115a17c2f6753b3b139d7dc33aa39
2018-05-25 12:16:09 +02:00
Alexander Couzens acfaecc008 ansible: add a simple README.md
Change-Id: I96057bb92faa8e3375c5bad20ef1536475807b67
2018-05-24 16:35:33 +02:00
Alexander Couzens 8508b81403 ansible: gsm-tester: add jenkins to the dialout group
To access tty*

Change-Id: Icc7b3fa9ca7c14360d78069d8d42e6039afda32b
2018-05-24 16:29:29 +02:00
Alexander Couzens c5dd87a811 ansible/setup-gsm-tester: add docker
Change-Id: Idfd96c4e3556b93ca85acb94a2176ec269a906d1
2018-05-24 16:23:23 +02:00
Pau Espin 2f1d4deb71 jobs: osmo-gsm-tester-runner: Add ttcn3 job
Change-Id: I8ca1c9a3a18138a27232efba7d65d6806e044a6b
2018-05-18 13:42:01 +02:00
Pau Espin de4816f77a jobs: osmo-gsm-tester-builder: Add new job to build osmocom-bb
Change-Id: I4b390e34719503a5d0a50e6392b1ceeb3a9cb730
2018-05-17 18:16:37 +02:00
Pau Espin a4a89c79fe osmo-gsm-tester-builder: notify unstable builds
Change-Id: I5a1d7b5e1af5b4fbd12effa870542df2d6be7647
2018-05-07 01:03:31 +02:00
Alexander Couzens f82c367858 osmocom-nightly-packages: replace version string with by git-version-gen
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-04 00:31:07 +00:00
Alexander Couzens 6da3fe8e8b jobs: remove old job Osmocom_nightly_nitb_split
It's not any more used, neither does the job even work, because
the split file got already removed.

Change-Id: I6e85d6384f2a377f1ebe0e06c9ca92a594050eec
2018-05-02 16:56:38 +02:00
Alexander Couzens 6ea2ec3a76 jobs: osmocom-obs: add support for the nightly build
Change-Id: I59929b4025210e1143e4d09bcfc59f91c81f0d20
2018-05-02 16:56:09 +02:00
Alexander Couzens 0fd4e7d429 jobs: osmocom-obs: introduce template var type
In preparation for the nightly jobs

Change-Id: I315215eb1d5ade257262d0717711c11f3787319f
2018-05-02 16:56:09 +02:00
Alexander Couzens efbe93e789 jobs: rename osmocom-obs-latest.yml -> osmocom-obs.yml
Prepare to template nightly and latest in one file

Change-Id: If080cca2ab51a7aab9c85da9f07c51179134f8c6
2018-05-02 16:50:49 +02:00
Alexander Couzens 212b01a468 jobs: Osmocom_latest_packages: change node to obs
obs node label have the credentials to access OBS

Change-Id: Ifaaa8a9cb2ddddf399e108b2516017a8d60d1d88
2018-05-02 16:47:44 +02:00
Pau Espin bf8ee94485 scripts: osmocom-*-packages.sh: Build libusrp
Depends on: I5ff1d76f533b9ac68ab3f2c70ead6b66f4413b4f

Change-Id: Ic742db854b8a3aba6ddc85ffb41fc6f4697c572d
2018-04-26 19:49:43 +02:00
Alexander Couzens 68c3ca0203 osmocom-jenkins-slave: install graphiz
Change-Id: Iad1f10d057475ca15bc3104b5c97fa57e29db15e
2018-04-24 11:26:24 +02:00
Alexander Couzens 9e0367a2e8 jobs: update-osmo-* remove old build nodes
Change-Id: Ia7f98e55895b150da473a38a3e68b188acd0e76a
2018-04-24 11:26:24 +02:00
Alexander Couzens 5c5cca5266 jobs: update-osmo*: remove non-existent node build2-deb8build
The jobs will stall when trying to handle a non-existent node

Change-Id: Id9f25d8a5f6d0521e2b70884f46de5dee14d8092
2018-04-24 09:22:47 +00:00
Harald Welte 3f4289b35c master-builds: Add rtl-sdr
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-19 00:20:14 +02:00
Pau Espin 8e48f3d75e jobs: bts&pcu: lc15: fetch branch litecell15 instead of litecell15-next
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-17 17:13:07 +02:00
Alexander Couzens bd20389e49 scripts/docker-cleanup.sh: set permissions to 755
It will otherwise not executed by the cron, because the cron
is checking for the executable bit

Change-Id: Ie9d67b157d62b38b62f5e74406d14344f90d07b8
2018-04-16 16:33:08 +02:00
Alexander Couzens b6bb7258a0 ansible: osmocom-jenkins-slave: fix crontab for fstrim
Change-Id: Ib6aae8d1d986346dc7bc0fc945bab6491fff4f3f
2018-04-16 16:30:24 +02:00
Pau Espin 28eff46deb jobs: gerrit-osmo-ttcn3-hacks: Make deps before cleaning
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-14 11:40:04 +00:00