Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Hold Afstand
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EXSYS2021
da6
Hold Afstand
Commits
d8d36db2
Commit
d8d36db2
authored
3 years ago
by
johandegn
Browse files
Options
Downloads
Patches
Plain Diff
Fixed comments in scripts
parent
f3301ee1
No related branches found
No related tags found
2 merge requests
!29
Release of Prototype
,
!17
Deploy Scripts
Pipeline
#52015
passed
3 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
server/deploy.sh
+6
-0
6 additions, 0 deletions
server/deploy.sh
server/redeploy.sh
+5
-5
5 additions, 5 deletions
server/redeploy.sh
with
11 additions
and
5 deletions
server/deploy.sh
+
6
−
0
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
...
...
This diff is collapsed.
Click to expand it.
server/redeploy.sh
+
5
−
5
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/"
...
...
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