Skip to content

Conversation

@ishitasequeira
Copy link
Collaborator

@ishitasequeira ishitasequeira commented Oct 21, 2024

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.

@codecov-commenter
Copy link

codecov-commenter commented Oct 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Signed-off-by: Ishita Sequeira <[email protected]>
Signed-off-by: Ishita Sequeira <[email protected]>
Signed-off-by: Ishita Sequeira <[email protected]>
Signed-off-by: Ishita Sequeira <[email protected]>
Signed-off-by: Ishita Sequeira <[email protected]>
Comment on lines 12 to 21
Registry Scanner is under active development. We would not recommend it
yet for *critical* production workloads, but feel free to give it a spin.

We're very interested in feedback on usability and the user experience as well
as in bug discoveries and enhancement requests.

**Important note:** Until the first stable version (i.e. `v1.0`) is released,
breaking changes between the releases must be expected. We will do our best
to indicate all breaking changes (and how to un-break them) in the
[Changelog](CHANGELOG.md)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd replace this by a statement that this component is not yet ready for public consumption, and that we're currently working on a first release.

same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Copyright [yyyy] [name of copyright owner]
Copyright 2024 The Argo CD Image Updater authors

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see this to be same in Image Updater.. Should I update it their as well?

Signed-off-by: Ishita Sequeira <[email protected]>
@jannfis jannfis changed the title Add registry scanner module refactor: Add registry scanner module Oct 22, 2024
@jannfis jannfis merged commit e414d0d into argoproj-labs:master Oct 22, 2024
10 checks passed
Tchoupinax pushed a commit to Tchoupinax/argocd-image-updater that referenced this pull request Oct 23, 2024
Signed-off-by: Ishita Sequeira <[email protected]>
Signed-off-by: Tchoupinax <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants