Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Infrastructure GitOps
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Shivering-Isles
Infrastructure GitOps
Commits
9b2f07a2
Verified
Commit
9b2f07a2
authored
3 years ago
by
Sheogorath
Browse files
Options
Downloads
Patches
Plain Diff
cli: Add preflight checks to Makefile
parent
cc8b431d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cli/Makefile
+7
-2
7 additions, 2 deletions
cli/Makefile
with
7 additions
and
2 deletions
cli/Makefile
+
7
−
2
View file @
9b2f07a2
...
@@ -2,9 +2,14 @@
...
@@ -2,9 +2,14 @@
include
../utils/help.mk
include
../utils/help.mk
.PHONY
:
preflight
preflight
:
# Check for required tools
command
-v
podman
>
/dev/null
.PHONY
:
install
.PHONY
:
install
install
:
##
Install koolbox
,
the Kubernetes Toolbox for SI-Infrastructure
install
:
preflight
##
Install koolbox
,
the Kubernetes Toolbox for SI-Infrastructure
install
-m
755 ./koolbox ~/bin/koolbox
install
-m
755 ./koolbox ~/bin/koolbox
build
:
##
Build container locally instead of using one from upstream
build
:
preflight
##
Build container locally instead of using one from upstream
podman build
-t
quay.io/sheogorath/koolbox:latest .
podman build
-t
quay.io/sheogorath/koolbox:latest .
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