mirror of https://gerrit.osmocom.org/osmo-ci
osmocom-jenkins-slave: call fstrim periodically
Change-Id: I82c497f476abf43148e8d7c027f53b87b5a738fb
This commit is contained in:
parent
bdfc5f9fdf
commit
a2f86fb5be
|
@ -9,8 +9,8 @@ host2-deb9build-ansible ansible_host=2a01:4f8:120:8470::1:3
|
|||
|
||||
[jenkins-slaves]
|
||||
admin2-deb8build ansible_host=2a01:4f8:13b:828::1:400
|
||||
admin2-deb9build ansible_host=2a01:4f8:13b:828::1:300
|
||||
admin2-deb9build ansible_host=2a01:4f8:13b:828::1:300 osmocom_jenkins_slave_fstrim=True
|
||||
build2-deb8build-ansible ansible_host=2a01:4f8:10b:2ad9::1:7
|
||||
build2-deb9build-ansible ansible_host=2a01:4f8:10b:2ad9::1:6
|
||||
build2-deb9build-ansible ansible_host=2a01:4f8:10b:2ad9::1:6 osmocom_jenkins_slave_fstrim=True
|
||||
host2-deb8build-ansible ansible_host=2a01:4f8:120:8470::1:2
|
||||
host2-deb9build-ansible ansible_host=2a01:4f8:120:8470::1:3
|
||||
host2-deb9build-ansible ansible_host=2a01:4f8:120:8470::1:3 osmocom_jenkins_slave_fstrim=True
|
||||
|
|
|
@ -9,3 +9,6 @@ generic_slave: true
|
|||
|
||||
# Setup the ttcn3 requirements
|
||||
ttcn3_slave: true
|
||||
|
||||
# call fstrim peridically
|
||||
osmocom_jenkins_slave_fstrim: false
|
||||
|
|
|
@ -109,3 +109,10 @@
|
|||
copy:
|
||||
src: gitconfig
|
||||
dest: "/home/{{ jenkins_user }}/.gitconfig"
|
||||
|
||||
- name: call fstrim periodically
|
||||
cron:
|
||||
name: "fstrim"
|
||||
hour: "*/12"
|
||||
job: "fstrim / >/dev/null 2>/dev/null || true"
|
||||
when: osmocom_jenkins_slave_fstrim
|
||||
|
|
Loading…
Reference in New Issue