screwdriver icon indicating copy to clipboard operation
screwdriver copied to clipboard

[feature request] archived git repo will archive pipeline

Open adong opened this issue 2 years ago • 0 comments

What happened:

When git repo is put into archive mode, that screwdriver pipeline should not be deleted, rather than be put into archive mode, so later on the git repo status changed from archive to active, users' pipeline can be switched back to active mode as well, with build history preserved.

What you expected to happen: When the git repo became "archive" mode, git sent out a webhook API, SD listens to the webhook and will make the pipeline's mode from active to archived.

The archived pipeline should disable jobs in the pipeline, and make it so disabled jobs cannot be re-enabled as long as the git repo is still in archived mode

How to reproduce it:

adong avatar Sep 15 '22 18:09 adong