Merge "Remove additional dead jenkins related code"

This commit is contained in:
Zuul 2017-12-20 01:07:18 +00:00 committed by Gerrit Code Review
commit 60c4c3eb2b
4 changed files with 1 additions and 24 deletions

View File

@ -1,5 +1,5 @@
afs afs*.*.openstack.org
afsadmin mirror-update.openstack.org:release.slave.openstack.org
afsadmin mirror-update.openstack.org
afsdb afsdb*.openstack.org
cacti ~cacti\d+\.openstack\.org
ci-backup backup\d+.*\ci\.openstack\.org

View File

@ -1,12 +0,0 @@
HashKnownHosts No
Host *.openstack.org
StrictHostKeyChecking No
UserKnownHostsFile ~/.ssh/known_hosts
# NOTE(notmorgan): It is assumed that slaves are logged into
# not via a hostname ending in ".openstack.org" such
# as by IP address. This prevents storing the host keys of
# these slave hosts
Host * !*.openstack.org
StrictHostKeyChecking No
UserKnownHostsFile /dev/null

View File

@ -1,4 +0,0 @@
---
- hosts: '*.slave.openstack.org'
tasks:
- shell: 'rm -rf ~jenkins/workspace/*{{ project }}*'

View File

@ -52,10 +52,3 @@
with_items: "{{ gerrit_groups|default([]) }}"
# TODO: online reindex accounts
# TODO: online reindex projects
- hosts: '*.ci.openstack.org:*.slave.openstack.org'
remote_user: root
gather_facts: False
tasks:
- include_vars: "{{ repolist }}"
- shell: 'rm -rf ~jenkins/workspace/*{{ item.old | basename }}*'
with_items: "{{ repos }}"