diff --git a/yarn-project/boxes/blank-react/run_tests b/yarn-project/boxes/blank-react/run_tests index 8c0f749411d..86800b07a90 100755 --- a/yarn-project/boxes/blank-react/run_tests +++ b/yarn-project/boxes/blank-react/run_tests @@ -10,12 +10,15 @@ cd `dirname $0` export COMPOSE_FILE=${1:-docker-compose.yml} ecr_login +REPO=aztec-sandbox +echo "pulling docker image for $REPO $(calculate_image_uri $REPO)-x86_64" +retry docker pull $(calculate_image_uri $REPO)-x86_64 +retry docker tag $(calculate_image_uri $REPO)-x86_64 aztecprotocol/$REPO:latest -for REPO in aztec-sandbox yarn-project; do +REPO=yarn-project echo "pulling docker image for $REPO $(calculate_image_uri $REPO)" - retry docker pull $(calculate_image_uri $REPO) - retry docker tag $(calculate_image_uri $REPO) aztecprotocol/$REPO:latest -done +retry docker pull $(calculate_image_uri $REPO) +retry docker tag $(calculate_image_uri $REPO) aztecprotocol/$REPO:latest docker-compose rm -f docker-compose -f $COMPOSE_FILE up --exit-code-from boxes-blank-react \ No newline at end of file diff --git a/yarn-project/boxes/blank/run_tests b/yarn-project/boxes/blank/run_tests index 38f9e5ffc4d..5037c7617cb 100755 --- a/yarn-project/boxes/blank/run_tests +++ b/yarn-project/boxes/blank/run_tests @@ -11,11 +11,15 @@ export COMPOSE_FILE=${1:-docker-compose.yml} ecr_login -for REPO in aztec-sandbox yarn-project; do +REPO=aztec-sandbox +echo "pulling docker image for $REPO $(calculate_image_uri $REPO)-x86_64" +retry docker pull $(calculate_image_uri $REPO)-x86_64 +retry docker tag $(calculate_image_uri $REPO)-x86_64 aztecprotocol/$REPO:latest + +REPO=yarn-project echo "pulling docker image for $REPO $(calculate_image_uri $REPO)" - retry docker pull $(calculate_image_uri $REPO) - retry docker tag $(calculate_image_uri $REPO) aztecprotocol/$REPO:latest -done +retry docker pull $(calculate_image_uri $REPO) +retry docker tag $(calculate_image_uri $REPO) aztecprotocol/$REPO:latest docker-compose rm -f -docker-compose -f $COMPOSE_FILE up --exit-code-from boxes-blank \ No newline at end of file +docker-compose -f $COMPOSE_FILE up --exit-code-from boxes-blank diff --git a/yarn-project/boxes/private-token/run_tests b/yarn-project/boxes/private-token/run_tests index 9c0fcae34bb..b3c100dd24c 100755 --- a/yarn-project/boxes/private-token/run_tests +++ b/yarn-project/boxes/private-token/run_tests @@ -10,12 +10,15 @@ cd `dirname $0` export COMPOSE_FILE=${1:-docker-compose.yml} ecr_login +REPO=aztec-sandbox +echo "pulling docker image for $REPO $(calculate_image_uri $REPO)-x86_64" +retry docker pull $(calculate_image_uri $REPO)-x86_64 +retry docker tag $(calculate_image_uri $REPO)-x86_64 aztecprotocol/$REPO:latest -for REPO in aztec-sandbox yarn-project; do +REPO=yarn-project echo "pulling docker image for $REPO $(calculate_image_uri $REPO)" - retry docker pull $(calculate_image_uri $REPO) - retry docker tag $(calculate_image_uri $REPO) aztecprotocol/$REPO:latest -done +retry docker pull $(calculate_image_uri $REPO) +retry docker tag $(calculate_image_uri $REPO) aztecprotocol/$REPO:latest docker-compose rm -f docker-compose -f $COMPOSE_FILE up --exit-code-from boxes-private-token \ No newline at end of file