generated from ouzi-dev/bigbang
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: use only the AWS credentials from the environment and not the CR * feat: remove AWS credentials from the CRD and regenerate files * feat: default logger to hunman readable timestamps * feat: support updates for secrets * feat correctly handle credstash secret version * fix: silence generation commands in the makefile
- Loading branch information
Showing
14 changed files
with
217 additions
and
165 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 |
---|---|---|
@@ -1,15 +1,29 @@ | ||
# Get current directory | ||
DIR := ${CURDIR} | ||
|
||
.PHONY: setup | ||
setup: | ||
@which ./bin/openapi-gen > /dev/null || go build -o ./bin/openapi-gen k8s.io/kube-openapi/cmd/openapi-gen | ||
|
||
.PHONY: generate | ||
generate: setup | ||
@operator-sdk generate k8s | ||
@operator-sdk generate crds | ||
@./bin/openapi-gen --logtostderr=true \ | ||
-o "" -i ./pkg/apis/credstash/v1alpha1 \ | ||
-O zz_generated.openapi \ | ||
-p ./pkg/apis/credstash/v1alpha1 \ | ||
-h ./hack/boilerplate.go.txt -r "-" | ||
|
||
.PHONY: semantic-release | ||
semantic-release: | ||
npm ci | ||
npx semantic-release | ||
@npm ci | ||
@npx semantic-release | ||
|
||
.PHONY: semantic-release-dry-run | ||
semantic-release-dry-run: | ||
npm ci | ||
npx semantic-release -d | ||
@npm ci | ||
@npx semantic-release -d | ||
|
||
package-lock.json: package.json | ||
npm install | ||
@npm install |
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.