fix
parent
dca01ea4a0
commit
18c1617504
|
|
@ -1025,7 +1025,6 @@ class AWSJobStack {
|
|||
let taskDefCloudFormation = aws_templates_1.AWSTemplates.readTaskCloudFormationTemplate();
|
||||
const cleanupTaskDefStackName = `${taskDefStackName}-cleanup`;
|
||||
const cleanupCloudFormation = fs.readFileSync(`${__dirname}/cloud-formations/cloudformation-stack-ttl.yml`, 'utf8');
|
||||
cloud_runner_logger_1.default.log(JSON.stringify(secrets, undefined, 4));
|
||||
for (const secret of secrets) {
|
||||
secret.ParameterKey = `${buildGuid.replace(/[^\dA-Za-z]/g, '')}${secret.ParameterKey.replace(/[^\dA-Za-z]/g, '')}`;
|
||||
if (typeof secret.ParameterValue == 'number') {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -13,9 +13,12 @@
|
|||
"format": "prettier --write \"src/**/*.{js,ts}\"",
|
||||
"prepare": "husky install",
|
||||
"cli": "yarn ts-node src/index.ts -m cli",
|
||||
"cli-aws": "cross-env cloudRunnerCluster=aws yarn ts-node src/index.ts -m cli",
|
||||
"cli-k8s": "cross-env cloudRunnerCluster=k8s yarn ts-node src/index.ts -m cli",
|
||||
"test-cli": "yarn ts-node src/index.ts -m cli --projectPath test-project",
|
||||
"test": "jest",
|
||||
"test-i": "yarn run test-i-aws && yarn run test-i-k8s",
|
||||
"test-i-f": "yarn run test-i-aws && yarn run test-i-k8s && yarn run cli-k8s --projectPath test-project && yarn run cli-aws --projectPath test-project",
|
||||
"test-i-aws": "cross-env cloudRunnerTests=true cloudRunnerCluster=aws yarn test -i",
|
||||
"test-i-k8s": "cross-env cloudRunnerTests=true cloudRunnerCluster=k8s yarn test -i"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ export class AWSJobStack {
|
|||
let taskDefCloudFormation = AWSTemplates.readTaskCloudFormationTemplate();
|
||||
const cleanupTaskDefStackName = `${taskDefStackName}-cleanup`;
|
||||
const cleanupCloudFormation = fs.readFileSync(`${__dirname}/cloud-formations/cloudformation-stack-ttl.yml`, 'utf8');
|
||||
CloudRunnerLogger.log(JSON.stringify(secrets, undefined, 4));
|
||||
for (const secret of secrets) {
|
||||
secret.ParameterKey = `${buildGuid.replace(/[^\dA-Za-z]/g, '')}${secret.ParameterKey.replace(
|
||||
/[^\dA-Za-z]/g,
|
||||
|
|
|
|||
Loading…
Reference in New Issue