Run AFS in zuul
Change-Id: I5ea46cbf124006e38c045e2f93a19d33a9c3db91
This commit is contained in:
parent
4641a79aec
commit
e7342c7e3e
21
.zuul.yaml
21
.zuul.yaml
@ -1800,6 +1800,25 @@
|
||||
- docker/jinja-init/.*
|
||||
- docker/python-base/.*
|
||||
|
||||
# Run AFS changes separately so we can make sure to only do one at a time
|
||||
# (turns out quorum is nice to have)
|
||||
- job:
|
||||
name: infra-prod-remote-puppet-afs
|
||||
parent: infra-prod-service-base
|
||||
description: Run remote-puppet-afs.yaml playbook
|
||||
vars:
|
||||
playbook_name: remote-puppet-afs.yaml
|
||||
infra_prod_ansible_forks: 1
|
||||
files:
|
||||
- playbooks/remote-puppet-afs.yaml
|
||||
- playbooks/group_vars/afs.*
|
||||
- playbooks/group_vars/mirror-update.*
|
||||
- playbooks/roles/puppet-install/.*
|
||||
- playbooks/roles/disable-puppet-agent/.*
|
||||
- playbooks/roles/vos-release/.*
|
||||
- modules/.*
|
||||
- manifests/.*
|
||||
|
||||
- job:
|
||||
name: system-config-goaccess-report
|
||||
description: |
|
||||
@ -2165,6 +2184,7 @@
|
||||
- infra-prod-service-review
|
||||
- infra-prod-service-review-dev
|
||||
- infra-prod-service-gitea
|
||||
- infra-prod-remote-puppet-afs
|
||||
periodic:
|
||||
jobs:
|
||||
- developer-openstack-goaccess-report
|
||||
@ -2194,6 +2214,7 @@
|
||||
- infra-prod-service-review
|
||||
- infra-prod-service-review-dev
|
||||
- infra-prod-service-gitea
|
||||
- infra-prod-remote-puppet-afs
|
||||
opendev-prod-hourly:
|
||||
jobs:
|
||||
- infra-prod-update-system-config
|
||||
|
@ -72,12 +72,6 @@ set +e
|
||||
# Run all the ansible playbooks under timeout to prevent them from getting
|
||||
# stuck if they are oomkilled
|
||||
|
||||
# Run AFS changes separately so we can make sure to only do one at a time
|
||||
# (turns out quorum is nice to have)
|
||||
start_timer
|
||||
timeout -k 2m 30m ansible-playbook -f 1 ${ANSIBLE_PLAYBOOKS}/remote_puppet_afs.yaml
|
||||
send_timer afs
|
||||
|
||||
# Run everything else. We do not care if the other things worked
|
||||
start_timer
|
||||
timeout -k 2m 30m ansible-playbook -f 50 ${ANSIBLE_PLAYBOOKS}/remote_puppet_else.yaml
|
||||
|
Loading…
Reference in New Issue
Block a user