Skip to content

Commit

Permalink
Fix and speed up publish_sandbox (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhinsch authored Sep 3, 2021
1 parent 447246d commit 64adacd
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions scripts/publish_sandbox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
#!/bin/bash
set -e

# Move into the scripts directory
# Move into the root directory
SCRIPTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd $SCRIPTS_DIR
cd $SCRIPTS_DIR/..

./build_binary_and_layer_dockerized.sh
aws-vault exec sandbox-account-admin -- ./sign_layers.sh sandbox
REGIONS=sa-east-1 aws-vault exec sandbox-account-admin -- ./publish_layers.sh
./scripts/build_binary_and_layer_dockerized.sh
REGIONS=sa-east-1 aws-vault exec sandbox-account-admin -- ./scripts/publish_layers.sh

0 comments on commit 64adacd

Please sign in to comment.