Merge "Run manage-projects/base/bridge on system-config changes"
This commit is contained in:
commit
a1a60f87f7
55
.zuul.yaml
55
.zuul.yaml
@ -1441,6 +1441,40 @@
|
|||||||
playbook_name: manage-projects.yaml
|
playbook_name: manage-projects.yaml
|
||||||
ansible_forks: 50
|
ansible_forks: 50
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: infra-prod-update-system-config
|
||||||
|
parent: infra-prod-playbook
|
||||||
|
description: Clone system-config and install modules and roles
|
||||||
|
vars:
|
||||||
|
playbook_name: update-system-config.yaml
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: infra-prod-bridge
|
||||||
|
parent: infra-prod-playbook
|
||||||
|
description: Update the code on bridge
|
||||||
|
dependencies:
|
||||||
|
- infra-prod-update-system-config
|
||||||
|
vars:
|
||||||
|
playbook_name: bridge.yaml
|
||||||
|
files:
|
||||||
|
- playbooks/bridge.yaml
|
||||||
|
- playbooks/roles/pip3/.*
|
||||||
|
- playbooks/roles/install-ansible/.*
|
||||||
|
- playbooks/roles/root-keys/.*
|
||||||
|
- playbooks/host_vars/bridge.openstack.org.yaml
|
||||||
|
- playbooks/zuul/run-production-playbook.yaml
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: infra-prod-base
|
||||||
|
parent: infra-prod-playbook
|
||||||
|
description: Run the base playbook everywhere
|
||||||
|
dependencies:
|
||||||
|
- infra-prod-update-system-config
|
||||||
|
- name: infra-prod-bridge
|
||||||
|
soft: true
|
||||||
|
vars:
|
||||||
|
playbook_name: base.yaml
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: system-config-goaccess-report
|
name: system-config-goaccess-report
|
||||||
description: |
|
description: |
|
||||||
@ -1769,6 +1803,23 @@
|
|||||||
- system-config-promote-image-python-base-3.8
|
- system-config-promote-image-python-base-3.8
|
||||||
- system-config-promote-image-python-builder-3.7
|
- system-config-promote-image-python-builder-3.7
|
||||||
- system-config-promote-image-python-builder-3.8
|
- system-config-promote-image-python-builder-3.8
|
||||||
|
- infra-prod-update-system-config
|
||||||
|
- infra-prod-base
|
||||||
|
- infra-prod-bridge
|
||||||
|
- infra-prod-manage-projects:
|
||||||
|
files:
|
||||||
|
- playbooks/manage-projects.yaml
|
||||||
|
- playbooks/group_vars/gerrit.yaml
|
||||||
|
- playbooks/group_vars/gitea.yaml
|
||||||
|
- playbooks/host_vars/gitea.*
|
||||||
|
- playbooks/host_vars/review.*
|
||||||
|
- playbooks/roles/gitea-git-repos/.*
|
||||||
|
- playbooks/roles/gerrit/defaults/main.yaml
|
||||||
|
- playbooks/roles/gerrit/tasks/manage-projects.yaml
|
||||||
|
dependencies:
|
||||||
|
- name: system-config-promote-image-gerrit-2.13
|
||||||
|
soft: true
|
||||||
|
- name: infra-prod-update-system-config
|
||||||
periodic:
|
periodic:
|
||||||
jobs:
|
jobs:
|
||||||
- developer-openstack-goaccess-report
|
- developer-openstack-goaccess-report
|
||||||
@ -1781,3 +1832,7 @@
|
|||||||
- specs-openstack-goaccess-report
|
- specs-openstack-goaccess-report
|
||||||
- tarballs-opendev-goaccess-report
|
- tarballs-opendev-goaccess-report
|
||||||
- zuul-ci-goaccess-report
|
- zuul-ci-goaccess-report
|
||||||
|
# Nightly runs of ansible things for catchup
|
||||||
|
- infra-prod-update-system-config
|
||||||
|
- infra-prod-base
|
||||||
|
- infra-prod-bridge
|
||||||
|
16
run_all.sh
16
run_all.sh
@ -72,22 +72,6 @@ set +e
|
|||||||
# Run all the ansible playbooks under timeout to prevent them from getting
|
# Run all the ansible playbooks under timeout to prevent them from getting
|
||||||
# stuck if they are oomkilled
|
# stuck if they are oomkilled
|
||||||
|
|
||||||
# Clone system-config and install modules and roles
|
|
||||||
start_timer
|
|
||||||
timeout -k 2m 10m ansible-playbook ${ANSIBLE_PLAYBOOKS}/update-system-config.yaml
|
|
||||||
send_timer update_system_config
|
|
||||||
|
|
||||||
# Update the code on bridge
|
|
||||||
start_timer
|
|
||||||
timeout -k 2m 10m ansible-playbook ${ANSIBLE_PLAYBOOKS}/bridge.yaml
|
|
||||||
send_timer bridge
|
|
||||||
|
|
||||||
|
|
||||||
# Run the base playbook everywhere
|
|
||||||
start_timer
|
|
||||||
timeout -k 2m 120m ansible-playbook -f 50 ${ANSIBLE_PLAYBOOKS}/base.yaml
|
|
||||||
send_timer base
|
|
||||||
|
|
||||||
# Service playbooks
|
# Service playbooks
|
||||||
start_timer
|
start_timer
|
||||||
timeout -k 2m 30m ansible-playbook -f 50 ${ANSIBLE_PLAYBOOKS}/service-bridge.yaml
|
timeout -k 2m 30m ansible-playbook -f 50 ${ANSIBLE_PLAYBOOKS}/service-bridge.yaml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user