argocd-image-updater icon indicating copy to clipboard operation
argocd-image-updater copied to clipboard

Add registry scanner module

Open ishitasequeira opened this issue 1 year ago • 1 comments

Image Updater provides some functionality that can be reused by other projects, most notably the feature to inspect OCI and Docker registries' contents and pick an image based on some constraints.

This PR starts the initial setup of a new module named registry-scanner to separate out the functionality of registry scanning and fetching images into a library. This allows users to pull in just the registry scanning functionality and not pull in the entire image updater for use.

Future Tasks:

  • Replicate part of pkg/ folders to registry-scanner baring the argo-cd functionality
  • Integrate registry-scanner with argocd-image-updater
  • Update github CI to execute registry-scanner checks only when updating files in the module
  • Releasing registry-scanner as part of release process.

ishitasequeira avatar Oct 21 '24 12:10 ishitasequeira

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 74.82%. Comparing base (4f21ade) to head (9031b0a). Report is 112 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #890   +/-   ##
=======================================
  Coverage   74.82%   74.82%           
=======================================
  Files          31       31           
  Lines        3912     3912           
=======================================
  Hits         2927     2927           
  Misses        850      850           
  Partials      135      135           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Oct 21 '24 12:10 codecov-commenter