Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Setup-Manager
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dmytro Bogatov
Setup-Manager
Commits
57bb5965
Commit
57bb5965
authored
May 6, 2023
by
Dmytro Bogatov
Browse files
Options
Downloads
Patches
Plain Diff
New cluster.
parent
fd540aa0
No related branches found
No related tags found
No related merge requests found
Pipeline
#48958
passed
May 6, 2023
Stage: build
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
infra/script.sh
+4
-3
4 additions, 3 deletions
infra/script.sh
infra/set-dns.sh
+1
-1
1 addition, 1 deletion
infra/set-dns.sh
infra/sources/data.sh
+1
-2
1 addition, 2 deletions
infra/sources/data.sh
with
6 additions
and
6 deletions
infra/script.sh
+
4
−
3
View file @
57bb5965
...
...
@@ -72,6 +72,7 @@ docker login -u $EMAIL -p "$DOCKERPASS" registry.dbogatov.org
k8s_version
=
$(
get_gcp_k8s_version
$VERSION
)
echo
"Will deploy K8S
$k8s_version
"
echo
"Enabling K8S API, may take a while..."
gcloud services
enable
container.googleapis.com
--project
"
$PROJECT
"
gcloud beta container
--project
"
$PROJECT
"
clusters create
"websites-
$TIMESTAMP
"
\
...
...
@@ -182,15 +183,15 @@ 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 -m
\"
gs://OLD_BUCKET/duplicity*
\"
gs://NEW_BUCKET"
echo
"gsutil
-m cp
\"
gs://OLD_BUCKET/duplicity*
\"
gs://NEW_BUCKET"
echo
"gsutil cp gs://OLD_BUCKET/gitlab-secrets.json gs://NEW_BUCKET"
echo
"Change S3 credentials in"
echo
" - gitlab.rb"
echo
" - s3cmd on gitlab server"
echo
" - mailinabox"
echo
" - mailinabox
(host: storage.googleapis.com)
"
echo
"Upload SSL certificates to (if needed)"
echo
" - gitlab"
echo
" - cluster"
echo
" - s
l
aix"
echo
" - sa
l
ix"
This diff is collapsed.
Click to expand it.
infra/set-dns.sh
+
1
−
1
View file @
57bb5965
...
...
@@ -7,7 +7,7 @@ set -e
source
sources/data.sh
source
.secret.sh
VALUES
=(
"
104.198.35.72
"
)
VALUES
=(
"
34.30.186.254
"
)
echo
"Values are
${
VALUES
[*]
}
"
#
...
...
This diff is collapsed.
Click to expand it.
infra/sources/data.sh
+
1
−
2
View file @
57bb5965
...
...
@@ -24,9 +24,8 @@ SERVICES["bplustree-dbogatov-org"]="registry.dbogatov.org/bu/epsolute/b-plus-tre
SERVICES[
"dcpe-dbogatov-org"
]=
"registry.dbogatov.org/bu/private-knn/scheme:master"
SERVICES[
"bogatova-org"
]=
"registry.dbogatov.org/bogatova/personal-website:latest"
SERVICES[
"new-bogatova-org"
]=
"registry.dbogatov.org/bogatova/research-website:latest"
SERVICES[
"qr-bogatova-org"
]=
"registry.dbogatov.org/dbogatov/qr-web-renderer:latest"
# TODO: update
SERVICES[
"new-bogatova-org"
]=
"registry.dbogatov.org/wpi/research-website:latest"
SERVICES[
"shevastream-com"
]=
"registry.dbogatov.org/dbogatov/shevastream:master"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment