Merge "Trigger validations only on train and above."
This commit is contained in:
commit
4725145564
|
@ -38,9 +38,12 @@
|
||||||
- tripleo-validations
|
- tripleo-validations
|
||||||
vars:
|
vars:
|
||||||
validations_group: ['pre-introspection']
|
validations_group: ['pre-introspection']
|
||||||
roles:
|
tasks:
|
||||||
- {role: tripleo_validations,
|
- include_role:
|
||||||
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
|
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
|
- name: Prepare the overcloud images for deployment
|
||||||
hosts: undercloud
|
hosts: undercloud
|
||||||
|
@ -74,6 +77,9 @@
|
||||||
- tripleo-validations
|
- tripleo-validations
|
||||||
vars:
|
vars:
|
||||||
validations_group: ['pre-deployment']
|
validations_group: ['pre-deployment']
|
||||||
roles:
|
tasks:
|
||||||
- {role: tripleo_validations,
|
- include_role:
|
||||||
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
|
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
|
- tripleo-validations
|
||||||
vars:
|
vars:
|
||||||
validations_group: ['post-deployment']
|
validations_group: ['post-deployment']
|
||||||
roles:
|
tasks:
|
||||||
- {role: tripleo_validations,
|
- include_role:
|
||||||
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
|
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
|
- tripleo-validations
|
||||||
vars:
|
vars:
|
||||||
run_tripleo_validations_setup: true
|
run_tripleo_validations_setup: true
|
||||||
roles:
|
tasks:
|
||||||
- {role: tripleo_validations,
|
- include_role:
|
||||||
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
|
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
|
- name: Validate the undercloud
|
||||||
hosts: undercloud
|
hosts: undercloud
|
||||||
|
|
|
@ -76,9 +76,12 @@
|
||||||
- tripleo-validations
|
- tripleo-validations
|
||||||
vars:
|
vars:
|
||||||
validations_group: ['post-deployment']
|
validations_group: ['post-deployment']
|
||||||
roles:
|
tasks:
|
||||||
- {role: tripleo_validations,
|
- include_role:
|
||||||
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
|
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 #
|
# Run tempest on overcloud-two stack #
|
||||||
|
|
|
@ -25,9 +25,12 @@
|
||||||
- tripleo-validations
|
- tripleo-validations
|
||||||
vars:
|
vars:
|
||||||
validations_group: ['pre-introspection']
|
validations_group: ['pre-introspection']
|
||||||
roles:
|
tasks:
|
||||||
- {role: tripleo_validations,
|
- include_role:
|
||||||
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
|
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
|
- name: Prepare for containerized deployment
|
||||||
hosts: undercloud
|
hosts: undercloud
|
||||||
|
@ -46,9 +49,12 @@
|
||||||
- tripleo-validations
|
- tripleo-validations
|
||||||
vars:
|
vars:
|
||||||
validations_group: ['pre-deployment']
|
validations_group: ['pre-deployment']
|
||||||
roles:
|
tasks:
|
||||||
- {role: tripleo_validations,
|
- include_role:
|
||||||
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
|
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
|
- name: Ensure openvswitch is started and enabled
|
||||||
hosts: overcloud
|
hosts: overcloud
|
||||||
|
|
|
@ -32,6 +32,9 @@
|
||||||
- tripleo-validations
|
- tripleo-validations
|
||||||
vars:
|
vars:
|
||||||
validations_group: ['post-deployment']
|
validations_group: ['post-deployment']
|
||||||
roles:
|
tasks:
|
||||||
- {role: tripleo_validations,
|
- include_role:
|
||||||
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
|
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
|
gather_facts: false
|
||||||
tags:
|
tags:
|
||||||
- standalone
|
- standalone
|
||||||
roles:
|
tasks:
|
||||||
- {role: tripleo_validations,
|
- include_role:
|
||||||
when: job.enable_validation|default(false)|bool}
|
name: tripleo_validations
|
||||||
|
when:
|
||||||
|
- job.enable_validation|default(false)|bool
|
||||||
|
- release not in ['queens', 'rocky', 'stein']
|
||||||
|
|
||||||
- name: Validate the undercloud
|
- name: Validate the undercloud
|
||||||
hosts: undercloud
|
hosts: undercloud
|
||||||
|
|
|
@ -74,9 +74,12 @@
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
tags:
|
tags:
|
||||||
- tripleo-validations
|
- tripleo-validations
|
||||||
roles:
|
tasks:
|
||||||
- {role: tripleo_validations,
|
- include_role:
|
||||||
when: job.enable_validation|default(false)|bool}
|
name: tripleo_validations
|
||||||
|
when:
|
||||||
|
- job.enable_validation|default(false)|bool
|
||||||
|
- release not in ['queens', 'rocky', 'stein']
|
||||||
|
|
||||||
- name: Validate the undercloud
|
- name: Validate the undercloud
|
||||||
hosts: undercloud
|
hosts: undercloud
|
||||||
|
|
|
@ -33,9 +33,12 @@
|
||||||
- tripleo-validations
|
- tripleo-validations
|
||||||
vars:
|
vars:
|
||||||
validations_group: ['pre-introspection']
|
validations_group: ['pre-introspection']
|
||||||
roles:
|
tasks:
|
||||||
- {role: tripleo_validations,
|
- include_role:
|
||||||
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
|
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
|
# Prepare the overcloud flavor configuration
|
||||||
- name: Prepare overcloud flavors
|
- name: Prepare overcloud flavors
|
||||||
|
@ -63,9 +66,12 @@
|
||||||
- tripleo-validations
|
- tripleo-validations
|
||||||
vars:
|
vars:
|
||||||
validations_group: ['pre-deployment']
|
validations_group: ['pre-deployment']
|
||||||
roles:
|
tasks:
|
||||||
- {role: tripleo_validations,
|
- include_role:
|
||||||
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
|
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
|
- name: Prepare the SSL Configuration for the overcloud deployment
|
||||||
hosts: undercloud
|
hosts: undercloud
|
||||||
|
|
|
@ -26,9 +26,12 @@
|
||||||
- tripleo-validations
|
- tripleo-validations
|
||||||
vars:
|
vars:
|
||||||
validations_group: ['post-deployment']
|
validations_group: ['post-deployment']
|
||||||
roles:
|
tasks:
|
||||||
- {role: tripleo_validations,
|
- include_role:
|
||||||
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
|
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
|
# Check the results of the deployment, note after inventory has executed
|
||||||
- name: Check the result of the deployment
|
- name: Check the result of the deployment
|
||||||
|
|
|
@ -35,9 +35,12 @@
|
||||||
- tripleo-validations
|
- tripleo-validations
|
||||||
vars:
|
vars:
|
||||||
run_tripleo_validations_setup: true
|
run_tripleo_validations_setup: true
|
||||||
roles:
|
tasks:
|
||||||
- {role: tripleo_validations,
|
- include_role:
|
||||||
when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool}
|
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
|
- name: Download amphora image for octavia
|
||||||
hosts: undercloud
|
hosts: undercloud
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
tags:
|
tags:
|
||||||
- component-validations
|
- component-validations
|
||||||
- tripleo-validations
|
- tripleo-validations
|
||||||
roles:
|
tasks:
|
||||||
- {role: tripleo_validations,
|
- include_role:
|
||||||
when: job.enable_validation|default(false)|bool}
|
name: tripleo_validations
|
||||||
|
when:
|
||||||
|
- job.enable_validation|default(false)|bool
|
||||||
|
- release not in ['queens', 'rocky', 'stein']
|
||||||
|
|
Loading…
Reference in New Issue