-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replaced go get ginkgo with go install ginkgo for DIND environ (#8569)
- Loading branch information
1 parent
7402d51
commit fc58e92
Showing
2 changed files
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,18 +62,25 @@ else | |
PLATFORM_FLAG= | ||
fi | ||
|
||
env && hostname && uname -a | ||
echo "..printing env & other vars to stdout" | ||
echo "HOSTNAME=`hostname`" | ||
uname -a | ||
env | ||
echo "DIND_ENABLED=$DOCKER_IN_DOCKER_ENABLED" | ||
echo "FLAGS=$FLAGS" | ||
echo "PLATFORM=$PLATFORM" | ||
echo "PLATFORM_FLAG=$PLATFORM_FLAG" | ||
echo "done..printing env & other vars to stdout" | ||
|
||
if [[ "$DOCKER_IN_DOCKER_ENABLED" == "true" ]]; then | ||
echo "..reached DIND check TRUE block, inside run-in-docker.sh. Checking environ" | ||
go get github.com/onsi/ginkgo/[email protected] | ||
echo "..reached DIND check TRUE block, inside run-in-docker.sh" | ||
echo "FLAGS=$FLAGS" | ||
go env | ||
set -x | ||
go install -mod=mod github.com/onsi/ginkgo/[email protected] | ||
find / -type f -name ginkgo 2>/dev/null | ||
which ginkgo | ||
/bin/bash -c "${FLAGS}" | ||
set +x | ||
else | ||
echo "..reached DIND check ELSE block, inside run-in-docker.sh. Checking environ" | ||
echo "..reached DIND check ELSE block, inside run-in-docker.sh" | ||
docker run \ | ||
${PLATFORM_FLAG} ${PLATFORM} \ | ||
--tty \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters