Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Dmytro Bogatov
Setup-Manager
Commits
76721f5d
Commit
76721f5d
authored
Sep 07, 2019
by
Dmytro Bogatov
💕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provision sep19.
parent
b3c0fd48
Pipeline
#5135
passed with stage
in 29 seconds
Changes
2
Pipelines
60
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
infra/script.sh
infra/script.sh
+2
-2
lets-encrypt/domains.sh
lets-encrypt/domains.sh
+1
-0
No files found.
infra/script.sh
View file @
76721f5d
...
...
@@ -42,7 +42,7 @@ CERTDIRPATH=$1
NAME
=
$2
KEBEFILE
=
"--kubeconfig=
${
CWD
}
/kubeconfig.yaml"
STATUSSITECONFIG
=
$CERTDIRPATH
/appsettings.production.yml
VERSION
=
"1.1
2
.10-do.1"
VERSION
=
"1.1
3
.10-do.1"
APIKEY
=
$(
cat
$STATUSSITECONFIG
|
grep
"ApiKey:"
|
cut
-d
'"'
-f
2
)
docker info
>
/dev/null
...
...
@@ -108,7 +108,7 @@ kubectl $KEBEFILE --validate=false apply -f https://raw.githubusercontent.com/di
echo
"Deploying websites' settings"
kubectl
$KEBEFILE
create secret
-n
status-site generic appsettings.production.yml
--from-file
=
$STATUSSITECONFIG
||
true
# may exist
kubectl
$KEBEFILE
create secret
-n
websites generic shevastream-appsettings
--from-file
=
appsettings
=
sources/shevastream/appsettings.json
kubectl
$KEBEFILE
create secret
-n
websites generic shevastream-appsettings
--from-file
=
appsettings
=
sources/shevastream/appsettings.json
||
true
# may exist
echo
"Generating config files"
...
...
lets-encrypt/domains.sh
View file @
76721f5d
...
...
@@ -10,6 +10,7 @@ DOMAINS["__MAIN__"]=true
DOMAINS[
"cluster.__MAIN__"
]=
false
DOMAINS[
"pages.__MAIN__"
]=
false
DOMAINS[
"review.__MAIN__"
]=
false
DOMAINS[
"vpn.__MAIN__"
]=
false
DOMAINS[
"netwatch.app"
]=
true
# DOMAINS["orlova.app"]=true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment