Skip to content

Update scripts and signing bucket name #273

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

Merged
merged 1 commit into from
Nov 29, 2022
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
4 changes: 2 additions & 2 deletions scripts/publish_sandbox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
set -e

./scripts/build_layers.sh
aws-vault exec sandbox-account-admin -- ./scripts/sign_layers.sh sandbox
aws-vault exec sandbox-account-admin -- ./scripts/publish_layers.sh
aws-vault exec serverless-sandbox-account-admin -- ./scripts/sign_layers.sh sandbox
aws-vault exec serverless-sandbox-account-admin -- ./scripts/publish_layers.sh

# Automatically create PR against github.com/DataDog/documentation
# If you'd like to test, please uncomment the below line
Expand Down
4 changes: 2 additions & 2 deletions scripts/run_integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

# Usage - run commands from repo root:
# To check if new changes to the layer cause changes to any snapshots:
# BUILD_LAYERS=true DD_API_KEY=XXXX aws-vault exec sandbox-account-admin -- ./scripts/run_integration_tests
# BUILD_LAYERS=true DD_API_KEY=XXXX aws-vault exec serverless-sandbox-account-admin -- ./scripts/run_integration_tests
# To regenerate snapshots:
# UPDATE_SNAPSHOTS=true DD_API_KEY=XXXX aws-vault exec sandbox-account-admin -- ./scripts/run_integration_tests
# UPDATE_SNAPSHOTS=true DD_API_KEY=XXXX aws-vault exec serverless-sandbox-account-admin -- ./scripts/run_integration_tests

set -e

Expand Down
2 changes: 1 addition & 1 deletion scripts/sign_layers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if [[ ! "${VALID_ACCOUNTS[@]}" =~ $1 ]]; then
fi
if [ "$1" = "sandbox" ]; then
REGION="sa-east-1"
S3_BUCKET_NAME="dd-lambda-signing-bucket-sandbox"
S3_BUCKET_NAME="dd-lambda-signing-bucket-serverless-sandbox"
fi
if [ "$1" = "prod" ]; then
REGION="us-east-1"
Expand Down