dotnet / dotnet/docker-tools

GenerateEolAnnotationDataCommand is slow

Open
#1,833 1 comment 0 reactions 0 assignees View on GitHub
area-infrastructure
Dominant language
C#
Stars
181
Forks
67
Avg merge
2d 15h
Merged PRs (30d)
10

Description

Generating EOL annotation data for images is slow. Currently the command takes in a list of image digests, and then for each digest:

- Uses the `oras` CLI to check if the image already has a lifecycle annotation.
- Uses the `oras` CLI to add the lifecycle annotation if the image doesn't already have one.

Even though this operation is parallelized (with Parallel.ForEach), it's really slow for large quantities of images. This makes our publish jobs and ACR cleanup pipelines take a long time.

Related:

- https://github.com/dotnet/docker-tools/issues/1827

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.