mirror of https://gerrit.osmocom.org/osmo-ci
ansible: osmocom_build_deps: remove
The builds for almost all jenkins jobs are done in docker now, we definitely don't need to install all of these dependencies on all jenkins nodes anymore. Remove the file for now, so it doesn't look like they still get used and so we don't need to keep it up-to-date (e.g. inkscape was just replaced with rsvg-convert). When we deploy a new jenkins node and notice that we still do need a few of these dependencies, we can bring them back later. Change-Id: I7c87bd516d1bcdbcc21f65909dabbd3ccc38eede
This commit is contained in:
parent
8920d73730
commit
228efc3f13
|
@ -3,7 +3,6 @@
|
|||
Support the following variables:
|
||||
|
||||
* `install_jenkins_utilities`: (true) install usefull utilities including qemu/debootstrap/fakeroot
|
||||
* `install_osmocom_build_deps`: (true) install all osmocom runtime and build time dependencies
|
||||
* `generic_slave`: (true) contains tasks used by the most osmocom jenkins slaves
|
||||
* `osmocom_jenkins_slave_fstrim`: (false) calls fstrim periodical
|
||||
* `ttcn3_slave`: (true) install titan ttcn3 compiler and prepares the docker-playground
|
||||
|
|
|
@ -6,9 +6,6 @@ jenkins_user: jenkins
|
|||
# install usefull utilities including qemu/debootstrap/fakeroot
|
||||
install_jenkins_utilities: true
|
||||
|
||||
# install all osmocom runtime and build time dependencies
|
||||
install_osmocom_build_deps: true
|
||||
|
||||
# E.g. a generic_slave requires different tasks as a
|
||||
# special slave including the gsm-tester
|
||||
generic_slave: true
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
include_tasks: ttcn3-slave.yml
|
||||
when: ttcn3_slave and ansible_distribution == 'Debian' and ansible_distribution_version|int >= 9 and not (ansible_architecture == "armv7l" or ansible_architecture == "arm64")
|
||||
|
||||
- name: include osmocom_build_deps.yml
|
||||
include_tasks: osmocom_build_deps.yml
|
||||
when: install_osmocom_build_deps
|
||||
|
||||
- name: include generic slave
|
||||
include_tasks: generic-slave.yml
|
||||
when: generic_slave
|
||||
|
|
|
@ -1,188 +0,0 @@
|
|||
---
|
||||
- name: install build utilities
|
||||
apt:
|
||||
name:
|
||||
- asciidoc
|
||||
- autoconf
|
||||
- autoconf-archive
|
||||
- automake
|
||||
- bc
|
||||
- bison
|
||||
- coccinelle
|
||||
- cppcheck
|
||||
- debhelper
|
||||
- devscripts
|
||||
- dh-autoreconf
|
||||
- doxygen
|
||||
- flex
|
||||
- g++
|
||||
- gawk
|
||||
- gcc
|
||||
- gcc-arm-none-eabi
|
||||
- git
|
||||
- git-buildpackage
|
||||
- graphviz
|
||||
- libcsv-dev
|
||||
- libtool
|
||||
- libboost-all-dev
|
||||
- make
|
||||
- mscgen
|
||||
- osc
|
||||
- pkgconf
|
||||
- python-setuptools
|
||||
- python3
|
||||
- python3-setuptools
|
||||
- stow
|
||||
- texinfo
|
||||
# by gsm-manuals
|
||||
- python3-nwdiag
|
||||
- inkscape
|
||||
# by gapk
|
||||
- libasound-dev
|
||||
- libopencore-amrnb-dev
|
||||
# by LimeSuite
|
||||
- cmake
|
||||
- patchelf
|
||||
# by libusrp
|
||||
- sdcc
|
||||
# by mingw upload job
|
||||
- rsync
|
||||
cache_valid_time: 3600
|
||||
update_cache: yes
|
||||
|
||||
- name: install build dependencies and libraries
|
||||
apt:
|
||||
name:
|
||||
- dahdi-source
|
||||
- docbook5-xml
|
||||
- libboost-dev
|
||||
- libc-ares-dev
|
||||
- libdbd-sqlite3
|
||||
- libdbi-dev
|
||||
- libffi-dev
|
||||
- libffi-dev
|
||||
- libfftw3-dev
|
||||
- libgmp-dev
|
||||
- libgnutls28-dev
|
||||
- libgps-dev
|
||||
- libgsm1-dev
|
||||
- libnftables-dev
|
||||
- libnl-3-dev
|
||||
- libnl-route-3-dev
|
||||
- libmnl-dev
|
||||
# by osmo-sysmon
|
||||
- liboping-dev
|
||||
- libncurses5-dev
|
||||
- libortp-dev
|
||||
- libpcap-dev
|
||||
- libpcsclite-dev
|
||||
- libreadline-dev
|
||||
- libsctp-dev
|
||||
- libsigsegv-dev
|
||||
- libsnmp-dev
|
||||
- libsofia-sip-ua-glib-dev
|
||||
- libsqlite3-dev
|
||||
- libssl-dev
|
||||
- libsystemd-dev
|
||||
- libtalloc-dev
|
||||
- libuhd-dev
|
||||
- libusb-1.0-0-dev
|
||||
- libusb-dev
|
||||
- libzmq3-dev
|
||||
- sqlite3
|
||||
- libaio-dev
|
||||
cache_valid_time: 3600
|
||||
update_cache: yes
|
||||
install_recommends: no
|
||||
|
||||
- name: install liblua for jessie
|
||||
apt:
|
||||
name: liblua5.3-dev
|
||||
cache_valid_time: 3600
|
||||
update_cache: yes
|
||||
install_recommends: no
|
||||
default_release: jessie-backports
|
||||
when: ansible_distribution == 'Debian' and ansible_distribution_release == 'jessie'
|
||||
|
||||
- name: install liblua for stretch or later
|
||||
apt:
|
||||
name:
|
||||
- liblua5.3-dev
|
||||
cache_valid_time: 3600
|
||||
update_cache: yes
|
||||
install_recommends: no
|
||||
when: ansible_distribution == 'Debian' and ansible_distribution_version|int >= 9
|
||||
|
||||
- name: install liblimesuite-dev for stretch or later
|
||||
apt:
|
||||
name:
|
||||
- liblimesuite-dev
|
||||
cache_valid_time: 3600
|
||||
update_cache: yes
|
||||
install_recommends: no
|
||||
when: ansible_distribution == 'Debian' and ansible_distribution_version|int >= 9
|
||||
|
||||
- name: install osmo-remsim dependencies
|
||||
apt:
|
||||
name:
|
||||
- libjansson-dev
|
||||
- libulfius-dev
|
||||
cache_valid_time: 3600
|
||||
update_cache: yes
|
||||
when: ansible_distribution == 'Debian' and ansible_distribution_version|int >= 9
|
||||
|
||||
- name: install srsLTE build dependencies
|
||||
apt:
|
||||
name:
|
||||
- cmake
|
||||
- libfftw3-dev
|
||||
- libmbedtls-dev
|
||||
- libboost-program-options-dev
|
||||
- libconfig++-dev
|
||||
- libsctp-dev
|
||||
- libpcsclite-dev
|
||||
- libuhd-dev
|
||||
- libczmq-dev
|
||||
- libsoapysdr-dev
|
||||
cache_valid_time: 3600
|
||||
update_cache: yes
|
||||
when: ansible_distribution == 'Debian' and ansible_distribution_version|int >= 9
|
||||
|
||||
- name: install open5gs build dependencies
|
||||
apt:
|
||||
name:
|
||||
- meson
|
||||
- ninja-build
|
||||
- libgcrypt-dev
|
||||
- libidn11-dev
|
||||
- libmongoc-dev
|
||||
- libbson-dev
|
||||
- libyaml-dev
|
||||
- libnghttp2-dev
|
||||
cache_valid_time: 3600
|
||||
update_cache: yes
|
||||
when: ansible_distribution == 'Debian' and ansible_distribution_version|int >= 10
|
||||
|
||||
- name: download osmo-python-tests for py2
|
||||
git:
|
||||
repo: "https://gerrit.osmocom.org/python/osmo-python-tests"
|
||||
dest: "/home/{{ jenkins_user }}/osmo-python-tests2"
|
||||
version: "fb4b813d4df62b7b2445bdced961eb1847267eed"
|
||||
|
||||
- name: install osmo-python-tests for py2
|
||||
shell:
|
||||
cmd: "python2 setup.py clean build install && date > installed"
|
||||
chdir: "/home/{{ jenkins_user }}/osmo-python-tests2"
|
||||
creates: "/home/{{ jenkins_user }}/osmo-python-tests2/installed"
|
||||
|
||||
- name: download osmo-python-tests for py3
|
||||
git:
|
||||
repo: "https://gerrit.osmocom.org/python/osmo-python-tests"
|
||||
dest: "/home/{{ jenkins_user }}/osmo-python-tests3"
|
||||
version: "be7fcf5f28a5d0f9ad35510f09b5979268d76598"
|
||||
|
||||
- name: install osmo-python-tests for py3
|
||||
shell:
|
||||
cmd: "python3 setup.py clean build install && date > installed"
|
||||
chdir: "/home/{{ jenkins_user }}/osmo-python-tests3"
|
||||
creates: "/home/{{ jenkins_user }}/osmo-python-tests3/installed"
|
|
@ -36,7 +36,6 @@
|
|||
- name: osmocom-jenkins-slave
|
||||
generic_slave: false
|
||||
install_jenkins_utilities: false
|
||||
install_osmocom_build_deps: false
|
||||
ttcn3_slave: false
|
||||
tags:
|
||||
- jenkins-slave
|
||||
|
|
Loading…
Reference in New Issue