Skip to content

Commit

Permalink
fix: Lambda download during worker pool recreation, remove temp file (#…
Browse files Browse the repository at this point in the history
…66)

mkdir error: "cannot create directory ‘lambda’: File exists"
unzip error: replace LICENSE? [y]es, [n]o, [A]ll, [N]one, [r]ename:  NULL
  • Loading branch information
MaxymVlasov authored Nov 15, 2023
1 parent 76d9bf0 commit 30b9619
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ code_version=$1

curl -L -o lambda.zip https://github.com/spacelift-io/ec2-workerpool-autoscaler/releases/download/${code_version}/ec2-workerpool-autoscaler_linux_amd64.zip

mkdir lambda
mkdir -p lambda
cd lambda
unzip ../lambda.zip
unzip -o ../lambda.zip
rm ../lambda.zip

0 comments on commit 30b9619

Please sign in to comment.