Skip to content

Conversation

ishitasequeira
Copy link
Collaborator

Add image folder to registry scanner module.

Signed-off-by: Ishita Sequeira <ishiseq29@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Dec 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.64%. Comparing base (c3f0eff) to head (bf6eb3b).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #952   +/-   ##
=======================================
  Coverage   74.64%   74.64%           
=======================================
  Files          31       31           
  Lines        3913     3913           
=======================================
  Hits         2921     2921           
  Misses        856      856           
  Partials      136      136           

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

…anner

Signed-off-by: Ishita Sequeira <ishiseq29@gmail.com>
@ishitasequeira ishitasequeira marked this pull request as ready for review December 3, 2024 11:32
@@ -1,22 +1,83 @@
module github.com/argoproj-labs/argocd-image-updater/registry-scanner

go 1.22.3
Copy link
Collaborator

Choose a reason for hiding this comment

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

image-updater currently has go version 1.22.0. I think they should be consistent.

go 1.22.3

require (
github.com/argoproj-labs/argocd-image-updater v0.15.1
Copy link
Collaborator

Choose a reason for hiding this comment

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

Will this sub-module build and work without dependency on image-updater? I think we should avoid depending on image-updater for easy consumption.

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 think I missed updating one import to the correct package leading to the addition of image-updater dependency. Updated the import to correct package and removed dependency on image-updater.

gopkg.in/yaml.v3 v3.0.1 // indirect
)

replace k8s.io/client-go => k8s.io/client-go v0.31.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

some dependency versions are different from those in image-updater. In general, I think we should keep them in sync. Also adding this sub-module to dependabot.yaml may help a bit.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Updated all the dependencies to be in sync and also added the package to dependabot.yaml

Signed-off-by: Ishita Sequeira <ishiseq29@gmail.com>
@chengfang chengfang merged commit 8076d20 into argoproj-labs:master Dec 4, 2024
10 checks passed
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