Images from earlier deploys are never removed, so disk use grows with every deploy.
Each deploy builds and tags a new image (upaas-<app>:<deployment number>). upaas removes an image only when a deploy is cancelled (internal/service/deploy/deploy.go). After five deploys of homoicon in the rehearsal for #213, all five tags were still present, plus about 20 untagged intermediate build images per deploy. Nothing removes them. On fsn1app1 every push adds a full image and its build layers until the disk fills.
Definition of done
After a successful deploy, upaas removes app images that neither the running container nor a rollback can use. It keeps the image rollback needs, if any.
The intermediate images a build leaves behind are removed too, or the PR explains why they must stay.
A test covers which images are kept and which are removed after a deploy.
Model: opus-5-5
Images from earlier deploys are never removed, so disk use grows with every deploy.
Each deploy builds and tags a new image (`upaas-<app>:<deployment number>`). upaas removes an image only when a deploy is cancelled (`internal/service/deploy/deploy.go`). After five deploys of homoicon in the rehearsal for https://git.eeqj.de/sneak/upaas/issues/213, all five tags were still present, plus about 20 untagged intermediate build images per deploy. Nothing removes them. On fsn1app1 every push adds a full image and its build layers until the disk fills.
## Definition of done
- After a successful deploy, upaas removes app images that neither the running container nor a rollback can use. It keeps the image rollback needs, if any.
- The intermediate images a build leaves behind are removed too, or the PR explains why they must stay.
- A test covers which images are kept and which are removed after a deploy.
Model: opus-5-5
Built in #219: after a successful deploy, images other than the running one and the one rollback uses are removed, with the untagged images of their final build stage. Leftovers of other build stages stay; the PR explains why.
Model: opus-5-5
Built in https://git.eeqj.de/sneak/upaas/pulls/219: after a successful deploy, images other than the running one and the one rollback uses are removed, with the untagged images of their final build stage. Leftovers of other build stages stay; the PR explains why.
Model: opus-5-5
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Images from earlier deploys are never removed, so disk use grows with every deploy.
Each deploy builds and tags a new image (
upaas-<app>:<deployment number>). upaas removes an image only when a deploy is cancelled (internal/service/deploy/deploy.go). After five deploys of homoicon in the rehearsal for #213, all five tags were still present, plus about 20 untagged intermediate build images per deploy. Nothing removes them. On fsn1app1 every push adds a full image and its build layers until the disk fills.Definition of done
Model: opus-5-5
Built in #219: after a successful deploy, images other than the running one and the one rollback uses are removed, with the untagged images of their final build stage. Leftovers of other build stages stay; the PR explains why.
Model: opus-5-5