looks like ibm telemetry is being run when you do `npm install` on CI
env. here's disabling that
Signed-off-by: Nizamudeen A <nia@redhat.com>
cd src/pybind/mgr/dashboard/frontend
. $TEMP_DIR/bin/activate
- NG_CLI_ANALYTICS=false timeout 1h npm ci
+ NG_CLI_ANALYTICS=false IBM_TELEMETRY_DISABLED=true timeout 1h npm ci
echo "Building ceph-dashboard frontend with build:localize script";
# we need to use "--" because so that "--configuration production"
# survives accross all scripts redirections inside package.json
export CYPRESS_BASE_URL
cd $DASHBOARD_FRONTEND_DIR
+export IBM_TELEMETRY_DISABLED=true
# This is required for Cypress to understand typescript
npm ci --unsafe-perm
# Build dashboard frontend (required to start the module).
cd ${CEPH_DEV_FOLDER}/src/pybind/mgr/dashboard/frontend
export NG_CLI_ANALYTICS=false
+export IBM_TELEMETRY_DISABLED=true
if [[ -n "$JENKINS_HOME" ]]; then
npm cache clean --force
fi
add_npm_command(
OUTPUT "${CMAKE_CURRENT_SOURCE_DIR}/node_modules"
- COMMAND CYPRESS_CACHE_FOLDER=${CMAKE_SOURCE_DIR}/build/src/pybind/mgr/dashboard/cypress NG_CLI_ANALYTICS=false npm ci -f ${mgr-dashboard-userconfig}
+ COMMAND CYPRESS_CACHE_FOLDER=${CMAKE_SOURCE_DIR}/build/src/pybind/mgr/dashboard/cypress NG_CLI_ANALYTICS=false IBM_TELEMETRY_DISABLED=true npm ci -f ${mgr-dashboard-userconfig}
DEPENDS package.json
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "dashboard frontend dependencies are being installed"