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

Create directory automatically

Open jnovick opened this issue 11 months ago • 2 comments

  • When writing to a new file, create the directory for the file if it does not already exist
  • This is useful if writing helmvalues to a new directory that is solely used for updating the image version. The ArgoCD Application can add a second source and reference the file with the ignoreMissingValueFiles flag turned on as an additional values file
  • If the directory already exists, this command does nothing.

This will be most beneficial once https://github.com/argoproj-labs/argocd-image-updater/pull/663 is also merged.

jnovick avatar Feb 29 '24 10:02 jnovick

Codecov Report

Attention: Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 56.15%. Comparing base (c9ed948) to head (f91491a).

Files Patch % Lines
pkg/argocd/git.go 50.00% 1 Missing and 1 partial :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #680      +/-   ##
==========================================
- Coverage   56.16%   56.15%   -0.01%     
==========================================
  Files          31       31              
  Lines        3105     3109       +4     
==========================================
+ Hits         1744     1746       +2     
- Misses       1222     1223       +1     
- Partials      139      140       +1     

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

codecov-commenter avatar Feb 29 '24 10:02 codecov-commenter

@jannfis Any hints on how to resolve the CI failures? They do not appear to be related to my actual PR. Thanks for any guidance that you can provide.

jnovick avatar Apr 10 '24 07:04 jnovick