mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-05-08 06:13:13 +00:00
Make collection tar file path version independent
Find collection TAR file by "ls". Change-Id: Icf988005258b260b51e8de7e70b344275948b40b
This commit is contained in:
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]
|
||||||
|
|||||||
Reference in New Issue
Block a user