pespin has uploaded this change for review.
Deploy osmo-ci to ogt nodes and update it periodically
We need osmo-ci in those nodes in order for the docker old images to be
cleaned through cron entry installed by ansible docker role, which uses
/home/jenkins/osmo-ci/scripts/docker-cleanup.sh.
Change-Id: Ieb6db0b24dce6099cfa24871a957471ca2c8bcee
---
M ansible/setup-gsm-tester.yml
M jobs/update-osmo-ci-on-slaves.yml
2 files changed, 8 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/82/27082/1
diff --git a/ansible/setup-gsm-tester.yml b/ansible/setup-gsm-tester.yml
index 26285df..34976d7 100644
--- a/ansible/setup-gsm-tester.yml
+++ b/ansible/setup-gsm-tester.yml
@@ -14,6 +14,12 @@
- curl
cache_valid_time: 3600
update_cache: yes
+ - name: deploy osmo-ci to home directory
+ become: yes
+ become_user: "jenkins"
+ git:
+ repo: "https://git.osmocom.org/osmo-ci"
+ dest: "/home/jenkins/osmo-ci"
roles:
- name: gsm-tester
tags:
diff --git a/jobs/update-osmo-ci-on-slaves.yml b/jobs/update-osmo-ci-on-slaves.yml
index 060bba2..9fe2d34 100644
--- a/jobs/update-osmo-ci-on-slaves.yml
+++ b/jobs/update-osmo-ci-on-slaves.yml
@@ -16,6 +16,8 @@
- gtp0-deb9build
- gtp0-deb10build32
- gtp0-deb10fr
+ - osmo-gsm-tester-prod
+ - osmo-gsm-tester-rnd
properties:
- build-discarder:
days-to-keep: 30
To view, visit change 27082. To unsubscribe, or for help writing mail filters, visit settings.