Commit ecfef23a authored by Dmytro Bogatov's avatar Dmytro Bogatov 💕

Deploy.

parent 15d08866
Pipeline #5444 passed with stage
in 2 seconds
......@@ -32,12 +32,14 @@ source .secret.sh
CERTDIRPATH=$1
PROJECT=$2
STATUSSITECONFIG=$CERTDIRPATH/appsettings.production.yml
VERSION="1.13.10-gke.0"
VERSION="1.13.12-gke.17"
APIKEY=$(cat $STATUSSITECONFIG | grep "ApiKey:" | cut -d'"' -f 2)
SERVICEACC="admin-acc"
docker info > /dev/null
gcloud --version > /dev/null
skopeo -v > /dev/null
jq --version > /dev/null
# gcloud init
# PROVISION
......@@ -54,7 +56,7 @@ gcloud beta container --project "$PROJECT" clusters create "websites-$TIMESTAMP"
--disk-size "30" \
--metadata disable-legacy-endpoints=true \
--scopes "https://www.googleapis.com/auth/devstorage.read_only","https://www.googleapis.com/auth/logging.write","https://www.googleapis.com/auth/monitoring","https://www.googleapis.com/auth/servicecontrol","https://www.googleapis.com/auth/service.management.readonly","https://www.googleapis.com/auth/trace.append" \
--num-nodes "3" \
--num-nodes "2" \
--enable-cloud-logging \
--enable-cloud-monitoring \
--enable-ip-alias \
......
......@@ -34,8 +34,8 @@ SERVICES["visajapan-com-ua"]="registry.dbogatov.org/dbogatov/visasupport-website
SERVICES["moon-travel-com-ua"]="registry.dbogatov.org/dbogatov/nginx-proxies/moon-travel-com-ua:latest"
SERVICES["vleskniga-com"]="registry.dbogatov.org/slokot/vleskniga:latest"
SERVICES["veles-russia-com"]="registry.dbogatov.org/slokot/veles-russia:latest"
SERVICES["vleskniga-com"]="registry.dbogatov.org/dbogatov/vleskniga:latest"
SERVICES["veles-russia-com"]="registry.dbogatov.org/dbogatov/veles-russia:latest"
SERVICES["photobarrat-com"]="registry.dbogatov.org/dbogatov/nginx-proxies/photobarrat-com:latest"
SERVICES["new-photobarrat-com"]="registry.dbogatov.org/dbogatov/new-photobarrat-com:latest"
......
Markdown is supported
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