FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
php-lambda-layer/upload.sh at master · stackery/php-lambda-layer · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on Sep 8, 2021. It is now read-only.
stackery
/
php-lambda-layer
Public archive
Notifications
You must be signed in to change notification settings
Fork
67
Star
322
Code
Issues
16
Pull requests
7
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
php-lambda-layer
/
upload.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
17 lines (11 loc) · 368 Bytes
Breadcrumbs
php-lambda-layer
/
upload.sh
Copy path
File metadata and controls
executable file
·
17 lines (11 loc) · 368 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!
/bin/bash -e
source
regions.sh
PHP_VERSION=
"
${1}
"
LAYER=
"
php
${PHP_VERSION
//
.}
"
MD5SUM=
$(
md5 -q
"
${LAYER}
.zip
"
)
S3KEY=
"
${LAYER}
/
${MD5SUM}
"
for
region
in
"
${PHP_REGIONS[@]}
"
;
do
bucket_name=
"
stackery-layers-
${region}
"
echo
"
Uploading
${LAYER}
.zip to s3://
${bucket_name}
/
${S3KEY}
"
aws --region
$region
s3 cp
${LAYER}
.zip
"
s3://
${bucket_name}
/
${S3KEY}
"
done
Back
|
FazBrowse Home
|
New Git URL