Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scripts
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
Container Registry
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
Docker Build Images
scripts
Commits
3387ddf6
Commit
3387ddf6
authored
2 years ago
by
Markus Opolka
Browse files
Options
Downloads
Patches
Plain Diff
[squash]
parent
220d299d
No related branches found
No related tags found
1 merge request
!9
Add proper usage of usage()
Pipeline
#27422
passed
2 years ago
Stage: lint
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
icinga-build-docker
+2
-2
2 additions, 2 deletions
icinga-build-docker
with
2 additions
and
2 deletions
icinga-build-docker
+
2
−
2
View file @
3387ddf6
...
...
@@ -15,11 +15,11 @@ SCRIPT_HOME="$(dirname "$(readlink -f "$0")")"
usage
()
{
echo
"
$0
<target>"
echo
echo
"This starts a Container spe
ficied as
first argument
s
. Example:"
echo
"This starts a Container spe
cified by the
first argument. Example:"
echo
"icinga-build-docker centos/7:x86_64"
echo
echo
"The Container will then run icinga-build-package as CMD"
echo
"Important: This script needs to run in the directory that contains the build"
echo
"Important: This script needs to run in the directory that contains the build
information for the package
"
}
if
[[
"
$1
"
=
"--help"
]]
;
then
...
...
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