From a540de9d003fd09964f630d72732da16c21ae5b3 Mon Sep 17 00:00:00 2001 From: Bugen Zhao Date: Wed, 13 Mar 2024 15:40:52 +0800 Subject: [PATCH] revert enable_build_dashboard env Signed-off-by: Bugen Zhao --- src/risedevtool/config/src/main.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/risedevtool/config/src/main.rs b/src/risedevtool/config/src/main.rs index b34c6a5bd4e5d..7d36cc8d4646f 100644 --- a/src/risedevtool/config/src/main.rs +++ b/src/risedevtool/config/src/main.rs @@ -68,6 +68,7 @@ pub enum Components { Tracing, RustComponents, BuildConnectorNode, + Dashboard, Release, Sanitizer, DynamicLinking, @@ -87,6 +88,7 @@ impl Components { Self::Redis => "[Component] Redis", Self::BuildConnectorNode => "[Build] Build RisingWave Connector (Java)", Self::RustComponents => "[Build] Rust components", + Self::Dashboard => "[Build] Dashboard", Self::Tracing => "[Component] Tracing: Grafana Tempo", Self::Release => "[Build] Enable release mode", Self::Sanitizer => "[Build] Enable sanitizer", @@ -131,6 +133,15 @@ Required if you want to create source from Emulated Google Pub/sub. Required if you want to build compute-node and meta-node. Otherwise you will need to manually download and copy it to RiseDev directory." + } + Self::Dashboard => { + " +Required if you want to build dashboard from source. +This is generally not the option you want to use to develop the +dashboard. Instead, directly run `npm run dev` in the dashboard +directory to start the development server, set the API endpoint +to a running RisingWave cluster in the settings page. +" } Self::Tracing => { " @@ -194,6 +205,7 @@ As a result, RisingWave will dump the core on panics. "ENABLE_KAFKA" => Some(Self::Kafka), "ENABLE_PUBSUB" => Some(Self::Pubsub), "ENABLE_BUILD_RUST" => Some(Self::RustComponents), + "ENABLE_BUILD_DASHBOARD" => Some(Self::Dashboard), "ENABLE_COMPUTE_TRACING" => Some(Self::Tracing), "ENABLE_RELEASE_PROFILE" => Some(Self::Release), "ENABLE_DYNAMIC_LINKING" => Some(Self::DynamicLinking), @@ -215,6 +227,7 @@ As a result, RisingWave will dump the core on panics. Self::Pubsub => "ENABLE_PUBSUB", Self::Redis => "ENABLE_REDIS", Self::RustComponents => "ENABLE_BUILD_RUST", + Self::Dashboard => "ENABLE_BUILD_DASHBOARD", Self::Tracing => "ENABLE_COMPUTE_TRACING", Self::Release => "ENABLE_RELEASE_PROFILE", Self::Sanitizer => "ENABLE_SANITIZER",