-
Notifications
You must be signed in to change notification settings - Fork 515
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: Intermittent helm apps deployment fail deployed through gitops #3756
Conversation
} | ||
err = impl.AddConfigFileToChart(valuesConfig, dir, clonedDir) | ||
if err != nil { | ||
impl.logger.Errorw("error in adding requirements.yaml to chart", "err", err, "appName", PushChartToGitRequest.AppName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
incorrect log
} | ||
} | ||
impl.logger.Debugw("template committed", "url", PushChartToGitRequest.RepoURL, "commit", commit) | ||
defer impl.chartTemplateService.CleanDir(clonedDir) | ||
return &util.ChartGitAttribute{RepoUrl: PushChartToGitRequest.RepoURL, ChartLocation: filepath.Join("", acdAppName)}, nil | ||
return &util.ChartGitAttribute{RepoUrl: PushChartToGitRequest.RepoURL, ChartLocation: filepath.Join("", acdAppName)}, commit, err |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what difference is empty string making in filepath.Join?
@Shivam-nagar23 two checks are failing - Validate Pull Request and Semantic PR. Please have them fixed. |
Kudos, SonarCloud Quality Gate passed!
|
Description
Intermittent helm apps deployment fail deployed through gitops
Fixes #3716
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist:
Does this PR introduce a user-facing change?