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

Moved ECR pruning to after all build services have succeeded. #10989

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

barankyle
Copy link
Member

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.

None yet

1 participant