Run remote-puppet-else in zuul

Wow. It's the last one!

Change-Id: Ib064c8412a3df28790b9ef51d88c50d43de1842d
This commit is contained in:
Monty Taylor 2020-04-02 10:13:36 -05:00
parent e7342c7e3e
commit c8aeaf8fd1
2 changed files with 21 additions and 7 deletions

View File

@ -1819,6 +1819,22 @@
- modules/.*
- manifests/.*
- job:
name: infra-prod-remote-puppet-else
parent: infra-prod-service-base
description: Run remote-puppet-else.yaml playbook
vars:
playbook_name: remote-puppet-else.yaml
infra_prod_ansible_forks: 50
files:
- playbooks/remote-puppet-else.yaml
- playbooks/group_vars/.*
- playbooks/host_vars/.*
- playbooks/roles/puppet-install/.*
- playbooks/roles/disable-puppet-agent/.*
- modules/.*
- manifests/.*
- job:
name: system-config-goaccess-report
description: |
@ -2185,6 +2201,7 @@
- infra-prod-service-review-dev
- infra-prod-service-gitea
- infra-prod-remote-puppet-afs
- infra-prod-remote-puppet-else
periodic:
jobs:
- developer-openstack-goaccess-report
@ -2227,3 +2244,6 @@
- infra-prod-service-zuul-preview:
dependencies:
- infra-prod-update-system-config
- infra-prod-remote-puppet-else:
dependencies:
- infra-prod-update-system-config

View File

@ -69,13 +69,7 @@ echo "--- begin run @ $(date -Is) ---"
# errexit
set +e
# Run all the ansible playbooks under timeout to prevent them from getting
# stuck if they are oomkilled
# 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
send_timer else
# DO NOTHING!!!
# Send the combined time for everything
send_timer total $GLOBAL_START_TIME