Make collection tar file path version independent
Find collection TAR file by "ls". Change-Id: Icf988005258b260b51e8de7e70b344275948b40b
This commit is contained in:
parent
6ac08e7f0e
commit
57b76835c9
2
tox.ini
2
tox.ini
@ -29,7 +29,7 @@ commands =
|
|||||||
passenv = *
|
passenv = *
|
||||||
commands =
|
commands =
|
||||||
ansible-galaxy collection build --force {toxinidir} --output-path {toxinidir}/build_artifact
|
ansible-galaxy collection build --force {toxinidir} --output-path {toxinidir}/build_artifact
|
||||||
ansible-galaxy collection install {toxinidir}/build_artifact/openstack-cloud-1.0.0.tar.gz --force -p {toxinidir}
|
/bin/bash -c "ansible-galaxy collection install $(ls {toxinidir}/build_artifact/openstack-cloud-*) --force -p {toxinidir}"
|
||||||
/bin/bash -c "cd ansible_collections/openstack/cloud && ansible-test sanity"
|
/bin/bash -c "cd ansible_collections/openstack/cloud && ansible-test sanity"
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user