Skip to content

Commit

Permalink
Make collection tar file path version independent
Browse files Browse the repository at this point in the history
Find collection TAR file by "ls".
Change-Id: Icf988005258b260b51e8de7e70b344275948b40b
  • Loading branch information
sshnaidm committed Jan 19, 2020
1 parent 6ac08e7 commit 57b7683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ commands =
passenv = *
commands =
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"

[testenv:venv]
Expand Down

0 comments on commit 57b7683

Please sign in to comment.