Skip to content

Commit

Permalink
Upgrade packages to fix deploy size
Browse files Browse the repository at this point in the history
  • Loading branch information
devinmatte committed Sep 2, 2024
1 parent eeb213d commit 413644e
Show file tree
Hide file tree
Showing 3 changed files with 205 additions and 177 deletions.
1 change: 1 addition & 0 deletions devops/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ shrink
maximumsize=79100000
actualsize=$(wc -c <"cfn/layer-deployment.zip")
difference=$(expr $actualsize - $maximumsize)
echo "layer-deployment.zip is $actualsize bytes"
if [ $actualsize -ge $maximumsize ]; then
echo ""
echo "layer-deployment.zip is over $maximumsize bytes. Shrink the package by $difference bytes to be able to deploy"
Expand Down
Loading

0 comments on commit 413644e

Please sign in to comment.