mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
DCD-386: Enable Bitbucket Pipelines testing with Molecule.
This commit is contained in:
@@ -2,9 +2,14 @@
|
||||
|
||||
set -e
|
||||
|
||||
# Use Ansible from virtualenv if provided
|
||||
if [[ -f .venv/bin/ansible ]]; then
|
||||
source .venv/bin/activate
|
||||
pip install molecule docker
|
||||
fi
|
||||
|
||||
for role in `find roles/ -name molecule`; do
|
||||
pushd `dirname $role`
|
||||
molecule test --all
|
||||
popd
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user