Browse Source

Run config verification and update enabled extensions list before test

Change-Id: If1528bd1346d4290eb904c84cc3b38c3fb5521de
changes/27/609727/5
Kamil Mankowski 7 months ago
parent
commit
51b6ffedf9
1 changed files with 11 additions and 0 deletions
  1. 11
    0
      playbooks/zuul/noc-tempest.yaml

+ 11
- 0
playbooks/zuul/noc-tempest.yaml View File

@@ -11,6 +11,7 @@
11 11
   pre_tasks:
12 12
     - set_fact:
13 13
         devstack_openrc: "{{ devstack_base_dir }}/devstack/openrc"
14
+        tempest_dir: "{{ devstack_base_dir }}/tempest"
14 15
         tempest_conf: "{{ devstack_base_dir }}/tempest/etc/tempest.conf"
15 16
 
16 17
     - name: Create Public external network
@@ -39,6 +40,16 @@
39 40
       args:
40 41
         executable: /bin/bash
41 42
 
43
+    - name: Verify tempest config and update extensions list
44
+      become: yes
45
+      shell: |
46
+        set -e
47
+        set -x
48
+        tempest verify-config --replace-ext --update --output {{ tempest_conf }}
49
+      args:
50
+        chdir: "{{ tempest_dir }}"
51
+        executable: /bin/bash
52
+
42 53
     - name: Set ext-public network as tempest public_network_id
43 54
       become: yes
44 55
       shell: |

Loading…
Cancel
Save