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

Create directory automatically #680

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jnovick
Copy link

@jnovick jnovick commented Feb 29, 2024

  • 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 #663 is also merged.

* 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.

Signed-off-by: Joshua Novick <joshua.novick@hunters.ai>
@jnovick jnovick force-pushed the create-directories-automatically branch from 4a7cbe0 to 854270f Compare February 29, 2024 10:24
@codecov-commenter
Copy link

Codecov Report

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

Project coverage is 66.24%. Comparing base (7d93c7a) to head (854270f).

Files Patch % Lines
pkg/argocd/git.go 50.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #680      +/-   ##
==========================================
- Coverage   66.27%   66.24%   -0.04%     
==========================================
  Files          22       22              
  Lines        2150     2154       +4     
==========================================
+ Hits         1425     1427       +2     
- Misses        591      592       +1     
- Partials      134      135       +1     

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

@jnovick
Copy link
Author

jnovick commented Apr 10, 2024

@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.

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.

None yet

2 participants