Repository navigation
feat(helm-lint): fix lint step id, make lint opt-in with registry login #115
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
Open
shimoncohen
wants to merge
6
commits into
master
Choose a base branch
from
fix/helm-lint-step-id
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+151
−28
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
8f6ed10
fix(helm-lint): match list-changed step id so lint and install run
shimoncohen aaf644c
feat(helm-lint): opt-in lint with registry login, opt-in install
shimoncohen 17b1521
feat(helm-lint): warn when changed charts are not linted
shimoncohen 09a69d9
fix(helm-lint): align lintconf with ct default and make self-test lint
shimoncohen cb9e827
test(helm-lint): drop restartPolicy Never from fixture deployment
shimoncohen bad995d
test(helm-lint): drop invalidField and keep fixture container running
shimoncohen 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,6 @@ | ||
| # Changelogs that are generated by release-please | ||
| **/CHANGELOG.md | ||
| .release-please-manifest.json | ||
|
|
||
| # Helm templates are not valid YAML; prettier mangles {{ }} | ||
| test/helm/templates/ |
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,2 @@ | ||
| check-version-increment: false | ||
| validate-maintainers: false |
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,46 @@ | ||
| --- | ||
| # ct's etc/lintconf.yaml, except brackets, comments and trailing-spaces warn: most consumer charts violate them today. | ||
| rules: | ||
| braces: | ||
| min-spaces-inside: 0 | ||
| max-spaces-inside: 0 | ||
| min-spaces-inside-empty: -1 | ||
| max-spaces-inside-empty: -1 | ||
| brackets: | ||
| level: warning | ||
| min-spaces-inside: 0 | ||
| max-spaces-inside: 0 | ||
| min-spaces-inside-empty: -1 | ||
| max-spaces-inside-empty: -1 | ||
| colons: | ||
| max-spaces-before: 0 | ||
| max-spaces-after: 1 | ||
| commas: | ||
| max-spaces-before: 0 | ||
| min-spaces-after: 1 | ||
| max-spaces-after: 1 | ||
| comments: | ||
| level: warning | ||
| require-starting-space: true | ||
| min-spaces-from-content: 2 | ||
| document-end: disable | ||
| document-start: disable # No --- to start a file | ||
| empty-lines: | ||
| max: 2 | ||
| max-start: 0 | ||
| max-end: 0 | ||
| hyphens: | ||
| max-spaces-after: 1 | ||
| indentation: | ||
| spaces: consistent | ||
| indent-sequences: whatever # - list indentation will handle both indentation and without | ||
| check-multi-line-strings: false | ||
| key-duplicates: enable | ||
| line-length: disable # Lines can be any length | ||
| new-line-at-end-of-file: enable | ||
| new-lines: | ||
| type: unix | ||
| trailing-spaces: | ||
| level: warning | ||
| truthy: | ||
| level: warning |
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 |
|---|---|---|
| @@ -1,28 +1,26 @@ | ||
| apiVersion: apps/v1 | ||
| kind: Deployment | ||
| metadata: | ||
| name: { { include "hello-world-chart.fullname" . } } | ||
| labels: { { - include "hello-world-chart.labels" . | nindent 4 } } | ||
| name: {{ include "hello-world-chart.fullname" . }} | ||
| labels: | ||
| {{- include "hello-world-chart.labels" . | nindent 4 }} | ||
| spec: | ||
| replicas: { { .Values.replicaCount } } | ||
| replicas: {{ .Values.replicaCount }} | ||
| selector: | ||
| matchLabels: | ||
| app: { { include "hello-world-chart.name" . } } | ||
| release: { { .Release.Name } } | ||
| app: {{ include "hello-world-chart.name" . }} | ||
| release: {{ .Release.Name }} | ||
| template: | ||
| metadata: | ||
| labels: | ||
| app: { { include "hello-world-chart.name" . } } | ||
| release: { { .Release.Name } } | ||
| app: {{ include "hello-world-chart.name" . }} | ||
| release: {{ .Release.Name }} | ||
| spec: | ||
| containers: | ||
| - name: { { .Chart.Name } } | ||
| - name: {{ .Chart.Name }} | ||
| image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" | ||
| imagePullPolicy: { { .Values.image.pullPolicy } } | ||
| command: ["echo"] | ||
| args: ["hello world"] | ||
| imagePullPolicy: {{ .Values.image.pullPolicy }} | ||
| command: ["sleep", "infinity"] | ||
| ports: | ||
| - containerPort: 80 | ||
| name: http | ||
| invalidField: true | ||
| restartPolicy: Never |
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 |
|---|---|---|
|
|
@@ -26,3 +26,7 @@ nodeSelector: {} | |
| tolerations: [] | ||
|
|
||
| affinity: {} | ||
|
|
||
| secret: | ||
| username: admin | ||
| password: admin | ||
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.