Merge "Trigger validations only on train and above."

This commit is contained in:
Zuul 2021-02-10 23:17:45 +00:00 committed by Gerrit Code Review
commit 4725145564
12 changed files with 90 additions and 45 deletions

View File

@ -38,9 +38,12 @@
- tripleo-validations
vars:
validations_group: ['pre-introspection']
roles:
- {role: tripleo_validations,
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
tasks:
- include_role:
name: tripleo_validations
when:
- (run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool)
- release not in ['queens', 'rocky', 'stein']
- name: Prepare the overcloud images for deployment
hosts: undercloud
@ -74,6 +77,9 @@
- tripleo-validations
vars:
validations_group: ['pre-deployment']
roles:
- {role: tripleo_validations,
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
tasks:
- include_role:
name: tripleo_validations
when:
- (run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool)
- release not in ['queens', 'rocky', 'stein']

View File

@ -28,6 +28,9 @@
- tripleo-validations
vars:
validations_group: ['post-deployment']
roles:
- {role: tripleo_validations,
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
tasks:
- include_role:
name: tripleo_validations
when:
- (run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool)
- release not in ['queens', 'rocky', 'stein']

View File

@ -14,9 +14,12 @@
- tripleo-validations
vars:
run_tripleo_validations_setup: true
roles:
- {role: tripleo_validations,
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
tasks:
- include_role:
name: tripleo_validations
when:
- (run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool)
- release not in ['queens', 'rocky', 'stein']
- name: Validate the undercloud
hosts: undercloud

View File

@ -76,9 +76,12 @@
- tripleo-validations
vars:
validations_group: ['post-deployment']
roles:
- {role: tripleo_validations,
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
tasks:
- include_role:
name: tripleo_validations
when:
- (run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool)
- release not in ['queens', 'rocky', 'stein']
######################################
# Run tempest on overcloud-two stack #

View File

@ -25,9 +25,12 @@
- tripleo-validations
vars:
validations_group: ['pre-introspection']
roles:
- {role: tripleo_validations,
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
tasks:
- include_role:
name: tripleo_validations
when:
- (run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool)
- release not in ['queens', 'rocky', 'stein']
- name: Prepare for containerized deployment
hosts: undercloud
@ -46,9 +49,12 @@
- tripleo-validations
vars:
validations_group: ['pre-deployment']
roles:
- {role: tripleo_validations,
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
tasks:
- include_role:
name: tripleo_validations
when:
- (run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool)
- release not in ['queens', 'rocky', 'stein']
- name: Ensure openvswitch is started and enabled
hosts: overcloud

View File

@ -32,6 +32,9 @@
- tripleo-validations
vars:
validations_group: ['post-deployment']
roles:
- {role: tripleo_validations,
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
tasks:
- include_role:
name: tripleo_validations
when:
- (run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool)
- release not in ['queens', 'rocky', 'stein']

View File

@ -51,9 +51,12 @@
gather_facts: false
tags:
- standalone
roles:
- {role: tripleo_validations,
when: job.enable_validation|default(false)|bool}
tasks:
- include_role:
name: tripleo_validations
when:
- job.enable_validation|default(false)|bool
- release not in ['queens', 'rocky', 'stein']
- name: Validate the undercloud
hosts: undercloud

View File

@ -74,9 +74,12 @@
gather_facts: false
tags:
- tripleo-validations
roles:
- {role: tripleo_validations,
when: job.enable_validation|default(false)|bool}
tasks:
- include_role:
name: tripleo_validations
when:
- job.enable_validation|default(false)|bool
- release not in ['queens', 'rocky', 'stein']
- name: Validate the undercloud
hosts: undercloud

View File

@ -33,9 +33,12 @@
- tripleo-validations
vars:
validations_group: ['pre-introspection']
roles:
- {role: tripleo_validations,
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
tasks:
- include_role:
name: tripleo_validations
when:
- (run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool)
- release not in ['queens', 'rocky', 'stein']
# Prepare the overcloud flavor configuration
- name: Prepare overcloud flavors
@ -63,9 +66,12 @@
- tripleo-validations
vars:
validations_group: ['pre-deployment']
roles:
- {role: tripleo_validations,
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
tasks:
- include_role:
name: tripleo_validations
when:
- (run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool)
- release not in ['queens', 'rocky', 'stein']
- name: Prepare the SSL Configuration for the overcloud deployment
hosts: undercloud

View File

@ -26,9 +26,12 @@
- tripleo-validations
vars:
validations_group: ['post-deployment']
roles:
- {role: tripleo_validations,
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
tasks:
- include_role:
name: tripleo_validations
when:
- (run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool)
- release not in ['queens', 'rocky', 'stein']
# Check the results of the deployment, note after inventory has executed
- name: Check the result of the deployment

View File

@ -35,9 +35,12 @@
- tripleo-validations
vars:
run_tripleo_validations_setup: true
roles:
- {role: tripleo_validations,
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
tasks:
- include_role:
name: tripleo_validations
when:
- (run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool)
- release not in ['queens', 'rocky', 'stein']
- name: Download amphora image for octavia
hosts: undercloud

View File

@ -5,6 +5,9 @@
tags:
- component-validations
- tripleo-validations
roles:
- {role: tripleo_validations,
when: job.enable_validation|default(false)|bool}
tasks:
- include_role:
name: tripleo_validations
when:
- job.enable_validation|default(false)|bool
- release not in ['queens', 'rocky', 'stein']