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.

Related: OS#5441
Change-Id: Ieb6db0b24dce6099cfa24871a957471ca2c8bcee
This commit is contained in:
Pau Espin 2022-02-07 11:07:14 +01:00
parent 7ad596e4d9
commit 1982f52f8e
2 changed files with 8 additions and 0 deletions

View File

@ -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:

View File

@ -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