[XS] Change in osmo-ci[master]: ansible: only install docuum on x86_64 machines
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/44060?usp=email ) Change subject: ansible: only install docuum on x86_64 machines ...................................................................... ansible: only install docuum on x86_64 machines With previous patches we don't build docker images over and over again on the arm machines (rpi, lx2), therefore we don't need docuum there anymore to keep the built images at a given max space size. The other clean cronjob we install is enough. This makes the setup simpler and avoids building docuum it self (a rust program that takes significant time to build with dependencies on raspberry pis). Keep it on x86_64 machines for now as we still have some jobs that build images for every job running on these. Change-Id: I011ab4b1f6ed05d1e2f93b4affae63582b35b371 --- M ansible/roles/docker/tasks/main.yml 1 file changed, 4 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/60/44060/1 diff --git a/ansible/roles/docker/tasks/main.yml b/ansible/roles/docker/tasks/main.yml index 6d09f21..06c0ca6 100644 --- a/ansible/roles/docker/tasks/main.yml +++ b/ansible/roles/docker/tasks/main.yml @@ -56,5 +56,7 @@ - name: cleanup vfs storage dir shell: "docker info | grep -q 'Storage Driver: overlay2' || rm -rf /var/lib/docker/vfs" -# After docker is set up, add docuum to clean old docker images -- import_tasks: docuum.yml +# Only needed on machines that frequently build images (x86_64 machines) +- name: Add docuum to clean old docker images + ansible.builtin.import_tasks: docuum.yml + when: ansible_facts["architecture"] == "x86_64" -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/44060?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: I011ab4b1f6ed05d1e2f93b4affae63582b35b371 Gerrit-Change-Number: 44060 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith@sysmocom.de>
participants (1)
-
osmith