From: John Mulligan Date: Thu, 28 Aug 2025 23:39:06 +0000 (-0400) Subject: build-with-container: ensure npm dir is set up before configure X-Git-Tag: testing/wip-vshankar-testing-20250908.050731-debug~11^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=79166af192ea0b4b982b56ce521516d5a29e7a0d;p=ceph-ci.git build-with-container: ensure npm dir is set up before configure When the npm cache path option is passed the npm cache dir is passed to all container `run` commands, ensure the dir has been created before the first container command (configure) is used. Signed-off-by: John Mulligan --- diff --git a/src/script/build-with-container.py b/src/script/build-with-container.py index ec47a73a285..565e288e454 100755 --- a/src/script/build-with-container.py +++ b/src/script/build-with-container.py @@ -648,6 +648,7 @@ def get_container(ctx): def bc_configure(ctx): """Configure the build""" ctx.build.wants(Steps.CONTAINER, ctx) + ctx.build.wants(Steps.NPM_CACHE, ctx) cmd = _container_cmd( ctx, [