# COPYRIGHT NOTICE STARTS HERE
-# Copyright 2019 © Samsung Electronics Co., Ltd.
+# Copyright 2019-2020 © Samsung Electronics Co., Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# COPYRIGHT NOTICE ENDS HERE
#
-# This is a main wrapper script to run Molecule tests
-# Main usage is for the CI usage to keep interface stable and the way to call
+# This is a main wrapper script to run Molecule tests.
+# Main usage is for the CI to keep interface stable and the way to call
# Molecule can be adjusted in this script independently.
#
echo "Build Molecule-dev docker container"
${LOCAL_PATH}/../molecule-docker/build.sh
MOLECULE_BINARY=${LOCAL_PATH}/../bin/molecule.sh
-
else # Install Molecule natively in the target platform
echo "Install Molecule with virtualenv"
source ${LOCAL_PATH}/../bin/install-molecule.sh
cd ${ROLE_PATH}
${MOLECULE_BINARY} --version
${MOLECULE_BINARY} test --all
+docker volume prune --force
cd -
-