]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
build-with-container: ensure npm dir is set up before configure 65376/head
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 28 Aug 2025 23:39:06 +0000 (19:39 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 3 Sep 2025 20:00:16 +0000 (16:00 -0400)
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 <jmulligan@redhat.com>
src/script/build-with-container.py

index ec47a73a2858b33492d63588d493fef8bfd7b788..565e288e454fee5b80155fcdd2e8fc208ac52d22 100755 (executable)
@@ -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,
         [