This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
lynxis lazus gerrit-no-reply at lists.osmocom.org
Review at https://gerrit.osmocom.org/7716
ansible: docker: cleanup old docker images
Change-Id: I77fe38775b3f6055691bbf654de4019916b75fd7
---
M ansible/roles/docker/tasks/main.yml
1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/16/7716/1
diff --git a/ansible/roles/docker/tasks/main.yml b/ansible/roles/docker/tasks/main.yml
index 1603175..ea1b24c 100644
--- a/ansible/roles/docker/tasks/main.yml
+++ b/ansible/roles/docker/tasks/main.yml
@@ -26,3 +26,11 @@
name: "{{ jenkins_user }}"
groups: docker
append: yes
+
+- name: cleanup old docker images
+ cron:
+ name: cleanup-docker-images
+ minute: 0
+ hour: 2
+ user: "{{ jenkins_user }}"
+ job: "test -x /home/{{ jenkins_user }}/osmo-ci/scripts/docker-cleanup.sh && /home/{{ jenkins_user }}/osmo-ci/scripts/docker-cleanup.sh >/dev/null"
--
To view, visit https://gerrit.osmocom.org/7716
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I77fe38775b3f6055691bbf654de4019916b75fd7
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>