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 Kill Switch (Label) to CI #2067

Closed
TerrenceMcGuinness-NOAA opened this issue Nov 15, 2023 · 1 comment
Closed

Add Kill Switch (Label) to CI #2067

TerrenceMcGuinness-NOAA opened this issue Nov 15, 2023 · 1 comment
Assignees
Labels
CI/CD Issue related to CI/CD feature New feature or request

Comments

@TerrenceMcGuinness-NOAA
Copy link
Collaborator

TerrenceMcGuinness-NOAA commented Nov 15, 2023

What new functionality do you need?

Add a new Label MACINE-Kill that Removes PR from the CI System entirely and does not restart it.

NOTE: All the functionality for this feature is already in place with PR 2093 and should not take much programming effort.

What are the requirements for the new functionality?

When ever a previously issued Read label PR CI test is in progress this Label update by the user will:

  • Have it removed from the test suite (and data base)
  • Kill the all the build scripts the CI is currently building when the kill switch is issued
  • Purge the test directories from the file system
  • Remove all jobs in scheduler all running from that PR

Acceptance Criteria

Test in CI cron development environment and above capabilities can be demonstrated.

Suggest a solution (optional)

Update the check CI bash script to read the db state record and include a time stamp to react to this case.
This can also be used for when ever PR is merged and there are labels other than PASSED

@TerrenceMcGuinness-NOAA TerrenceMcGuinness-NOAA added feature New feature or request CI/CD Issue related to CI/CD labels Nov 15, 2023
@TerrenceMcGuinness-NOAA TerrenceMcGuinness-NOAA changed the title Remove any CI label and preempt PR tests Add Kill Switch (Label) to CI Dec 4, 2023
@WalterKolczynski-NOAA
Copy link
Contributor

OBE

@WalterKolczynski-NOAA WalterKolczynski-NOAA closed this as not planned Won't fix, can't repro, duplicate, stale May 14, 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

Successfully merging a pull request may close this issue.

2 participants