forked from outscale/cluster-api-provider-outscale
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* manual tilt launch * tiltignore * use buildkit with cache * Add makefile check gofmt * add github action to check gofmt
- Loading branch information
1 parent
8c6030e
commit 91d9f0d
Showing
9 changed files
with
52 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
capm.yaml | ||
LICENSE | ||
Makefile | ||
README.md | ||
osc-secret.yaml | ||
CONTRIBUTING.md | ||
example/*.yaml | ||
docs/*.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
|
||
trigger_mode(TRIGGER_MODE_MANUAL) | ||
|
||
docker_build(os.getenv('CONTROLLER_IMAGE', ''), '.') | ||
|
||
|
||
allow_k8s_contexts(os.getenv('K8S_CONTEXT', 'phandalin')) | ||
|
||
|
||
k8s_yaml('capm.yaml') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
set -euo pipefail | ||
set -x | ||
echo "Check with gofmt" | ||
|
||
change=$(find . -name "*.go" | grep -v "\/vendor\/" | xargs gofmt -s -d 2>&1) | ||
if [[ -n ${change} ]]; then | ||
echo "${change}" | ||
echo "Please run make gofmt" | ||
exit 1 | ||
fi | ||
echo "Format is good" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters