|
|
|
@ -13,17 +13,6 @@
|
|
|
|
|
|
|
|
|
|
- hosts: bridge.openstack.org
|
|
|
|
|
tasks:
|
|
|
|
|
- name: Should we run from master
|
|
|
|
|
set_fact:
|
|
|
|
|
infra_prod_run_from_master: "{{ zuul.pipeline|default('') in ['periodic', 'opendev-prod-hourly'] }}"
|
|
|
|
|
|
|
|
|
|
- name: Update from master
|
|
|
|
|
when: infra_prod_run_from_master|bool
|
|
|
|
|
git:
|
|
|
|
|
repo: https://opendev.org/opendev/system-config
|
|
|
|
|
dest: /home/zuul/src/opendev.org/opendev/system-config
|
|
|
|
|
force: yes
|
|
|
|
|
|
|
|
|
|
- name: Run the production playbook and capture logs
|
|
|
|
|
block:
|
|
|
|
|
|
|
|
|
|