Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
PersonalDB
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
IQB
PersonalDB
Merge requests
!45
Bugfix/update script
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Bugfix/update script
bugfix/update_script
into
develop
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
Sven Wolter
requested to merge
bugfix/update_script
into
develop
2 years ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
0
0
Merge request reports
Compare
develop
version 1
fc0184a4
2 years ago
develop (base)
and
latest version
latest version
fc0184a4
1 commit,
2 years ago
version 1
fc0184a4
2 commits,
2 years ago
1 file
+
2
−
42
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
scripts/update.sh
+
2
−
42
Options
@@ -237,49 +237,9 @@ finalize_update() {
else
printf
"Version update applied.
\n\n
"
# application_reload --> Seems not to work with liquibase containers!
application_restart
()
fi
}
application_reload
()
{
if
command
make
-v
>
/dev/null 2>&1
;
then
read
-p
"Do you want to reload the application now? [Y/n]:"
-er
-n
1 RESTART
if
[[
!
$RESTART
=
~
[
nN]
]]
;
then
make production-ramp-up
else
echo
'Update script finished.'
exit
0
fi
else
printf
'You could start the updated docker services now.\n\n'
echo
'Update script finished.'
exit
0
fi
}
application_restart
()
{
if
command
make
-v
>
/dev/null 2>&1
;
then
read
-p
"Do you want to restart the application now? [Y/n]:"
-er
-n
1 RESTART
if
[[
!
$RESTART
=
~
[
nN]
]]
;
then
make production-shut-down
make production-ramp-up
else
echo
'Update script finished.'
exit
0
fi
else
printf
'You can restart the docker services now.\n\n'
echo
'Update script finished.'
exit
0
# application_reload --> Seems not to work with liquibase containers!
application_restart
fi
}
# Load current environment variables in .env.prod
Loading