Merge "Trigger validations only on train and above."
This commit is contained in:
commit
4725145564
|
@ -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']
|
||||
|
|
|
@ -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']
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 #
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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']
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue