summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Pilat <m.pilat@partner.samsung.com>2019-04-30 15:16:33 +0200
committerMateusz Pilat <m.pilat@partner.samsung.com>2019-04-30 15:16:53 +0200
commit3dc563b8f1d42daf3e6455b40b63525c37001bad (patch)
tree870da967b45cdd72d5580989dd77f073a576949a
parentee157b53be7c176081aed96a74fe8ff09b208cb8 (diff)
Fix docker run in ansible/test/bin/molecule.sh.
-it in docker run does not work well with jenkins Change-Id: Ic1bfedfb64e0a862aa9d49b5615048b9eccf9670 Issue-ID: OOM-1833 Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
-rwxr-xr-xansible/test/bin/molecule.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/test/bin/molecule.sh b/ansible/test/bin/molecule.sh
index d983ca08..72dce6d9 100755
--- a/ansible/test/bin/molecule.sh
+++ b/ansible/test/bin/molecule.sh
@@ -42,7 +42,7 @@ MOLECULE_IMAGE=${MOLECULE_IMAGE:-molecule-dev}
MOLECULE_IMAGE_VERSION=${MOLECULE_IMAGE_VERSION:-2.20.0}
echo "Running molecule image: ${MOLECULE_IMAGE}:${MOLECULE_IMAGE_VERSION}"
MOLECULE_CMD=${MOLECULE_CMD:-molecule}
-docker run --rm -it \
+docker run --rm \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ${ROOT_DIR}:${CONTAINER_ROOT}:rw \
-w ${CONTAINER_ROOT}/${PROJECT_ROOT_IN_CONTAINER} \