Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
EXSYS2021
da6
Hold Afstand
Commits
d8d36db2
Commit
d8d36db2
authored
May 04, 2021
by
johandegn
Browse files
Fixed comments in scripts
parent
f3301ee1
Pipeline
#52015
passed with stage
in 40 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
server/deploy.sh
View file @
d8d36db2
#!/bin/bash
# this script pulls the docker images and
# deploys them respectively if they are
# newer than the ones running.
# this script can be run at any time,
# and will only change the running
# containers if newer ones are available.
function
deploy
{
local
url
=
$1
...
...
server/redeploy.sh
View file @
d8d36db2
#!/bin/bash
# ----- CAUTION!!! -----
# This script removes
all
running
containers,
#
all local docker images and all unused
# docker network
s
.
# This script
stops and
removes
the
running
web and server
#
containers, removes their images and the persist-net
# docker network.
#
# It then reconfigur
ing
the network download
ing
# the images and redeploys them.
# It then reconfigur
es
the network
,
download
# the images and redeploys them
again
.
base_url
=
"registry.gitlab.au.dk/exsys2021/da6/hold-afstand/"
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment