Skip to content

Fix wasm downloading#20372

Closed
howardjohn wants to merge 1 commit intoistio:masterfrom
howardjohn:wasm/fix-dl-copy
Closed

Fix wasm downloading#20372
howardjohn wants to merge 1 commit intoistio:masterfrom
howardjohn:wasm/fix-dl-copy

Conversation

@howardjohn
Copy link
Copy Markdown
Member

@howardjohn howardjohn commented Jan 21, 2020

Right now we end up placing it in GOPATH/out, but then we later
reference it as ISTIO_ENVOY_LINUX_RELEASE_DIR which is pointing to
istio.io/istio/out in the build container.

Right now we end up placing it in GOPATH/out, but then we later
reference it as ISTIO_ENVOY_LINUX_RELEASE_DIR which is pointing to
istio.io/istio/out in the build container.
@howardjohn howardjohn requested a review from a team as a code owner January 21, 2020 18:43
@googlebot googlebot added the cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. label Jan 21, 2020
@istio-testing istio-testing added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jan 21, 2020
do
FILTER_WASM_URL="${ISTIO_ENVOY_BASE_URL}/${plugin}-${ISTIO_ENVOY_VERSION}.wasm"
download_wasm_if_necessary "${FILTER_WASM_URL}" "${WASM_RELEASE_DIR}"/"${plugin//_/-}"-filter.wasm
cp -f "${WASM_RELEASE_DIR}"/"${plugin//_/-}"-filter.wasm "${ISTIO_OUT}"/"${plugin//_/-}"-filter.wasm
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this change is going to copy these files from istio.io/istio/out/linux_amd64/release to istio.io/istio/out/linux_amd64? Why? The proxy make file reference $ISTIO_ENVOY_LINUX_RELEASE_DIR which is istio.io/istio/out/linux_amd64/release.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm maybe this isn't quite right. Something is not working for me, but this doesn't seem like the right fix. I'll play around with it some more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants