Run zuul-preview in zuul

Also rename the playbook to service-zuul-preview so that it's not
confusing about what it does.

Change-Id: I7a300ab4078a6473af0339d8cbf4b11e397ed837
This commit is contained in:
Monty Taylor 2020-04-02 09:43:10 -05:00
parent c98efecdea
commit ad7b4c149b
3 changed files with 15 additions and 5 deletions

View File

@ -1312,7 +1312,7 @@
label: ubuntu-bionic label: ubuntu-bionic
vars: vars:
run_playbooks: run_playbooks:
- playbooks/service-zuul.yaml - playbooks/service-zuul-preview.yaml
files: files:
- playbooks/install-ansible.yaml - playbooks/install-ansible.yaml
- playbooks/roles/zuul-preview/ - playbooks/roles/zuul-preview/
@ -1683,6 +1683,18 @@
- playbooks/roles/install-docker/.* - playbooks/roles/install-docker/.*
- playbooks/roles/registry/.* - playbooks/roles/registry/.*
- job:
name: infra-prod-service-zuul-preview
parent: infra-prod-service-base
description: Run service-zuul-preview.yaml playbook
vars:
playbook_name: service-zuul-preview.yaml
files:
- playbooks/service-zuul-preview.yaml
- playbooks/group_vars/zuul-preview.yaml
- playbooks/roles/install-docker/.*
- playbooks/roles/zuul-preview/.*
- job: - job:
name: system-config-goaccess-report name: system-config-goaccess-report
description: | description: |
@ -2041,6 +2053,7 @@
- infra-prod-service-static - infra-prod-service-static
- infra-prod-service-backup - infra-prod-service-backup
- infra-prod-service-registry - infra-prod-service-registry
- infra-prod-service-zuul-preview
periodic: periodic:
jobs: jobs:
- developer-openstack-goaccess-report - developer-openstack-goaccess-report
@ -2068,3 +2081,4 @@
- infra-prod-service-static - infra-prod-service-static
- infra-prod-service-backup - infra-prod-service-backup
- infra-prod-service-registry - infra-prod-service-registry
- infra-prod-service-zuul-preview

View File

@ -72,10 +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
start_timer
timeout -k 2m 30m ansible-playbook -f 50 ${ANSIBLE_PLAYBOOKS}/service-zuul.yaml
send_timer zuul
start_timer start_timer
timeout -k 2m 30m ansible-playbook -f 50 ${ANSIBLE_PLAYBOOKS}/service-review-dev.yaml timeout -k 2m 30m ansible-playbook -f 50 ${ANSIBLE_PLAYBOOKS}/service-review-dev.yaml
send_timer nodepool send_timer nodepool