From 6d6e8be10acb82af9fab077655e3b0c07ef86957 Mon Sep 17 00:00:00 2001 From: Preston Van Loon Date: Thu, 23 Jan 2020 15:44:09 -0800 Subject: [PATCH] Disable kafka build by default (#4638) * Disable kafka build by default --- .bazelrc | 5 +++++ .buildkite-bazelrc | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.bazelrc b/.bazelrc index 72fa16ab9..eabf3f9e6 100644 --- a/.bazelrc +++ b/.bazelrc @@ -24,3 +24,8 @@ build --define ssz=mainnet build --incompatible_strict_action_env test --incompatible_strict_action_env run --incompatible_strict_action_env + +# Disable kafka by default, it takes a long time to build... +build --define kafka_enabled=false +test --define kafka_enabled=false +run --define kafka_enabled=false diff --git a/.buildkite-bazelrc b/.buildkite-bazelrc index 414084f51..85815f3cc 100644 --- a/.buildkite-bazelrc +++ b/.buildkite-bazelrc @@ -45,3 +45,8 @@ build --stamp test --local_test_jobs=2 # Disabled race detection due to unstable test results under constrained environment build kite # build --features=race + +# Enable kafka for CI and docker images +build --define kafka_enabled=true +test --define kafka_enabled=true +run --define kafka_enabled=true