Skip to content

Commit 0630e09

Browse files
authored
use ddsaml2aws (#301)
* use ddsaml2aws * update the size check limit
1 parent 1a783e1 commit 0630e09

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

scripts/check_layer_size.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
# Compares layer size to threshold, and fails if below that threshold
99

10-
# 6 mb size limit
11-
MAX_LAYER_COMPRESSED_SIZE_KB=$(expr 6 \* 1024)
10+
# 7 mb size limit
11+
MAX_LAYER_COMPRESSED_SIZE_KB=$(expr 7 \* 1024)
1212
MAX_LAYER_UNCOMPRESSED_SIZE_KB=$(expr 24 \* 1024)
1313

1414

@@ -36,4 +36,4 @@ do
3636
echo "Unzipped size exceeded limit $MAX_LAYER_UNCOMPRESSED_SIZE_KB kb"
3737
exit 1
3838
fi
39-
done
39+
done

scripts/publish_prod.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ else
3232
fi
3333

3434
# Ensure AWS access before proceeding
35-
saml2aws login -a govcloud-us1-fed-human-engineering
35+
ddsaml2aws login -a govcloud-us1-fed-human-engineering
3636
AWS_PROFILE=govcloud-us1-fed-human-engineering aws sts get-caller-identity
3737
aws-vault exec prod-engineering -- aws sts get-caller-identity
3838

@@ -71,7 +71,7 @@ echo "Publishing layers to commercial AWS regions"
7171
VERSION=$LAYER_VERSION aws-vault exec prod-engineering -- ./scripts/publish_layers.sh
7272

7373
echo "Publishing layers to GovCloud AWS regions"
74-
saml2aws login -a govcloud-us1-fed-human-engineering
74+
ddsaml2aws login -a govcloud-us1-fed-human-engineering
7575
VERSION=$LAYER_VERSION AWS_PROFILE=govcloud-us1-fed-human-engineering ./scripts/publish_layers.sh
7676

7777
read -p "Ready to publish $NEW_VERSION to PyPI (y/n)?" CONT

0 commit comments

Comments
 (0)