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

Add Tear-down/Clean-up stage in CI Pipeline for Parallel Works GitHub Self-hosted Runner #3063

Open
TerrenceMcGuinness-NOAA opened this issue Nov 4, 2024 · 0 comments
Assignees
Labels
CI/CD Issue related to CI/CD feature New feature or request

Comments

@TerrenceMcGuinness-NOAA
Copy link
Collaborator

What new functionality do you need?

As a CI pipeline user I need the virtual cluster that was spun up to shut down if another CI test has not started in awhile because having virtual clusters idle can be costly.

What are the requirements for the new functionality?

The shutdown feature should run separate from the pipeline itself so that it can wait around for a bit before shutting down in case other CI test is about to start up so that the time consuming process of restarting can be avoided if it is not necessary.

Acceptance Criteria

  • [] Tested in a dev pipeline

Suggest a solution (optional)

Use stopCluster.py script in an cron like action within github that can check if pipeline has not ran within a 30 minute period.

@TerrenceMcGuinness-NOAA TerrenceMcGuinness-NOAA added feature New feature or request CI/CD Issue related to CI/CD labels Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD Issue related to CI/CD feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant