Revert "Remove dind in ci tests (#8529)" (#8547)

This reverts commit 4cc0099eee.
This commit is contained in:
Ricardo Katz 2022-05-04 08:57:51 -03:00 committed by GitHub
parent 5a7d053c6f
commit a5a59f18e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,10 @@ else
PLATFORM_FLAG= PLATFORM_FLAG=
fi fi
docker run \ if [[ "$DOCKER_IN_DOCKER_ENABLED" == "true" ]]; then
/bin/bash -c "${FLAGS}"
else
docker run \
${PLATFORM_FLAG} ${PLATFORM} \ ${PLATFORM_FLAG} ${PLATFORM} \
--tty \ --tty \
--rm \ --rm \
@ -78,3 +81,4 @@ docker run \
-w "/go/src/${PKG}" \ -w "/go/src/${PKG}" \
-u $(id -u ${USER}):$(id -g ${USER}) \ -u $(id -u ${USER}):$(id -g ${USER}) \
${E2E_IMAGE} /bin/bash -c "${FLAGS}" ${E2E_IMAGE} /bin/bash -c "${FLAGS}"
fi