Commit 4ac14f7f authored by Yifei Xu's avatar Yifei Xu
Browse files

Update aws-global.yml to use blue instead of green deployment

parent a93acf95
Pipeline #94980 passed with stage
in 8 seconds
......@@ -6,17 +6,17 @@
echo "##### DEPLOYING TO EKS ######"
echo "##### USING GREEN DEPLOYMENT ######"
export AWS_INFRA_STACK_NAME="$AWS_GREEN_INFRA_STACK_NAME";
export AWS_REGION="$AWS_GREEN_REGION";
export AWS_DOMAIN="${AWS_GREEN_SUBDOMAIN}.${AWS_BASE_DOMAIN}";
export RESOURCE_PREFIX="$AWS_GREEN_RESOURCE_PREFIX";
# echo "##### USING BLUE DEPLOYMENT ######"
# export AWS_INFRA_STACK_NAME="$AWS_BLUE_INFRA_STACK_NAME";
# export AWS_REGION="$AWS_BLUE_REGION";
# export AWS_DOMAIN="${AWS_BLUE_SUBDOMAIN}.${AWS_BASE_DOMAIN}";
# export RESOURCE_PREFIX="$AWS_BLUE_RESOURCE_PREFIX";
# echo "##### USING GREEN DEPLOYMENT ######"
# export AWS_INFRA_STACK_NAME="$AWS_GREEN_INFRA_STACK_NAME";
# export AWS_REGION="$AWS_GREEN_REGION";
# export AWS_DOMAIN="${AWS_GREEN_SUBDOMAIN}.${AWS_BASE_DOMAIN}";
# export RESOURCE_PREFIX="$AWS_GREEN_RESOURCE_PREFIX";
echo "##### USING BLUE DEPLOYMENT ######"
export AWS_INFRA_STACK_NAME="$AWS_BLUE_INFRA_STACK_NAME";
export AWS_REGION="$AWS_BLUE_REGION";
export AWS_DOMAIN="${AWS_BLUE_SUBDOMAIN}.${AWS_BASE_DOMAIN}";
export RESOURCE_PREFIX="$AWS_BLUE_RESOURCE_PREFIX";
else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment