]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
make-dist: Don't prompt while running 'npm ci'
authorBrad Hubbard <bhubbard@redhat.com>
Tue, 27 Oct 2020 00:37:15 +0000 (10:37 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Tue, 27 Oct 2020 00:37:15 +0000 (10:37 +1000)
Prompting for input while in the background results in SIGTTOU being
sent and npm hanging forever.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
make-dist

index 2904e63a91503aa3b8251515f70350516fc1b15a..b0eb74e75c3a035f520960be6fead63a1717e06f 100755 (executable)
--- 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