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

Script clean_up actions #22

Open
pabloopez opened this issue Dec 16, 2021 · 0 comments
Open

Script clean_up actions #22

pabloopez opened this issue Dec 16, 2021 · 0 comments

Comments

@pabloopez
Copy link
Collaborator

Context

There might be some cases in which the script fails (no matter the reason) and some resources were already created. This resources can interfere with subsequent runs of the script.

Proposal

To avoid this, we should implement a clean_up function (aware of the type of install: helm, docker, etc.) that is executed when:

  • the script enters into an error state.
  • but also when the script starts. In case there's an error we can not detect, we want a fresh start for the script.
@pabloopez pabloopez added this to the after-migration milestone Dec 16, 2021
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

No branches or pull requests

1 participant