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

fix: --file usage is broken for 'argocd proj create' command #13130

Merged
merged 1 commit into from
Apr 6, 2023

Conversation

alexmt
Copy link
Collaborator

@alexmt alexmt commented Apr 5, 2023

PR fixes broken argocd proj create command. The command always fails when --file flag is used because readProjFromURI unconditionally returns error

/cherry-pick release-2.7
/cherry-pick release-2.7

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
@codecov
Copy link

codecov bot commented Apr 5, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (568baff) 49.05% compared to head (450e0e3) 49.05%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #13130   +/-   ##
=======================================
  Coverage   49.05%   49.05%           
=======================================
  Files         246      246           
  Lines       42566    42569    +3     
=======================================
+ Hits        20879    20882    +3     
- Misses      19571    19572    +1     
+ Partials     2116     2115    -1     
Impacted Files Coverage Δ
cmd/util/project.go 12.14% <0.00%> (-0.27%) ⬇️

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@alexmt alexmt added the regression Bug is a regression, should be handled with high priority label Apr 6, 2023
Copy link
Collaborator

@leoluz leoluz left a comment

Choose a reason for hiding this comment

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

LGTM

@leoluz leoluz merged commit 9b53eeb into argoproj:master Apr 6, 2023
31 of 32 checks passed
@alexmt
Copy link
Collaborator Author

alexmt commented Apr 6, 2023

/cherry-pick release-2.7

@alexmt
Copy link
Collaborator Author

alexmt commented Apr 6, 2023

/cherry-pick release-2.6

alexmt added a commit to alexmt/argo-cd that referenced this pull request Apr 7, 2023
…j#13130)

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
alexmt added a commit that referenced this pull request Apr 7, 2023
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
schakrad pushed a commit to schakrad/argo-cd that referenced this pull request Jul 24, 2023
…j#13130)

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Signed-off-by: schakrad <58915923+schakrad@users.noreply.github.com>
yyzxw pushed a commit to yyzxw/argo-cd that referenced this pull request Aug 9, 2023
…j#13130)

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick/2.6 regression Bug is a regression, should be handled with high priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants