-
Notifications
You must be signed in to change notification settings - Fork 24
Fix helm chart template value and add pre-commit hooks #226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
krithika369
merged 6 commits into
caraml-dev:main
from
krithika369:helm_chart_fixes_precommit
Aug 15, 2022
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,77 @@ | ||
| repos: | ||
| - repo: https://github.com/norwoodj/helm-docs | ||
| rev: v1.11.0 | ||
| hooks: | ||
| - id: helm-docs-built | ||
| name: 'Helm Docs for Turing Chart' | ||
| files: '^infra/charts/turing/' | ||
| args: | ||
| - --chart-search-root=infra/charts/turing | ||
| - --template-files=./README.md.gotmpl | ||
| - id: helm-docs-built | ||
romanwozniak marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| name: 'Helm Docs for Turing Init Chart' | ||
| files: '^infra/charts/turing-init/' | ||
| args: | ||
| - --chart-search-root=infra/charts/turing-init | ||
| - --template-files=./README.md.gotmpl | ||
| - repo: local | ||
| hooks: | ||
| - id: golangci-lint | ||
| name: 'Linter for API' | ||
| alias: golangci-lint-api | ||
| files: '^api/' | ||
| types: [go] | ||
| language: system | ||
| entry: bash -c 'cd api make lint' | ||
| - id: golangci-lint | ||
| name: 'Linter for the Router Engine' | ||
| alias: golangci-lint-router | ||
| files: '^engines/router/' | ||
| types: [go] | ||
| language: system | ||
| entry: bash -c 'cd engines/router make lint' | ||
| - id: golangci-lint | ||
| name: 'Linter for the Experiment Engine' | ||
| alias: golangci-lint-experiment | ||
| files: '^engines/experiment/' | ||
| types: [go] | ||
| language: system | ||
| entry: bash -c 'cd engines/experiment make lint' | ||
| - repo: local | ||
| hooks: | ||
| - id: prettier | ||
| name: 'Prettier for UI' | ||
| files: '^ui/' | ||
| types_or: [javascript, css] | ||
| language: system | ||
| entry: bash -c 'cd ui && yarn lint' | ||
| - repo: local | ||
| hooks: | ||
| - id: openapi-gen | ||
| name: 'OpenAPI Python client' | ||
| files: '^api/api/specs/' | ||
| language: system | ||
| entry: bash -c 'cd sdk && make gen-client' | ||
| - repo: local | ||
| hooks: | ||
| - id: black | ||
| name: 'Black formatter for the SDK' | ||
| alias: black-sdk | ||
| files: '^sdk/' | ||
| types: [python] | ||
| language: system | ||
| entry: bash -c 'cd sdk && make lint' | ||
| - id: black | ||
| name: 'Black formatter for Pyfunc Ensembler Job Engine' | ||
| alias: black-ensembler-job | ||
| files: '^engines/pyfunc-ensembler-job/' | ||
| types: [python] | ||
| language: system | ||
| entry: bash -c 'cd engines/pyfunc-ensembler-job && make lint' | ||
| - id: black | ||
| name: 'Black formatter for Pyfunc Ensembler Service Engine' | ||
| alias: black-ensembler-service | ||
| files: '^engines/pyfunc-ensembler-service/' | ||
| types: [python] | ||
| language: system | ||
| entry: bash -c 'cd engines/pyfunc-ensembler-service && make lint' | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.