Skip to content

feat(*) Adds atomic flag to v3 - #6011

Merged
thomastaylor312 merged 2 commits into
helm:dev-v3from
thomastaylor312:feat/atomic
Jul 18, 2019
Merged

thomastaylor312 merged 2 commits into
helm:dev-v3from
thomastaylor312:feat/atomic

Conversation

@thomastaylor312

@thomastaylor312 thomastaylor312 commented Jul 11, 2019 •

Copy link
Copy Markdown
Contributor

This adds back in atomic functionality to v3. Please note this does not contain the --cleanup-on-fail flag yet as that will be done in a separate PR.

As part of adding unit tests, I ended up refactoring our fake KubeClients into their own fake package and adding a new failing client so that we didn't end up creating a separate client for each type of failure we wanted. If this is too much for the PR, I can try breaking it out on its own

This is the v3 fix for #5143

@helm-bot helm-bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Jul 11, 2019
This does not include the cleanup on fail logic as that will be reintroduced
in a future PR

Signed-off-by: Taylor Thomas <[email protected]>
This also adds unit tests for the Atomic and Wait functionality

Signed-off-by: Taylor Thomas <[email protected]>
@thomastaylor312 thomastaylor312 added v3.x Issues and Pull Requests related to the major version v3 awaiting review labels Jul 11, 2019
@thomastaylor312

Copy link
Copy Markdown
Contributor Author

Forgot to mention this is a port to v3 for #5143

@bacongobbler bacongobbler left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread Makefile
# install vendored dependencies
vendor: Gopkg.lock
$(DEP) ensure -v --vendor-only
$(DEP) ensure --vendor-only

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm telling @bacongobbler on you

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😱

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't take the verbosity part of this, it was a bit too...verbose 😏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. v3.x Issues and Pull Requests related to the major version v3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants