-
Notifications
You must be signed in to change notification settings - Fork 500
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mount google-cloud-sdk into e2e image
- Loading branch information
Showing
3 changed files
with
30 additions
and
0 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
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# Add default command if no command provided or the first argument is an | ||
# option. | ||
if [ $# -lt 1 -o "${1:0:1}" = '-' ]; then | ||
set -- /usr/local/bin/ginkgo "$@" | ||
fi | ||
|
||
# If google-cloud-sdk is detected, install it. | ||
if [ -d /google-cloud-sdk ]; then | ||
source /google-cloud-sdk/path.bash.inc | ||
export CLOUDSDK_CORE_DISABLE_PROMPTS=1 | ||
fi | ||
|
||
exec "$@" |