-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 #691 - ADD does not understand ENV variables #768
Fix #691 - ADD does not understand ENV variables #768
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
@googlebot I signed it! |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
Looks like the integration test failed due to-
|
@tejal29 I am not sure what cause the issue with the integration test, as I ran them without encountering the error mentioned in your log. Could you relaunch the integration tests ? |
re-launching the tests. |
Fixes #691
The issue was that function ResolveEnvironmentReplacementList tries to check if value is a remote url. However, it misses the case the url is enclosed in the environment variable.
I made an additional check to fix #691, but IHMO I think it would be cleaner to remove the flag "isFilepath", and let the function ResolveEnvironmentReplacement handle the remote file url case.