[verify gates] split tasks & use `rally env` instead of `rally deployment`

Change-Id: I956699e842770880443de77bc2b564a42b29fd0e
This commit is contained in:
chenhb 2019-04-03 09:52:27 +08:00
parent c7483386e6
commit 7bf9a74ded
1 changed files with 10 additions and 5 deletions

View File

@ -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
executable: /bin/bash