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

Automatically stop nightly containers when starting stable, and vice versa #41

Open
Tracked by #152
kdmccormick opened this issue Jun 2, 2022 · 1 comment
Open
Tracked by #152
Labels
enhancement Relates to new features or improvements to existing features tutor Requires a change to Tutor

Comments

@kdmccormick
Copy link
Member

We discussed elsewhere why this would be difficult, but this still happens enough to me that I'd like it in the backlog as an issue, even if we never get to it.

@kdmccormick
Copy link
Member Author

I implemented this as a plugin: https://github.com/kdmccormick/tutor-contrib-kdmccormick#stopnightly
Source: https://github.com/kdmccormick/tutor-contrib-kdmccormick/blob/master/tutorkdmccormick/stopnightly.py

Unfortunately the plugin is hacky in a couple ways:

  • it assumes that __app__ is always "tutor" or "tutor-nightly", which is not guaranteed
  • it reaches into several tutor modules outside of the supported tutor.hooks API.

@kdmccormick kdmccormick changed the title Stopping nightly containers when starting stable, and vice versa Automatically stop nightly containers when starting stable, and vice versa Jun 29, 2022
@kdmccormick kdmccormick added the enhancement Relates to new features or improvements to existing features label Mar 6, 2023
@kdmccormick kdmccormick transferred this issue from openedx-unsupported/wg-developer-experience Mar 28, 2024
@kdmccormick kdmccormick added the tutor Requires a change to Tutor label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Relates to new features or improvements to existing features tutor Requires a change to Tutor
Projects
No open projects
Development

No branches or pull requests

1 participant