From 594dde9d4b1caf08c59523b240a6866df6a60f3c Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Thu, 5 Dec 2019 17:38:39 +0100 Subject: [PATCH] build/ops: make-dist: default to no dashboard frontend build parallelism Work around a race condition in the dashboard frontend parallel build code. References: https://tracker.ceph.com/issues/43152 Signed-off-by: Nathan Cutler --- make-dist | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/make-dist b/make-dist index 35d26142042f..a84827f4b4a1 100755 --- a/make-dist +++ b/make-dist @@ -106,7 +106,9 @@ build_dashboard_frontend() { BUILD_TARGET=":{${DASHBOARD_FRONTEND_LANGS_LIST}}" fi fi - [ -z "$MAX_DASHBOARD_PARALLEL_BUILDS" ] && MAX_DASHBOARD_PARALLEL_BUILDS=2 + # number of frontend languages to build in parallel - default to 1 to work + # around https://tracker.ceph.com/issues/43152 + [ -z "$MAX_DASHBOARD_PARALLEL_BUILDS" ] && MAX_DASHBOARD_PARALLEL_BUILDS=1 . $TEMP_DIR/bin/activate NG_CLI_ANALYTICS="false" timeout 1h npm ci -- 2.47.3