Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: ECR plugin #1

Open
niallthomson opened this issue Mar 14, 2024 · 0 comments
Open

feature: ECR plugin #1

niallthomson opened this issue Mar 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@niallthomson
Copy link
Contributor

niallthomson commented Mar 14, 2024

🔖 Feature description

Ability to view container images stored in ECR related to a given entity. This should be designed to display as an additional tab on the entity page (similar to CI/CD) and present a table of the image tags for a given ECR repository.

Annotations:

  • aws.amazon.com/amazon-ecr-repository-arn to show a specific ECR repository
  • aws.amazon.com/amazon-ecr-repository-tags to look up a set of ECR repositories based on tags

If the "tags" annotation is used and multiple repositories are returned then a dropdown menu should be presented to choose the repository to view, similar to the CodePipeline executions entity page.

Columns to display:

  • imageTags (comma separated)
  • imagePushedAt
  • imageSizeInBytes (in Mb)
  • imageDigest

🎤 Context

There are several existing Backstage plugins that provide information related to container registries:

https://github.com/BESTSELLER/backstage-plugin-harbor/blob/master/README.md
https://janus-idp.io/plugins/quay
https://janus-idp.io/plugins/jfrog-artifactory/

✌️ Possible Implementation

Look up the ARNs of the ECR repositories using the standard resource locator patterns.

Extract the repository name from each ARN and then use DescribeImagesCommand to retrieve summary information about the images in each repository.

@niallthomson niallthomson added the enhancement New feature or request label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant