Skip to content

Commit 57e1290

Browse files
committed
rather log in when starting the envs
1 parent a106e63 commit 57e1290

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.evergreen/connectivity-tests/run.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ set -e
66
MONOREPO_ROOT_DIR="$(cd $(dirname "$0")/../..; pwd)"
77
cd $MONOREPO_ROOT_DIR
88

9-
echo "${DOCKERHUB_PASSWORD}" | docker login -u ${DOCKERHUB_USERNAME} --password-stdin
10-
119
echo "building connectivity tests image from ${PWD}"
1210
docker build -t devtools-connectivity-tests --build-arg "NODE_JS_VERSION=$NODE_JS_VERSION" -f "./.evergreen/connectivity-tests/Dockerfile" .
1311
echo "connectivity tests image built"

.evergreen/start-docker-envs.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ if [ "$HAS_DOCKER" = true ]; then
3333
docker version
3434
$DOCKER_COMPOSE version
3535

36+
echo "Logging in to docker"
37+
echo "${DOCKERHUB_PASSWORD}" | docker login -u ${DOCKERHUB_USERNAME} --password-stdin
38+
3639
echo "Starting test environments"
3740

3841
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"

0 commit comments

Comments
 (0)