-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
add support for providing a dest folder for tf copy #1054
add support for providing a dest folder for tf copy #1054
Conversation
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.
I personally welcome this addition I've requested a few changes
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.
Looks pretty good now. I have one final comment
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.
Looks pretty good now. I have one final comment
I can't see why the tests failed. I ran the Go tests locally and they passed. Any insights? |
@scott1138 Looks like there are some flaky tests. Looking into it |
@tonerdo anything I can do to help? |
@tonerdo Sorry to pester, just following up. The team that manages our agents doesn't like that I am writing data outside of my build directory, so I am hoping we can get this merged soon. |
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.
LGTM! I took a look at the test failure and confirmed it's unrelated to these changes, so I am comfortable going through with merging and accepting this. Thanks for your patience!
Adds a new function similar to CopyTerraformFolderToTemp called CopyTerraformFolderToDest that allows providing a destination folder other than temp. This is useful when running on a build agent where a failure in the tests occurs and files are abandoned in the temp folder. With large provider downloads across multiple tests this can cause space issues.