Idea-Pool / js-assertion-cheat-sheet

This repository contains examples of various, often used, and tricky assertions in the common JS assertion tools.
https://js-assertion.ideapool.community/
Other
2 stars 3 forks source link

Research & Implement Cleanup Strategy for Stale Deployments #9

Open kornel-filep opened 8 months ago

kornel-filep commented 8 months ago

We need to investigate and implement an effective strategy to clean up stale deployments from feature branches that are left deployed for extended periods, resulting in unnecessary costs. This process could be designed as either a pipeline that periodically reaches out and checks for pipeline or branch activity within a 7 day timeframe, following which it automatically destroys any inactive stacks, or as a manual trigger that cleans up all deployed feature branches when needed.

This issue can start out as a simple cleanup pipeline for all pipelines and later into evolve into a automatic cleanup.

Acceptance Criteria:

  1. Research and decide on an efficient method for cleanup of stale deployments.
  2. Implement the cleanup pipeline.
  3. The cleanup process should not interfere with the operation of active pipelines/branches & main branch.