Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bwinf
medal
Commits
0975b8d4
Commit
0975b8d4
authored
Jan 08, 2021
by
Robert Czechowski
Browse files
Update .gitlab-ci.yml: Restart more medal instances
parent
29764829
Pipeline
#951
passed with stages
in 16 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
0975b8d4
...
@@ -57,12 +57,12 @@ deploy:
...
@@ -57,12 +57,12 @@ deploy:
-
mkdir -p ~/.ssh
-
mkdir -p ~/.ssh
-
'
[[
-f
/.dockerenv
]]
&&
echo
-e
"Host
*\n\tStrictHostKeyChecking
no\n\n"
>
~/.ssh/config'
-
'
[[
-f
/.dockerenv
]]
&&
echo
-e
"Host
*\n\tStrictHostKeyChecking
no\n\n"
>
~/.ssh/config'
# Stop server and upload
# Stop server and upload
-
ssh medald@jwinf.de "sudo /bin/systemctl stop medal && sudo /bin/systemctl stop medal1"
-
ssh medald@jwinf.de "sudo /bin/systemctl stop medal && sudo /bin/systemctl stop medal1
&& sudo /bin/systemctl stop medal2 && sudo /bin/systemctl stop medal3
"
-
"
scp
target/release/medal
medald@jwinf.de:medal/"
-
"
scp
target/release/medal
medald@jwinf.de:medal/"
-
"
scp
-r
migrations
static
templates
export
target/doc
medald@jwinf.de:medal/"
-
"
scp
-r
migrations
static
templates
export
target/doc
medald@jwinf.de:medal/"
-
"
scp
-r
tasks/jwinf/wrapper.html
medald@jwinf.de:medal/tasks/jwinf/"
-
"
scp
-r
tasks/jwinf/wrapper.html
medald@jwinf.de:medal/tasks/jwinf/"
-
"
scp
-r
tasks/jwinf/pythonwrapper.html
medald@jwinf.de:medal/tasks/jwinf/"
-
"
scp
-r
tasks/jwinf/pythonwrapper.html
medald@jwinf.de:medal/tasks/jwinf/"
-
ssh medald@jwinf.de "sudo /bin/systemctl start medal && sudo /bin/systemctl start medal1"
-
ssh medald@jwinf.de "sudo /bin/systemctl start medal && sudo /bin/systemctl start medal1
&& sudo /bin/systemctl start medal2 && sudo /bin/systemctl start medal3
"
only
:
only
:
-
deploy
-
deploy
...
...
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