PipelineDashboard
PipelineDashboard copied to clipboard
Admin to be able to delete and recreate all repository webhooks
The code for deleting
and creating
webhook already exists.
Steps are probably:
- Add to existing Admin only page with similar navigation as project dashboard (screenshot below)
- Cloud functions
- Get all repositories
- For each repository
- UI button is clicked (single repo button or all repo button)
- UI calls cloud function with an array of UIDs (could be 1 UID in the array if single repo)
- New cloud function loops over UIDs and … a. calls existing delete repo webhook function b. on the previous step a completing successfully, call create repo webhook function
- Cloud function returns the total successful / failed webhook creations and display in UI
