@starship-ci/client
Advanced tools
Comparing version 2.5.2 to 2.5.3
@@ -56,2 +56,3 @@ import { StarshipConfig } from './config'; | ||
getArgs(): string[]; | ||
getDeployArgs(): string[]; | ||
test(): void; | ||
@@ -58,0 +59,0 @@ stop(): void; |
@@ -183,2 +183,9 @@ "use strict"; | ||
} | ||
getDeployArgs() { | ||
const args = this.getArgs(); | ||
if (this.ctx.helmNamespace) { | ||
args.push('--create-namespace'); | ||
} | ||
return args; | ||
} | ||
// TODO do we need this here? | ||
@@ -241,3 +248,3 @@ test() { | ||
this.ctx.helmVersion, | ||
...this.getArgs(), | ||
...this.getDeployArgs(), | ||
...options, | ||
@@ -286,3 +293,3 @@ ]; | ||
...this.getArgs(), | ||
], false, false); | ||
], false, true); | ||
// Split the output by new lines and filter out any empty lines | ||
@@ -311,3 +318,3 @@ const podNames = result.split('\n').filter(name => name.trim() !== ''); | ||
...this.getArgs(), | ||
], true, false).trim(); | ||
], false, true).trim(); | ||
const [status, reason] = result.split(' '); | ||
@@ -314,0 +321,0 @@ this.podStatuses.set(podName, status); |
@@ -154,2 +154,9 @@ import chalk from 'chalk'; | ||
} | ||
getDeployArgs() { | ||
const args = this.getArgs(); | ||
if (this.ctx.helmNamespace) { | ||
args.push('--create-namespace'); | ||
} | ||
return args; | ||
} | ||
// TODO do we need this here? | ||
@@ -212,3 +219,3 @@ test() { | ||
this.ctx.helmVersion, | ||
...this.getArgs(), | ||
...this.getDeployArgs(), | ||
...options, | ||
@@ -257,3 +264,3 @@ ]; | ||
...this.getArgs(), | ||
], false, false); | ||
], false, true); | ||
// Split the output by new lines and filter out any empty lines | ||
@@ -282,3 +289,3 @@ const podNames = result.split('\n').filter(name => name.trim() !== ''); | ||
...this.getArgs(), | ||
], true, false).trim(); | ||
], false, true).trim(); | ||
const [status, reason] = result.split(' '); | ||
@@ -285,0 +292,0 @@ this.podStatuses.set(podName, status); |
{ | ||
"name": "@starship-ci/client", | ||
"version": "2.5.2", | ||
"version": "2.5.3", | ||
"author": "Dan Lynch <pyramation@gmail.com>", | ||
@@ -58,3 +58,3 @@ "description": "Starship CI Client", | ||
}, | ||
"gitHead": "e0d67ec926dd196dc7a5624cba67861b34418e4d" | ||
"gitHead": "befabf95d26c662995aaad7424c123d6289ea0f0" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57595
1367