Merge "[ci] run osresources script from proper python binary"
This commit is contained in:
commit
812e495e4c
@ -1,7 +1,15 @@
|
|||||||
- name: Check OpenStack resources after Rally launch
|
- name: Check OpenStack resources after Rally launch
|
||||||
become: yes
|
become: yes
|
||||||
become_user: stack
|
become_user: stack
|
||||||
shell: "python ./tests/ci/osresources.py --compare-with-list {{ rally_resources_at_start }}"
|
shell:
|
||||||
|
cmd: |
|
||||||
|
pip3 freeze | grep rally > /dev/null
|
||||||
|
if [ "$?" = "0" ]; then
|
||||||
|
PYTHON=python3
|
||||||
|
else
|
||||||
|
PYTHON=python
|
||||||
|
fi
|
||||||
|
$PYTHON ./tests/ci/osresources.py --compare-with-list {{ rally_resources_at_start }}
|
||||||
args:
|
args:
|
||||||
chdir: "{{ zuul.projects['git.openstack.org/openstack/rally-openstack'].src_dir }}"
|
chdir: "{{ zuul.projects['git.openstack.org/openstack/rally-openstack'].src_dir }}"
|
||||||
register: command_result
|
register: command_result
|
||||||
|
@ -1,6 +1,14 @@
|
|||||||
- name: Dump all available OpenStack resources
|
- name: Dump all available OpenStack resources
|
||||||
become: yes
|
become: yes
|
||||||
become_user: stack
|
become_user: stack
|
||||||
shell: "python ./tests/ci/osresources.py --dump-list {{ rally_resources_at_start }}"
|
shell:
|
||||||
|
cmd: |
|
||||||
|
pip3 freeze | grep rally > /dev/null
|
||||||
|
if [ "$?" = "0" ]; then
|
||||||
|
PYTHON=python3
|
||||||
|
else
|
||||||
|
PYTHON=python
|
||||||
|
fi
|
||||||
|
$PYTHON ./tests/ci/osresources.py --dump-list {{ rally_resources_at_start }}
|
||||||
args:
|
args:
|
||||||
chdir: "{{ zuul.projects['git.openstack.org/openstack/rally-openstack'].src_dir }}"
|
chdir: "{{ zuul.projects['git.openstack.org/openstack/rally-openstack'].src_dir }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user