From: Brad Hubbard Date: Tue, 27 Oct 2020 00:37:15 +0000 (+1000) Subject: make-dist: Don't prompt while running 'npm ci' X-Git-Tag: v16.1.0~748^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f4f53ece4d28d6bfbe15721429c029ac33f66842;p=ceph.git make-dist: Don't prompt while running 'npm ci' Prompting for input while in the background results in SIGTTOU being sent and npm hanging forever. Signed-off-by: Brad Hubbard --- diff --git a/make-dist b/make-dist index 2904e63a9150..b0eb74e75c3a 100755 --- a/make-dist +++ b/make-dist @@ -78,7 +78,7 @@ build_dashboard_frontend() { cd src/pybind/mgr/dashboard/frontend . $TEMP_DIR/bin/activate - timeout 1h npm ci + NG_CLI_ANALYTICS=false timeout 1h npm ci echo "Building ceph-dashboard frontend with build:localize script"; # we need to use "--" because so that "--prod" survives accross all # scripts redirections inside package.json