Project

General

Profile

Actions

Bug #47572

closed

mgr/dashboard: stop Angular from pausing a non-interactive build

Added by Lenz Grimmer over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Build, CI, Dependencies & Tools
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This was reported via IRC:

In a fresh development environment, e.g. inside a container, the dashboard build process stops with the following output:

> @angular/cli@10.0.5 postinstall /home/brad/working/src/ceph-fedora-32-brad/src/pybind/mgr/dashboard/frontend/node_modules/@angular/cli
> node ./bin/postinstall/script.js

? Would you like to share anonymous usage data with the Angular Team at Google under
Google’s Privacy Policy at https://policies.google.com/privacy? For more details and
how to change this setting, see http://angular.io/analytics. No

According to the developer documentation there are several ways to suppress this message:

Setting an environment variable: export NG_CLI_ANALYTICS=ci

Disabling analytics via a command: ng analytics off

Adding a property to angular.json:

"cli": {
    "analytics": false
}
Actions

Also available in: Atom PDF