aboutsummaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2023-11-18 15:17:53 +0100
committerHarald Welte <laforge@osmocom.org>2023-11-18 15:22:43 +0100
commita05542cf58b25c9a470c1ce02c57f91a768d3d9c (patch)
tree1e7cee088b9eceb8b393a133778f973a59487093 /ansible
parent506e58eb5be7a0a785bf7dd5b8ff2055e7424af5 (diff)
ansible/jenkins-slave/osmo-ci: Install 'make' required for osmo-ci
TASK [osmocom-jenkins-slave : rebuild osmocom docker images for jenkins build tests] ****************** fatal: [lx2-raspbian11build-ansible]: FAILED! => { "changed": true, "cmd": "./scripts/osmo-ci-docker-rebuild.sh", "delta": "0:00:04.129667", "end": "2023-11-18 14:09:52.142684", "rc": 1, "start": "2023-11-18 14:09:48.013017" } STDERR: + make -C ../debian-bookworm-build-arm BUILD_ARGS=--pull UPSTREAM_DISTRO=debian:bookworm DISTRO=debian-bookworm IMAGE=osmocom-build/debian-bookworm-build-arm OSMO_TTCN3_BRANCH=master ./scripts/osmo-ci-docker-rebuild.sh: 203: make: not found Change-Id: I785e4224e729accec15beaa3aef8e01f12624d9d
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/osmocom-jenkins-slave/tasks/osmo-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/ansible/roles/osmocom-jenkins-slave/tasks/osmo-ci.yml b/ansible/roles/osmocom-jenkins-slave/tasks/osmo-ci.yml
index a19dcaf..a2f2797 100644
--- a/ansible/roles/osmocom-jenkins-slave/tasks/osmo-ci.yml
+++ b/ansible/roles/osmocom-jenkins-slave/tasks/osmo-ci.yml
@@ -4,6 +4,14 @@
# we need to initially install osmo-ci and the docker images *before*
# that jenkins job can execute subsequent updates
+- name: install osmo-ci build dependencies
+ apt:
+ name:
+ - make
+ cache_valid_time: 3600
+ update_cache: yes
+ install_recommends: no
+
- name: deploy osmo-ci to home directory
become: yes
become_user: "{{ jenkins_user }}"