laforge submitted this change.

View Change

Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved
ansible/setup-obs-worker: install lxc<5.0.0

Make sure we install a version that works with obs-build.

Related: OS#6186#note-50
Change-Id: Ied668ccd4a2079e6539ffd27aa9ce7b736c8ba31
---
M ansible/roles/osmocom-obs-worker/tasks/obs.yml
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ansible/roles/osmocom-obs-worker/tasks/obs.yml b/ansible/roles/osmocom-obs-worker/tasks/obs.yml
index a0a6227..693f964 100644
--- a/ansible/roles/osmocom-obs-worker/tasks/obs.yml
+++ b/ansible/roles/osmocom-obs-worker/tasks/obs.yml
@@ -32,7 +32,9 @@
when: obs_vm_type == "lxc"
zypper:
name:
- - lxc
+ # obs-build requires lxc <= 4.x (OS#6186#note-50)
+ - lxc<5.0.0
+ - liblxc1<5.0.0

- name: install qemu
when: obs_vm_type != "lxc"

To view, visit change 39319. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ied668ccd4a2079e6539ffd27aa9ce7b736c8ba31
Gerrit-Change-Number: 39319
Gerrit-PatchSet: 3
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>