kernelci / kernelci/kcidb

Make sure temporary CI deployments are removed

Open
#285 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
26
Forks
40
PR merge metrics
No merged PRs in 30d

Description

We are creating temporary deployments in our CI runs and they don't get removed if the CI run was interrupted. E.g. if a new commit was pushed to a PR, or the run was cancelled manually, between deployment and withdrawal.

Find a way to cleanup the runs automatically.

GitHub doesn't support action cleanup. So, perhaps something like a separate service running in the Google Cloud's staging project where we deploy our PRs could get informed about each deployment and delete them after a timeout.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how CI deployments are created and withdrawn in the Google Cloud staging project, then review how interrupted or cancelled runs can be detected. Done means temporary deployments are automatically removed after interruption or a defined timeout, including when a new commit replaces a PR run.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, google-cloud
Domain
ci-cd, cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.