File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 34
34
# Ensure AWS access before proceeding
35
35
ddsaml2aws login -a govcloud-us1-fed-human-engineering
36
36
AWS_PROFILE=govcloud-us1-fed-human-engineering aws sts get-caller-identity
37
- aws-vault exec prod-engineering -- aws sts get-caller-identity
37
+ aws-vault exec sso- prod-engineering -- aws sts get-caller-identity
38
38
39
39
# Ensure pypi registry access
40
40
read -p " Do you have access to PyPI (y/n)?" CONT
@@ -64,11 +64,11 @@ echo "Building layers..."
64
64
65
65
echo
66
66
echo " Signing layers for commercial AWS regions"
67
- aws-vault exec prod-engineering -- ./scripts/sign_layers.sh prod
67
+ aws-vault exec sso- prod-engineering -- ./scripts/sign_layers.sh prod
68
68
69
69
echo
70
70
echo " Publishing layers to commercial AWS regions"
71
- VERSION=$LAYER_VERSION aws-vault exec prod-engineering -- ./scripts/publish_layers.sh
71
+ VERSION=$LAYER_VERSION aws-vault exec sso- prod-engineering -- ./scripts/publish_layers.sh
72
72
73
73
echo " Publishing layers to GovCloud AWS regions"
74
74
ddsaml2aws login -a govcloud-us1-fed-human-engineering
Original file line number Diff line number Diff line change 4
4
set -e
5
5
6
6
./scripts/build_layers.sh
7
- aws-vault exec serverless-sandbox-account-admin -- ./scripts/sign_layers.sh sandbox
8
- aws-vault exec serverless-sandbox-account-admin -- ./scripts/publish_layers.sh
7
+ aws-vault exec sso- serverless-sandbox-account-admin -- ./scripts/sign_layers.sh sandbox
8
+ aws-vault exec sso- serverless-sandbox-account-admin -- ./scripts/publish_layers.sh
9
9
10
10
# Automatically create PR against github.com/DataDog/documentation
11
11
# If you'd like to test, please uncomment the below line
Original file line number Diff line number Diff line change 2
2
3
3
# Usage - run commands from repo root:
4
4
# To check if new changes to the layer cause changes to any snapshots:
5
- # BUILD_LAYERS=true DD_API_KEY=XXXX aws-vault exec serverless-sandbox-account-admin -- ./scripts/run_integration_tests
5
+ # BUILD_LAYERS=true DD_API_KEY=XXXX aws-vault exec sso- serverless-sandbox-account-admin -- ./scripts/run_integration_tests
6
6
# To regenerate snapshots:
7
- # UPDATE_SNAPSHOTS=true DD_API_KEY=XXXX aws-vault exec serverless-sandbox-account-admin -- ./scripts/run_integration_tests
7
+ # UPDATE_SNAPSHOTS=true DD_API_KEY=XXXX aws-vault exec sso- serverless-sandbox-account-admin -- ./scripts/run_integration_tests
8
8
9
9
set -e
10
10
You can’t perform that action at this time.
0 commit comments