Fix #691 - ADD does not understand ENV variables#768
Fix #691 - ADD does not understand ENV variables#768tejal29 merged 6 commits intoGoogleContainerTools:masterfrom N4rm0:fix-envar-replacement-for-url
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.