Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Enable bzlmod for modern dependency management with MODULE.bazel
common --enable_bzlmod

# Java runtime configuration for bzlmod
# Use remote JDK to avoid dependency on local Java installation
build --java_runtime_version=remotejdk_11
build --tool_java_runtime_version=remotejdk_11

# Build settings
build --incompatible_strict_action_env
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7.6.2
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
references:
envoy-build-image: &envoy-build-image
envoyproxy/envoy-build:220e5cb537b5185c953de1aac7d0613f8cf155ac
envoyproxy/envoy-build-ubuntu:f4a881a1205e8e6db1a57162faf3df7aed88eae8

version: 2
jobs:
Expand Down
3 changes: 2 additions & 1 deletion ci/build_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ export TEST_TMPDIR=/build/tmp
export BAZEL="bazel"

# Not sandboxing, since non-privileged Docker can't do nested namespaces.
BAZEL_OPTIONS="--package_path %workspace%:/source"
# Note: --package_path is removed as it's incompatible with bzlmod (MODULE.bazel)
BAZEL_OPTIONS=""
export BAZEL_QUERY_OPTIONS="${BAZEL_OPTIONS}"
export BAZEL_BUILD_OPTIONS="--strategy=Genrule=standalone --spawn_strategy=standalone \
--verbose_failures ${BAZEL_OPTIONS} --jobs=${NUM_CPUS} \
Expand Down