-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.projenrc.js
45 lines (36 loc) · 1.15 KB
/
.projenrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
const { awscdk } = require('projen');
const project = new awscdk.AwsCdkConstructLibrary({
name: '@wheatstalk/fargate-spot-fallback',
author: 'Josh Kellendonk',
authorAddress: 'joshkellendonk@gmail.com',
repositoryUrl: 'https://github.com/wheatstalk/fargate-spot-fallback.git',
description: 'A CDK construct that brings a fallback ECS service online when ECS cannnot acquire Fargate spot capacity.',
cdkVersion: '2.0.0',
defaultReleaseBranch: 'main',
keywords: [
'ecs',
'fargate',
'fargate spot',
],
devDeps: [
'ts-node@9',
'@aws-sdk/client-cloudformation@3',
'@aws-sdk/client-lambda@3',
'@aws-sdk/client-sts@3',
'@aws-sdk/client-ecs@3',
'@aws-sdk/credential-provider-ini@3',
'@aws-sdk/types@3',
],
autoApproveUpgrades: true,
autoApproveOptions: {
allowedUsernames: ['github-actions', 'github-actions[bot]', 'misterjoshua'],
},
releaseToNpm: true,
});
project.addTask('integ:paired-services:test', {
exec: 'ts-node --project tsconfig.dev.json test/paired-services.run.ts',
});
project.upgradeWorkflow.postUpgradeTask.spawn(
project.tasks.tryFind('integ:snapshot-all'),
);
project.synth();