Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
1105 Внедрение механизмов обеспечения безопасности цепочки поставки программных проектов
Legacy
scanned-projects
helm
Commits
f13fa077
Unverified
Commit
f13fa077
authored
1 year ago
by
Joe Julian
Browse files
Options
Download
Patches
Plain Diff
create failing test for quietly linting a chart that doesn't exist
Signed-off-by:
Joe Julian
<
me@joejulian.name
>
parent
4b3a1cc6
main
dependabot/go_modules/github.com/docker/distribution-2.8.2incompatible
dependabot/go_modules/github.com/lib/pq-1.10.9
dependabot/go_modules/github.com/rubenv/sql-migrate-1.4.0
dependabot/go_modules/golang.org/x/crypto-0.9.0
dependabot/go_modules/golang.org/x/term-0.8.0
dependabot/go_modules/k8s.io/klog/v2-2.100.1
release-3.12
v3.12.0
v3.12.0-rc.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmd/helm/lint_test.go
+5
-0
cmd/helm/lint_test.go
with
5 additions
and
0 deletions
+5
-0
cmd/helm/lint_test.go
+
5
−
0
View file @
f13fa077
...
...
@@ -53,6 +53,11 @@ func TestLintCmdWithQuietFlag(t *testing.T) {
name
:
"lint chart with warning using --quiet flag"
,
cmd
:
"lint --quiet testdata/testcharts/chart-with-only-crds"
,
golden
:
"output/lint-quiet-with-warning.txt"
,
},
{
name
:
"lint non-existent chart using --quiet flag"
,
cmd
:
"lint --quiet thischartdoesntexist/"
,
golden
:
""
,
wantError
:
true
,
}}
runTestCmd
(
t
,
tests
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets