Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Imldeployment Client
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
Imldeployment Client
Merge requests
!1
support custom phase per project
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
support custom phase per project
5927-overide-phase-per-project
into
master
Overview
0
Commits
5
Pipelines
0
Changes
1
Merged
Hahn Axel (hahn)
requested to merge
5927-overide-phase-per-project
into
master
2 years ago
Overview
0
Commits
5
Pipelines
0
Changes
1
0
0
Merge request reports
Viewing commit
ae669b15
Prev
Next
Show latest version
1 file
+
17
−
12
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
ae669b15
mini update in deploy_app
· ae669b15
Hahn Axel (hahn)
authored
2 years ago
deploy_app.sh
+
17
−
12
View file @ ae669b15
Edit in single-file editor
Open in Web IDE
Show full file
@@ -12,7 +12,7 @@
# 2021-11-01 v0.6 <axel.hahn@iml.unibe.ch> save config diffs
# 2021-11-02 v0.7 <axel.hahn@iml.unibe.ch> delete logs keping N files
# 2022-11-24 v0.8 <axel.hahn@iml.unibe.ch> tar -xzf without dot as 2nd param
# 2022-11-2
4
v0.9 <axel.hahn@iml.unibe.ch> support custom phase per project
# 2022-11-2
5
v0.9 <axel.hahn@iml.unibe.ch> support custom phase per project
# ======================================================================
@@ -21,6 +21,7 @@
# ----------------------------------------------------------------------
cd
$(
dirname
$0
)
selfdir
=
$(
/bin/pwd
)
_version
=
0.9
tmpdir
=
/var/tmp/imldeployment_packages
logdir
=
/var/log/imldeployment-client
@@ -307,28 +308,32 @@ cd $( dirname $0 )
action
=
"deploy"
typeset
-i
defaultupdate
=
0
echo
echo
echo
"<<<<<<<<<<##########| IML - DEPLOYMENT SCRIPT |##########>>>>>>>>>>"
echo
echo
"_______________________________________________________________________________
IML - DEPLOYMENT CLIENT
DOCS: https://os-docs.iml.unibe.ch/imldeployment-client/ _____
_________________________________________________________________________/ v
$_version
"
while
getopts
'hfl'
arg
;
do
case
${
arg
}
in
h
)
echo
"HELP"
echo
"Load one or more profiles profile to deploy an application."
echo
"If the download file is not newer then it does not extract files and does not"
echo
"run pre and post hooks - it updates the config files only and sets the owner."
echo
"HELP:"
echo
" Loads one or more profiles profile to deploy an application."
echo
" If the download file is not newer then it does not extract files and does not"
echo
" Optionally it cleans up the target directory."
echo
" Runs pre and post hooks - it updates the config files only and sets the owner."
echo
echo
"S
yntax
:"
echo
"S
YNTAX
:"
echo
"
$(
basename
$0
)
[OPTION] [PROFILE(S)]"
echo
echo
"O
ptioms
:"
echo
"O
PTIONS
:"
echo
" -h | show this help and exit"
echo
" -f | force full installation even if the download file is not newer"
echo
" -l | list exiting profile names"
echo
echo
"P
rofile(s
):"
echo
"P
ROFILE(S
):"
echo
" Set one or more valid profile names. By default it loops over all profiles."
echo
" This prameter limits the execution to the given profiles."
echo
" Use option -l to get a list of profiles."
Loading