Skip to content
Snippets Groups Projects
Verified Commit 9afe0317 authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

Update.

parent 8801bb56
Branches
No related tags found
No related merge requests found
Pipeline #28961 passed
......@@ -34,7 +34,7 @@ PROJECT=$2
STATUSSITECONFIG=$CERTDIRPATH/appsettings.production.yml
TIMESTAMP=$(date +%s)
VERSION="1.20.11-gke.1801"
VERSION="1.21.10-gke.2000"
APIKEY=$(cat $STATUSSITECONFIG | grep "ApiKey:" | cut -d'"' -f 2)
SERVICEACC="admin-acc-$TIMESTAMP"
......@@ -70,8 +70,7 @@ gcloud beta container --project "$PROJECT" clusters create "websites-$TIMESTAMP"
--no-enable-intra-node-visibility \
--addons HorizontalPodAutoscaling,HttpLoadBalancing,GcePersistentDiskCsiDriver \
--no-enable-autoupgrade \
--enable-autorepair \
--no-shielded-integrity-monitoring
--enable-autorepair
# clear other clusters from config
rm ~/.kube/config
......@@ -158,7 +157,7 @@ echo "IMPORTANT: run ./dockerhub-retention/touch-all-images.sh !"
echo "Use these two one-liners to transfer S3 data"
echo "gsutil cp gs://OLD_BUCKET/GITLAB-BACKUP-NAME gs://NEW_BUCKET"
echo "gsutil cp \"gs://OLD_BUCKET/duplicity*\" gs://NEW_BUCKET"
echo "gsutil cp -m \"gs://OLD_BUCKET/duplicity*\" gs://NEW_BUCKET"
echo "gsutil cp gs://OLD_BUCKET/gitlab-secrets.json gs://NEW_BUCKET"
echo "Change S3 credentials in"
......
......@@ -7,7 +7,7 @@ set -e
source sources/data.sh
source .secret.sh
VALUES=( "34.133.191.140" )
VALUES=( "35.184.32.49" )
echo "Values are ${VALUES[*]}"
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment