diff --git a/bazel/repository_locations.bzl b/bazel/repository_locations.bzl index b721017b34..8a01a180b9 100644 --- a/bazel/repository_locations.bzl +++ b/bazel/repository_locations.bzl @@ -901,7 +901,7 @@ DEPENDENCY_REPOSITORIES_SPEC = dict( version = "1.39", sha256 = "4ac0f1f3de8b3f1373d435cd7e58bd94de4146e751f099732167749a229b443b", patch_cmds = [ - "[[ \"$(uname -m)\" == \"x86_64\" ]] && ./emsdk install 1.39.6-upstream && ./emsdk activate --embedded 1.39.6-upstream || true", + "if [[ \"$(uname -m)\" == \"x86_64\" ]]; then ./emsdk install 1.39.6-upstream && ./emsdk activate --embedded 1.39.6-upstream; fi", ], strip_prefix = "emsdk-{version}.6", urls = ["https://github.com/emscripten-core/emsdk/archive/{version}.6.tar.gz"], diff --git a/maistra/run-ci.sh b/maistra/run-ci.sh index 0828f8db9b..3eb5058ced 100755 --- a/maistra/run-ci.sh +++ b/maistra/run-ci.sh @@ -16,7 +16,8 @@ export BUILD_SCM_STATUS="SHA=${PULL_PULL_SHA:-undefined}" # Build time bazel build \ - --local_resources 12288,4.0,1.0 \ + --local_ram_resources=12288 \ + --local_cpu_resources=4 \ --jobs=4 \ --disk_cache=/bazel-cache \ //source/exe:envoy-static @@ -26,7 +27,8 @@ bazel-bin/source/exe/envoy-static --version # Run tests time bazel test \ - --local_resources 12288,4.0,1.0 \ + --local_ram_resources=12288 \ + --local_cpu_resources=4 \ --jobs=4 \ --build_tests_only \ --test_env=ENVOY_IP_TEST_VERSIONS=v4only \