]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Don't prompt for analytics during @angular/cli install 37325/head
authorBrad Hubbard <bhubbard@redhat.com>
Wed, 23 Sep 2020 06:03:31 +0000 (16:03 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Tue, 29 Sep 2020 04:08:18 +0000 (14:08 +1000)
Fixes: https://tracker.ceph.com/issues/47572
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
src/pybind/mgr/dashboard/CMakeLists.txt

index b0784611c508360c36c3fd2cc8f00c76ecdb3dc0..de97b483983531cc456b780786fa963fa610abeb 100644 (file)
@@ -53,7 +53,7 @@ endif()
 
 add_npm_command(
   OUTPUT "${CMAKE_SOURCE_DIR}/src/pybind/mgr/dashboard/frontend/node_modules"
-  COMMAND CYPRESS_CACHE_FOLDER=${CMAKE_SOURCE_DIR}/build/src/pybind/mgr/dashboard/cypress npm ci ${mgr-dashboard-userconfig}
+  COMMAND CYPRESS_CACHE_FOLDER=${CMAKE_SOURCE_DIR}/build/src/pybind/mgr/dashboard/cypress NG_CLI_ANALYTICS=false npm ci ${mgr-dashboard-userconfig}
   DEPENDS frontend/package.json
   WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src/pybind/mgr/dashboard/frontend
   COMMENT "dashboard frontend dependencies are being installed"