aboutsummaryrefslogtreecommitdiffstats
path: root/ansible
AgeCommit message (Collapse)AuthorFilesLines
2020-04-17ansible: gsm-tester: Add dependency python3-websocketPau Espin Pedrol1-0/+1
osmo-gsm-tester needs it in rfemu_amarisoftctrl.py to connect to Amarisoft CTRL interface (which is implemented through a websocket). Change-Id: Iab03cfdcfb1c197ae002d95e0bb56d86e0aac97b
2020-04-17jenkins: Add libnl-3 for osmo-uecupsHarald Welte1-0/+2
Change-Id: I97114b60a647c6823eaeb031ea799c07af2b7aa0
2020-04-14ansible: The network:osmocom:nightly key has changed *again* :(Harald Welte1-9/+9
Change-Id: I1ddc792c23d7c7d6db9aea694ac615c1f5449782
2020-04-10ansible: gsm-tester: Intall dbus policy file from git repoPau Espin Pedrol2-17/+9
Since osmo-gsm-tester.git I17ee94b175deb88faff71e7788c482093693f8a8, the file is available in the repository, so let's simply install it from there. Change-Id: Icb4827c4126c997633e23e4d778ff9b1a1836322
2020-04-06ansible: ogt: Create target amarisoft dirs in slavesPau Espin Pedrol1-0/+3
Change-Id: Idd013ac01db545771217808e458e916900fe89a1
2020-03-30update OBS Release.key; the old one expired today.Harald Welte1-9/+9
Change-Id: Ic0ef942f7c2cce9d786ecc2447b10b808bac2ba9
2020-03-11ansible: ensure rsync is installed on all build slavesHarald Welte1-0/+2
Avoid the following error by the Osmocom-OBS_MinGW_weekly_publish job: rsync -avz -e 'ssh -o '\''UserKnownHostsFile=/home/osmocom-build/jenkins/workspace/Osmocom-OBS_MinGW_weekly_publish/a1/default/a2/default/a3/default/label/obs/known_hosts'\'' -p 48' /home/osmocom-build/jenkins/workspace/Osmocom-OBS_MinGW_weekly_publish/a1/default/a2/default/a3/default/label/obs/out/ binaries@ftp.osmocom.org:web-files/windows /tmp/jenkins1809827296988933592.sh: line 164: rsync: command not found Change-Id: Id221729a8639f817a91888898e6a08a4dbce72c6
2020-03-03poky-sdk: Use first letter in caps (as in python bool)Pau Espin Pedrol1-4/+4
Same as done in install-coverity/tasks/main.yml. Change-Id: Ifbfe678e89bef3acd33e562888ad81093fa1230d
2020-03-02ansible: gsm-tester: Install osmo-gsm-tester dependency python3-numpyPau Espin Pedrol1-0/+1
Change-Id: I1a162607288a50d2376c4ed7760a8e6fb07f6a89
2020-02-26ansible: fix java for debian 10Harald Welte1-2/+12
Change-Id: I8b81edf420534726cd987f3f90efe79ca921f41a
2020-02-26ansible: Install open5gs dependencies on debian10Harald Welte1-0/+15
Change-Id: Ib58a9a91d34c4ebf10171bed8f0b26d9b34892b1
2020-02-26add build2-deb10build-ansible build slaveHarald Welte1-0/+1
This is our first Debian 10 build slave Change-Id: Iae80c5f73781d14ffbf124a476894d4631c83dc7
2020-02-26Make "ansible_distribution_version >= 9" workHarald Welte3-5/+5
The distribution version must not be quoted in this case (string) but given as an integer. Otherwise it will match only on 9, but not on 10. Change-Id: I6ff3d16d2eac891e6663e8860eec2058478f4b79
2020-02-26hosts: Add rpi4-deb9build-ansiblePau Espin Pedrol1-0/+1
Change-Id: I3bea29c3a9fa9b4b6dc4df3cdde4bb9dbf7de47d
2020-02-26ansible/setup-simtest.yml: Python2 is deprecated, switch to Python3Vadim Yanitskiy1-5/+5
PySIM is about to switch to Python3, so Jenkins must be ready. Change-Id: I555af88b0e6a5c082e1e0cbd6915649a8a942052
2020-02-24README: Update version number of poky toolchainHarald Welte1-1/+1
Change-Id: Ic360a909c4615a3d6bfcea8f2e1c70a70b935ab4
2020-02-21ansible: gsm-tester: add jenkins user to osmo-gsm-tester group on slavesPau Espin Pedrol1-3/+14
Change-Id: Id5a06c19a4341311a86b87e3e9ac23d3656909b9
2020-02-21ansible: gsm-tester: Create remote rundir directoriesPau Espin Pedrol1-0/+16
These directories are needed by osmo-gsm-tester to copy in some binaries and helper files required in the remote run node. Change-Id: I802bdcc79e7787052364f6518e868d741cb040ac
2020-02-21ansible: gsm-tester: Use file module instead of manual mkdirPau Espin Pedrol1-2/+6
From ansible: [WARNING]: Consider using the file module with state=directory rather than running 'mkdir'. Change-Id: I2c541878033360a9d427d13b62c1cc075d5f92b7
2020-02-21ansible: gsm-tester: Install patchelf's build dep autoconfPau Espin Pedrol1-0/+9
Change-Id: Ibe0e9b10d87c3630e2f12c9c32196e26213530ca
2020-02-21ansible: gsm-tester: Allow install srs related packages in UbuntuPau Espin Pedrol1-1/+18
Change-Id: I3fdf2f4f390d27c53f073b38c1716da07f933b6d
2020-02-21ansible: gsm-tester: add some tags to tasksPau Espin Pedrol1-9/+88
Change-Id: I1fe26d519d4d63d4bef33c1db2abf98a40913f98
2020-02-20ansible: slave: Skip ttcn3 install on ARM targetsPau Espin Pedrol1-1/+1
eclipse-titan is not currently built for ARM targets (or it fails) on osmocom OBS repos. Let's disable it since anyway we don't need to run ttcn3 stuff on ARM slaves. Change-Id: I83f95766fc601bfced6404db56af3bf8b871982f
2020-02-17ansible: gsm-tester: Install correct version of Soapdysdr lms module for srsLTEPau Espin Pedrol1-0/+1
At runtime, srsLTE expects that newer version of the module instead of old 0.5.2 one. Change-Id: I1a66a1c4ba819c6c4887facc99045d099f2ccc53
2020-02-13ansible: Install libsoapysdr-dev as dependency for srsLTEPau Espin Pedrol2-0/+2
srsLTE supports using LimeSDR devices through SoapySDR. Change-Id: Idd8baf934cb9245e0f897e84754905172b659e40
2020-02-11gsm-tester: Install helper scripts and sudoers.d files from git repoPau Espin Pedrol5-81/+25
Let's avoid duplicating and having to add manually the files here every time a new helper is required by osmo-gsm-tester. Change-Id: Ibbdd291f4c3f7aecdd5118cc2b3b35edaddf7c09
2020-02-11gsm-tester: Manual build and install of patchelf v0.10Pau Espin Pedrol1-0/+25
Due to [1], we require both debian9 patchelf v0.9 and v0.10 to be available and used by osmo-gsm-teser depending on the binary to be patched. [1] https://github.com/NixOS/patchelf/issues/192 Related: OS#4389 Change-Id: I28825d723b85900fb51cc5b8a9d14c6ef346e667
2020-02-08coverity: Our coverity job needs curl; install itHarald Welte1-0/+6
curl \ --form token="$token" \ --form email=holger@freyther.de --form file=@Osmocom.tgz \ --form version=Version --form description=AutoUpload \ https://scan.coverity.com/builds?project=Osmocom ./jenkins.sh: line 39: curl: command not found Change-Id: Ibf4a40860fe6c8424a60672dc4758b9f17c532a3
2020-02-08upgrade coverity to 2019.03Harald Welte2-3/+3
Change-Id: I0425b24a2afd979eb2a44dee512512746929770e
2020-02-03ansible: gsm-tester: Add missing dep python3-setuptoolsPau Espin Pedrol1-0/+1
That's required when building python modules with pip. Change-Id: I80785a4061e91126092a04080a2c9fdb288be49a
2020-01-29ansible: mdbus2 is not nowadays available on Debian10Pau Espin Pedrol1-1/+8
Change-Id: I0eb2ed28d9e3bc9054ffeb81c9e6fb5428af5bfb
2020-01-29Install srsLTE build dependencies in jenkins buildhostsPau Espin Pedrol1-0/+16
Change-Id: Ib42987416ee90868ab088bfa2f92d92c764088b0
2020-01-29ansible: gsm-tester: Install srsLTE dependenciesPau Espin Pedrol1-0/+14
Change-Id: Ia6804d0d0c40ad2ebe8a09b0861f14f15578a834
2020-01-26Fix ansible playbooks after docker directory was removed hereHarald Welte1-2/+2
In I30a61aebcadef5536e74edd35e1c75ef77a2da9f, we moved the Dockerfiles from here to docker-playground.git, but failed to adjust the ansible playbook that wants to rebuild those containers during setting up of a build slave. Change-Id: Ife64fdaf24107b0b31b8a6d4c78a1df420662ca0 Related: OS#4345 Closes: OS#4377
2020-01-26ansible: Install poky-sdk only on x86_64 architectureHarald Welte1-0/+2
The SDK is pre-compiled for a x86_64 host architecture, we cannot use it e.g. on armhf (raspi). Change-Id: Ia565d2dba427c00aa08a4eca62ac7410448ada04
2020-01-26ansible/docker: ensure gnupg + crontab are installedHarald Welte1-1/+5
Both are required by docker, but seem to be missing from explicit dpkg 'Requires' :/ TASK [docker : add docker gpg key to apt keyring] ******************************************************** fatal: [rpi4-deb9build-ansible]: FAILED! => {"changed": false, "msg": "Failed to find required executable gpg in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"} TASK [docker : cleanup old docker images] **************************************************************** [WARNING]: The value 0 (type int) in a string field was converted to '0' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change. fatal: [rpi4-deb9build-ansible]: FAILED! => {"changed": false, "msg": "Failed to find required executable crontab in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"} Change-Id: I2d342f85f6bc1b80eaafc7075552019fea147894
2019-12-09osmocom_build_deps.yml: add inkscapeOliver Smith1-0/+1
osmo-gsm-manuals needs inkscape to handle svgs. Not all osmo-* projects are building in docker, so make sure it is also installed on the build slaves directly. Related: OS#4314 Change-Id: I63460336d2c4a7594ec9c5c9b60a3d43f0d157aa
2019-12-02ansible: gsm-tester: Enable ip forwarding and masquerading on bootPau Espin Pedrol5-2/+34
Some nodes in the internal network, such as LimeNetMicro, will need Internet access to upgrade osmo-trx-lms from OBS repos. It also makes it easier to update manually other nodes inside the internal network. Change-Id: I2c89cf9cfcb55b3153e7be212c68ffa8db0f6927
2019-11-27ansible: Fix several file permission mask formatPau Espin Pedrol3-9/+7
From ansible documentation [1]: """ For those used to /usr/bin/chmod remember that modes are actually octal numbers. You must either add a leading zero so that Ansible's YAML parser knows it is an octal number (like 0644 or 01777) or quote it (like '644' or '1777') so Ansible receives a string and can do its own conversion from string into number. Giving Ansible a number without following one of these rules will end up with a decimal number which will have unexpected results. """ [1] https://docs.ansible.com/ansible/latest/modules/template_module.html?highlight=template Change-Id: I91008927c50016a837420c4249b5f69b9153572e
2019-11-26ansible: gsm-tester-prod: Set DNS server to a working servicePau Espin Pedrol1-1/+1
10.42.42.2 is simply one of the IP addresses assigned to osmo-gsm-tester main unit on its own internal network (the one used between itself and the connected BTS or helper hosts). There's no DNS server running there. The main unit already runs lots of services, and there's really no need for a DNS server running there, so simply point it to a working DNS server. Change-Id: I443cc560553c07635763a13bc73ead4835e6a009
2019-11-23osmocom_build_deps.yml: Move from python-nwdiag to python3-nwdiagHarald Welte1-1/+1
Change-Id: I9e3c65342d1bb62d7baa9d589930aa042fb5f7a9 Closes: OS#4279 Related: OS#4246 Depends: osmo-gsm-manuals Ia2c0c833329f8ecab1c427e0d2c002f17ab49a94
2019-11-22ansible: gsm-tester-prod: Set dhcp ip addr for LimeNet-micro boardPau Espin Pedrol1-0/+2
Change-Id: Ibcdf14ba09ab46240cd6bccac82f7b21f99123ef
2019-11-11osmocom_build_deps.yml: Add dahdi-source for libosmo-abisHarald Welte1-0/+1
Change-Id: Ic314c992f83d9fe1ea6035d67070d7c6004cc9e3
2019-11-11osmocom_build_deps: Add libaio-dev for osmo-ccid-clientHarald Welte1-0/+1
Change-Id: I6c3b536bee3d1bbd6f526bc3765fc4ad9aa4a0dd
2019-09-20ansible: gsm-tester-rnd: Add nano3g device to static IP DHCP leasesPau Espin Pedrol1-0/+2
Change-Id: Iaad3e9f5b6b1966322abb89f54611a2368400dcb
2019-05-15Fix oc2g poky SDK installationHarald Welte2-2/+2
It's poky_installer_file, not poky_install_file. Also, don't mandate a version from april that's no longer on downloads.sysmocom.de. This was broken since Change-Id I35f34a089311808cb21a064dd50e41cd1887b320 Change-Id: If3adf078fd89b9d0c5151cdbf745123df34bbaba
2019-04-26ansible: Document how to use ProxyJump to access ipv6 nodesPau Espin Pedrol1-0/+12
Change-Id: I31b8f8ea5ed84a676c97ad2f6802be19f0e394d9
2019-04-26generalize the install-poky-sdk role to support multiple sdksAlexander Couzens5-12/+32
Change-Id: I35f34a089311808cb21a064dd50e41cd1887b320
2019-04-26osmocom-jenkins-slave: fix jessie-backports as it got deprecatedAlexander Couzens1-1/+7
Change-Id: Idae47a6529f6a870e29ab688c3479b7ef4ba200a
2019-04-21ttcn3-slave: Add libfftranscode0 + libffstranscode-dev packagesHarald Welte1-0/+7
Those proprietary libraries are required for testing APER based protocols such as those spoken on IuCS, IuPS and Iuh. Change-Id: I07489575d0b71c36b35096ecf1e2aab9577cb43e