-
Notifications
You must be signed in to change notification settings - Fork 857
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: provider can't be added since 1.4 as context abused && Feat: add cache for remote terraform module in vela show #4256
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4256 +/- ##
==========================================
+ Coverage 59.87% 60.41% +0.54%
==========================================
Files 338 338
Lines 32909 32908 -1
==========================================
+ Hits 19703 19881 +178
+ Misses 10594 10415 -179
Partials 2612 2612
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
a3ccfce
to
b221e09
Compare
368c931
to
7c45e20
Compare
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
tmpPath := filepath.Join("./tmp/terraform", name) | ||
// Check if the directory exists. If yes, remove it. | ||
if _, err := os.Stat(tmpPath); err == nil { | ||
err := os.RemoveAll(tmpPath) |
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.
When will the cache path be cleaned up?
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.
users manually cleaned that
Successfully created backport PR #4263 for |
Signed-off-by: Jianbo Sun jianbo.sjb@alibaba-inc.com
Description of your changes
I have:
make reviewable
to ensure this PR is ready for review.backport release-x.y
labels to auto-backport this PR if necessary.How has this code been tested
Special notes for your reviewer