mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
build/ops: run "npm ci" with a one-hour timeout
Fixes: https://tracker.ceph.com/issues/40645 Signed-off-by: Nathan Cutler <ncutler@suse.com>
This commit is contained in:
parent
d27069f751
commit
7df4b92789
@ -90,7 +90,7 @@ build_dashboard_frontend() {
|
||||
$TEMP_DIR/bin/nodeenv -p --node=10.13.0
|
||||
cd src/pybind/mgr/dashboard/frontend
|
||||
. $TEMP_DIR/bin/activate
|
||||
npm ci
|
||||
timeout 1h npm ci
|
||||
npm run build -- --prod --progress=false
|
||||
deactivate
|
||||
cd $CURR_DIR
|
||||
|
@ -63,7 +63,7 @@ cd $DASH_DIR/frontend
|
||||
jq .[].target=$BASE_URL proxy.conf.json.sample > proxy.conf.json
|
||||
|
||||
. $BUILD_DIR/src/pybind/mgr/dashboard/node-env/bin/activate
|
||||
npm ci
|
||||
timeout 1h npm ci
|
||||
|
||||
if [ $DEVICE == "chrome" ]; then
|
||||
npm run e2e || stop 1
|
||||
|
Loading…
Reference in New Issue
Block a user