From 7bf9a74ded845acd2ee27211eb576f8f79f3902f Mon Sep 17 00:00:00 2001 From: chenhb Date: Wed, 3 Apr 2019 09:52:27 +0800 Subject: [PATCH] [verify gates] split tasks & use `rally env` instead of `rally deployment` Change-Id: I956699e842770880443de77bc2b564a42b29fd0e --- tests/ci/playbooks/run-rally-verify.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/tests/ci/playbooks/run-rally-verify.yaml b/tests/ci/playbooks/run-rally-verify.yaml index ea9fe6e5..9163ef4a 100644 --- a/tests/ci/playbooks/run-rally-verify.yaml +++ b/tests/ci/playbooks/run-rally-verify.yaml @@ -4,13 +4,18 @@ - hosts: controller tasks: + - name: Prepare env deployment for tempest + shell: + cmd: | + . /opt/stack/.rally/openrc admin admin + export OS_CACERT=/opt/stack/data/ca-bundle.pem + rally env create --from-sysenv --name tempest + rally env check + executable: /bin/bash + - name: Run Rally verify shell: cmd: | cd {{ zuul.project.src_dir }} - . /opt/stack/.rally/openrc admin admin - export OS_CACERT=/opt/stack/data/ca-bundle.pem - rally deployment create --fromenv --name tempest - rally deployment config python tests/ci/rally_verify.py - executable: /bin/bash \ No newline at end of file + executable: /bin/bash