Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: try fix boxes-blank #2539

Merged
merged 2 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions yarn-project/boxes/blank-react/run_tests
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 9 additions & 5 deletions yarn-project/boxes/blank/run_tests
Original file line number Diff line number Diff line change
Expand Up @@ -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
docker-compose -f $COMPOSE_FILE up --exit-code-from boxes-blank
11 changes: 7 additions & 4 deletions yarn-project/boxes/private-token/run_tests
Original file line number Diff line number Diff line change
Expand Up @@ -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