summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Mankowski <kamil.mankowski@codilime.com>2018-10-11 16:41:56 +0200
committerKamil Mankowski <kamil.mankowski@codilime.com>2018-10-12 14:30:59 +0200
commit51b6ffedf9d3035acd6c38188dfb0b2838675c00 (patch)
treef65cf6c6717781d47efd9b8afe89e8a4b51de29b
parent0d44272f68c3e0db13eab532fd768fa75b21648a (diff)
Run config verification and update enabled extensions list before test
Notes
Notes (review): Code-Review+1: Pawel Zadrozny <pawel.zny@gmail.com> Code-Review+1: Maciej Jagiello <maciej.jagiello@codilime.com> Code-Review+2: Sukhdev Kapur <sukhdevkapur@gmail.com> Workflow+1: Sukhdev Kapur <sukhdevkapur@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 16 Oct 2018 00:57:48 +0000 Reviewed-on: https://review.openstack.org/609727 Project: openstack/networking-opencontrail Branch: refs/heads/master
-rw-r--r--playbooks/zuul/noc-tempest.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/playbooks/zuul/noc-tempest.yaml b/playbooks/zuul/noc-tempest.yaml
index 3ccead1..7a47f83 100644
--- a/playbooks/zuul/noc-tempest.yaml
+++ b/playbooks/zuul/noc-tempest.yaml
@@ -11,6 +11,7 @@
11 pre_tasks: 11 pre_tasks:
12 - set_fact: 12 - set_fact:
13 devstack_openrc: "{{ devstack_base_dir }}/devstack/openrc" 13 devstack_openrc: "{{ devstack_base_dir }}/devstack/openrc"
14 tempest_dir: "{{ devstack_base_dir }}/tempest"
14 tempest_conf: "{{ devstack_base_dir }}/tempest/etc/tempest.conf" 15 tempest_conf: "{{ devstack_base_dir }}/tempest/etc/tempest.conf"
15 16
16 - name: Create Public external network 17 - name: Create Public external network
@@ -39,6 +40,16 @@
39 args: 40 args:
40 executable: /bin/bash 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 - name: Set ext-public network as tempest public_network_id 53 - name: Set ext-public network as tempest public_network_id
43 become: yes 54 become: yes
44 shell: | 55 shell: |