| Ghanshyam | a0b8ca4 | 2019-07-17 09:46:41 +0000 | [diff] [blame] | 1 | # Changes that run through devstack-tempest-ipv6 are likely to have an impact on | 
|  | 2 | # the devstack part of the job, so we keep devstack in the main play to | 
|  | 3 | # avoid zuul retrying on legitimate failures. | 
|  | 4 | - hosts: all | 
|  | 5 | roles: | 
|  | 6 | - orchestrate-devstack | 
|  | 7 |  | 
|  | 8 | # We run tests only on one node, regardless how many nodes are in the system | 
|  | 9 | - hosts: tempest | 
| Ghanshyam | a0b8ca4 | 2019-07-17 09:46:41 +0000 | [diff] [blame] | 10 | roles: | 
|  | 11 | - setup-tempest-run-dir | 
|  | 12 | - setup-tempest-data-dir | 
|  | 13 | - acl-devstack-files | 
|  | 14 | # Verify the IPv6-only deployments. This role will perform check for | 
|  | 15 | # IPv6 only env for example Devstack IPv6 settings and services listen | 
|  | 16 | # address is IPv6 etc. This is invoked before tests are run so that we can | 
|  | 17 | # fail early if anything missing the IPv6 settings or deployments. | 
| Radosław Piliszek | 151cd7b | 2021-06-07 17:48:07 +0000 | [diff] [blame] | 18 | - devstack-ipv6-only-deployments-verification | 
| Ghanshyam Mann | 1e4cb1d | 2021-04-21 18:25:18 -0500 | [diff] [blame] | 19 | tasks: | 
| Luigi Dino Tamagnone | 9052dfc | 2023-04-09 15:24:45 +0000 | [diff] [blame] | 20 | - name: Run tempest cleanup init-saved-state | 
|  | 21 | include_role: | 
|  | 22 | name: tempest-cleanup | 
|  | 23 | vars: | 
|  | 24 | init_saved_state: true | 
|  | 25 | when: (run_tempest_dry_cleanup is defined and run_tempest_dry_cleanup | bool) or | 
|  | 26 | (run_tempest_cleanup is defined and run_tempest_cleanup | bool) or | 
|  | 27 | (run_tempest_fail_if_leaked_resources is defined and run_tempest_fail_if_leaked_resources | bool) or | 
|  | 28 | (run_tempest_cleanup_prefix is defined and run_tempest_cleanup_prefix | bool) | 
|  | 29 |  | 
| Ghanshyam Mann | 1e4cb1d | 2021-04-21 18:25:18 -0500 | [diff] [blame] | 30 | - name: Run Tempest version <= 26.0.0 | 
|  | 31 | include_role: | 
|  | 32 | name: run-tempest-26 | 
|  | 33 | when: | 
|  | 34 | - zuul.branch is defined | 
|  | 35 | - zuul.branch in ["stable/ocata", "stable/pike", "stable/queens", "stable/rocky", "stable/stein"] | 
|  | 36 |  | 
|  | 37 | - name: Run Tempest | 
|  | 38 | include_role: | 
|  | 39 | name: run-tempest | 
|  | 40 | when: | 
|  | 41 | - zuul.branch is defined | 
|  | 42 | - zuul.branch not in ["stable/ocata", "stable/pike", "stable/queens", "stable/rocky", "stable/stein"] | 
| Luigi Dino Tamagnone | 9052dfc | 2023-04-09 15:24:45 +0000 | [diff] [blame] | 43 |  | 
|  | 44 | - name: Run tempest cleanup dry-run | 
|  | 45 | include_role: | 
|  | 46 | name: tempest-cleanup | 
|  | 47 | vars: | 
|  | 48 | dry_run: true | 
|  | 49 | when: run_tempest_dry_cleanup is defined and run_tempest_dry_cleanup | bool | 
|  | 50 |  | 
|  | 51 | - name: Run tempest cleanup | 
|  | 52 | include_role: | 
|  | 53 | name: tempest-cleanup | 
|  | 54 | when: run_tempest_cleanup is defined and run_tempest_cleanup | bool |