Skip to content

Commit

Permalink
Merge pull request #83 from atlanhq/pes-2672
Browse files Browse the repository at this point in the history
  • Loading branch information
louisnow authored Jul 12, 2024
2 parents 0b6a126 + 10c564b commit 38b6a82
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bin/local-install.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function getConnectorPackages() {
.readdirSync(marketplacePackagesPath, { recursive: true, withFileTypes: false })
.filter(file => file.endsWith("package.json"))
.map(file => JSON.parse(fs.readFileSync(path.join(marketplacePackagesPath, file), "utf-8")))
.filter(pkg => pkg.config?.labels?.['orchestration.atlan.com/verified'] === 'true' && pkg.config?.labels?.['orchestration.atlan.com/certified'] === 'true')
.filter(pkg => pkg.config?.labels?.['orchestration.atlan.com/certified'] === 'true')
.filter(pkg => pkg.config?.labels?.['orchestration.atlan.com/type'] !== 'miner' && pkg.config?.labels?.['orchestration.atlan.com/type'] !== 'utility' )
.map(pkg => pkg.name);

Expand Down Expand Up @@ -222,7 +222,7 @@ async function run(packageName, azureArtifacts, bypassSafetyCheck, extraArgs, ch

// Always install numaflow packages since delete-pipelines may have deleted them
const numaflowPackages = [...packagesToInstall].filter((pkg) => pkg.isNumaflowPackage);
const connectorPackages = [...packagesToInstall].includes("@atlan/connectors") ? getConnectorPackages() : [];
const connectorPackages = [...packagesToInstall].find((pkg)=> "@atlan/connectors" === pkg.name ) ? getConnectorPackages() : [];
if (packageName != "@atlan/cloud-packages") {
console.log("Numaflow packages to install: " + numaflowPackages.map((pkg) => pkg.name).join(", "));
installPackages(numaflowPackages, extraArgs, azureArtifacts);
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "argopm",
"version": "0.10.14",
"version": "0.10.15",
"description": "Argo package manager",
"main": "./lib/index.js",
"scripts": {
Expand Down

0 comments on commit 38b6a82

Please sign in to comment.