Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compose.libre.sh
Manage
Activity
Members
Labels
Plan
Issues
18
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
libre.sh
compose.libre.sh
Commits
a1587b03
Commit
a1587b03
authored
5 years ago
by
Michel Memeteau
Browse files
Options
Downloads
Patches
Plain Diff
final : add the -t param in the usage
parent
d9279003
No related branches found
No related tags found
1 merge request
!185
Resolve "Handle git branches when provisioning"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
utils/provision
+2
-2
2 additions, 2 deletions
utils/provision
with
2 additions
and
2 deletions
utils/provision
+
2
−
2
View file @
a1587b03
...
@@ -27,12 +27,12 @@ LOG_LEVEL="${LOG_LEVEL:-6}" # 7 = debug -> 0 = emergency
...
@@ -27,12 +27,12 @@ LOG_LEVEL="${LOG_LEVEL:-6}" # 7 = debug -> 0 = emergency
read
-r
-d
''
usage
<<-
'
EOF
'
read
-r
-d
''
usage
<<-
'
EOF
'
-u [arg] URL to process. Required.
-u [arg] URL to process. Required.
-a [arg] Application to install. (in the form github.com/indiehosters/wordpress or wordpress in REPO_MODE)
-a [arg] Application to install. (in the form github.com/indiehosters/wordpress or wordpress in REPO_MODE)
-t [arg] Checkout a specific tag or branch from the application repo. default to master
-s Start the application right away.
-s Start the application right away.
-b Buys the associated domain name.
-b Buys the associated domain name.
-i Configure OpenDKIM.
-i Configure OpenDKIM.
-c Configures DNS if possible.
-c Configures DNS if possible.
-d Enables debug mode
-d Enables debug mode
-t Checkout a specific tag or branch
-h This page
-h This page
EOF
EOF
...
@@ -117,7 +117,7 @@ function application () {
...
@@ -117,7 +117,7 @@ function application () {
#Define the tag/branch
#Define the tag/branch
if
[
-z
${
arg_t
:-}
]
;
then
if
[
"
${
arg_t
}
"
=
"1"
]
;
then
warning
"No tag/branch specified, Using master "
warning
"No tag/branch specified, Using master "
git_tag
=
master
git_tag
=
master
else
else
...
...
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