From: Nathan Cutler Date: Thu, 5 Dec 2019 16:38:39 +0000 (+0100) Subject: build/ops: make-dist: default to no dashboard frontend build parallelism X-Git-Tag: v15.1.0~595^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=594dde9d4b1caf08c59523b240a6866df6a60f3c;p=ceph-ci.git 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 --- diff --git a/make-dist b/make-dist index 35d26142042..a84827f4b4a 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