mirror of https://github.com/OpenVidu/openvidu.git
Deployments: createAMI.sh script back to normal for CE
parent
11129e25b8
commit
ab55e4d046
|
@ -4,9 +4,9 @@ set -eu -o pipefail
|
||||||
CF_RELEASE=${CF_RELEASE:-false}
|
CF_RELEASE=${CF_RELEASE:-false}
|
||||||
AWS_KEY_NAME=${AWS_KEY_NAME:-}
|
AWS_KEY_NAME=${AWS_KEY_NAME:-}
|
||||||
|
|
||||||
# if [[ $CF_RELEASE == "true" ]]; then
|
if [[ $CF_RELEASE == "true" ]]; then
|
||||||
# git checkout v$OPENVIDU_VERSION
|
git checkout v$OPENVIDU_VERSION
|
||||||
# fi
|
fi
|
||||||
|
|
||||||
export AWS_DEFAULT_REGION=eu-west-1
|
export AWS_DEFAULT_REGION=eu-west-1
|
||||||
|
|
||||||
|
@ -14,9 +14,6 @@ DATESTAMP=$(date +%s)
|
||||||
TEMPJSON=$(mktemp -t cloudformation-XXX --suffix .json)
|
TEMPJSON=$(mktemp -t cloudformation-XXX --suffix .json)
|
||||||
|
|
||||||
# Get Latest Ubuntu AMI id from specified region
|
# Get Latest Ubuntu AMI id from specified region
|
||||||
# Parameters
|
|
||||||
# $1 Aws region
|
|
||||||
|
|
||||||
getUbuntuAmiId() {
|
getUbuntuAmiId() {
|
||||||
local AMI_ID=$(
|
local AMI_ID=$(
|
||||||
aws --region ${1} ec2 describe-images \
|
aws --region ${1} ec2 describe-images \
|
||||||
|
|
Loading…
Reference in New Issue