Comment 7 for bug 1856699

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/train)

Reviewed: https://review.opendev.org/699482
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=b2e2c68b86b7a7b16ea270f53dde7e400cae1560
Submitter: Zuul
Branch: stable/train

commit b2e2c68b86b7a7b16ea270f53dde7e400cae1560
Author: Radosław Piliszek <email address hidden>
Date: Tue Dec 17 12:57:49 2019 +0100

    Fix monasca-grafana being unbuildable due to old npm

    Affected builds on Ubuntu which had:
    npm 3.5.2
    while the latest was:
    npm 6.13.4
    And CentOS had:
    npm 5.6.0

    This patch runs npm update via npm.
    Pinned to 6.x.

    Additionally, this moves npm packages prefix (root) to
    /usr/local to avoid conflicts with native packages.

    Change-Id: Ibaacc1cc478b2b2f8196a5da4eea3570d7d310ff
    Closes-bug: #1856699
    (cherry picked from commit 308e85aa413da84ed107b27fa09a3f0e0a64392f)