-
-
Notifications
You must be signed in to change notification settings - Fork 289
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
add tests for helm utils #987
Conversation
want: ValuesMap{}, | ||
}, | ||
{ | ||
name: "invalid yaml file", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's invalid about this YAML file, perhaps the test case name could say?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replicaCount: 1
image:
repository: nginx
not properly indented.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That looks like properly indented YAML to me?
But it sounds like you've come up with a great name for the test case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't valid yaml will look like below? There is no proper indentation.
replicaCount: 1
image:
repository: nginx
}{ | ||
{ | ||
name: "valid yaml file", | ||
content: ` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should also be a test for when image:
is at the top level of the file for things like inlets-operator.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated content with a top level image
key.
Signed-off-by: Nitishkumar Singh <[email protected]>
f4ebc33
to
187633e
Compare
Description
Add tests for helm utils
Motivation and Context
design/approved
by a maintainer (required)Closes Add e2e test for helm utils #986
How Has This Been Tested?
If updating or adding a new CLI to
arkade get
, run:NA. As it's logic tests included , so nothing additional tests are needed to be done.
Types of changes
Documentation
./arkade get --format markdown
./arkade install --help
Checklist:
git commit -s