Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.

Conversation

@barankyle
Copy link
Contributor

Summary

Prior behavior was to prune images for a service after that service had built successfully. This still had holes in the logic of which ones to remove, and sometimes several builds that had e.g. a failing client build would prune still-in-use api images, leading to the cluster being in a state where it had to run an older version of the code but the images with that code were gone.

Now, prune_ecr_images is only run if every build has succeeded, which should prevent any pruning of images that need to still be used.

Resolves IR-3455

Subtasks Checklist

Breaking Changes

References

closes #insert number here

QA Steps

Prior behavior was to prune images for a service after that
service had built successfully. This still had holes in the
logic of which ones to remove, and sometimes several builds
that had e.g. a failing client build would prune still-in-use
api images, leading to the cluster being in a state where it
had to run an older version of the code but the images with
that code were gone.

Now, prune_ecr_images is only run if every build has succeeded,
which should prevent any pruning of images that need to still
be used.

Resolves IR-3455
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants