You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ git clone https://github.com/envoyproxy/examples.git
$ cd examples/wasm-cc
$ export UID
$ docker compose -f docker-compose-wasm.yaml up --remove-orphans wasm_compile_update
[+] Running 1/0
✔ Container wasm-cc-wasm_compile_update-1 Created 0.0s
Attaching to wasm_compile_update-1
wasm_compile_update-1 |$TEST_TMPDIR defined: output root default is '/tmp' and max_idle_secs default is '15'.
wasm_compile_update-1 | WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a MODULE.bazel file).
wasm_compile_update-1 | OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
wasm_compile_update-1 | ERROR: The 'build'command is only supported from within a workspace (below a directory having a MODULE.bazel file).
wasm_compile_update-1 | See documentation at https://bazel.build/concepts/build-ref#workspace
wasm_compile_update-1 | bash: line 1: --repository_cache=/tmp/repository_cache: No such file or directory
wasm_compile_update-1 | bash: line 2: //examples/wasm-cc:envoy_filter_http_wasm_updated_example.wasm: No such file or directory
wasm_compile_update-1 | bash: -c: line 3: syntax error near unexpected token `&&'wasm_compile_update-1 | bash: -c: line 3: ` && cp -a bazel-bin/examples/wasm-cc/*updated*.wasm /output'
there's probably a path error somewhere in the script (i'd submit a pr but kinda lost on bazel workspaces and how the sandbox dir structure is used or setup)
The text was updated successfully, but these errors were encountered:
hi @salrashid123 this is tested in ci so wondering what is different to cause this syntax error - i suspect docker version or simlar - it seems to be borking on a shell script so might be a case of it using sh rather than bash somewhere
oh wait its not tested now - we disabled it when moving the repo as it was hitting some issue - not sure if the same issue, it did use to be tested and i dont think it changed since other than being moved to the repo here
Trying to run the updated filter sample from here:
throws a bazel workspace error:
there's probably a path error somewhere in the script (i'd submit a pr but kinda lost on bazel workspaces and how the sandbox dir structure is used or setup)
The text was updated successfully, but these errors were encountered: