Skip to content
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

Uninstall fails if release was never deployed #106

Closed
ksawerykarwacki opened this issue Dec 23, 2020 · 0 comments · Fixed by #151
Closed

Uninstall fails if release was never deployed #106

ksawerykarwacki opened this issue Dec 23, 2020 · 0 comments · Fixed by #151

Comments

@ksawerykarwacki
Copy link

We use this plugin and magic of gradle to deploy our e2e env.
We want to strip everything and recreate so order of operations in jenkins is pretty simple:

  • run uninstall
  • run install
  • run tests

Problem mentioned in title occurs when we add definition of new service. Pipeline fails because task helmUninstallNewServiceToE2e cannot remove release that doesn't exist.

As I checked in code currently uninstall sets upToDate flag after checking if release exists which seems to be ignored when task runs for the first time. Maybe it should be switched to onlyIf?

@tkrullmann tkrullmann linked a pull request Nov 10, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant