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

Implement a shutdown hook to clean up when session is destroyed #468

Open
jorgemoralespou opened this issue Jun 24, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@jorgemoralespou
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

When you do things as part of your workshop setup in an imperative manner to some other infrastructure or even the same where educates is working it's difficult (or impossible) to guarantee a clean cleanup of the resources. e.g. in s script in setup.d you create a resource in an hyperscaler infrastructure, or you run terraform/ansible apply script. You want that, when the session is terminated, be able to destroy those resources, or run terraform/ansible destroy.

Describe the solution you'd like

It'd be nice to have a way to define shutdown hook that will be called upon session termination, so that an action can be executed.

Describe alternatives you've considered

No response

Additional information

No response

@jorgemoralespou jorgemoralespou added the enhancement New feature or request label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant