From d96ff2cef8166a1f8957f38f00cd52b39bc46a0d Mon Sep 17 00:00:00 2001 From: Amit Prabhu Date: Sat, 9 Dec 2023 09:35:11 +0530 Subject: [PATCH] Ignore numaflow pacakge install incase when installing cloud packages --- bin/local-install.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/local-install.js b/bin/local-install.js index 8bb7f16..4bc2e8c 100644 --- a/bin/local-install.js +++ b/bin/local-install.js @@ -193,9 +193,10 @@ async function run(packageName, azureArtifacts, extraArgs, channel) { // Always install numaflow packages since delete-pipelines may have deleted them const numaflowPackages = Object.values(packagesMap).filter((pkg) => pkg.isNumaflowPackage); - console.log("Numaflow packages to install: " + numaflowPackages.map((pkg) => pkg.name).join(", ")); - - installPackages(numaflowPackages, extraArgs, azureArtifacts); + if (packageName != "@atlan/cloud-packages") { + console.log("Numaflow packages to install: " + numaflowPackages.map((pkg) => pkg.name).join(", ")); + installPackages(numaflowPackages, extraArgs, azureArtifacts); + } var safeToInstall = true; if (!ignoreSafetyCheck(packageName) && channel == "master") {