Skip to content

Commit

Permalink
remove service
Browse files Browse the repository at this point in the history
  • Loading branch information
akash1810 committed Nov 3, 2023
1 parent 3d96471 commit 29a9b88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ npx @guardian/cdk@latest new \
--package-manager npm
```
- [x] Setup the project in CI (https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions) and CD
- [ ] Run the Dockerfile in AWS (via GuCDK)
- [ ] Run the HelloWorld image in AWS
- [x] Run the Dockerfile in AWS (via GuCDK)
- [x] Run the HelloWorld image in AWS
- [ ] Run our image in AWS
- [ ] Make the repo public
- [ ] Publish image to GitHub Packages during CI
- [ ] Run the task on demand
- [ ] Profit?
9 changes: 0 additions & 9 deletions lib/interactive-tilemaker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ import { GuStack } from '@guardian/cdk/lib/constructs/core';
import { GuVpc, SubnetType } from '@guardian/cdk/lib/constructs/ec2';
import type { App } from 'aws-cdk-lib';
import {
Cluster,
Compatibility,
ContainerImage,
CpuArchitecture,
FargateService,
LogDriver,
OperatingSystemFamily,
TaskDefinition,
Expand All @@ -33,8 +31,6 @@ export class InteractiveTilemaker extends GuStack {
privateSubnetIds: privateSubnets.map((subnet) => subnet.subnetId),
});

const cluster = new Cluster(this, 'TileMakerCluster', { vpc });

const task = new TaskDefinition(this, 'TileMakerTask', {
compatibility: Compatibility.FARGATE,
runtimePlatform: {
Expand All @@ -50,10 +46,5 @@ export class InteractiveTilemaker extends GuStack {
memoryLimitMiB: 2048,
logging: LogDriver.awsLogs({streamPrefix: "tile-maker/hello-world"})
});

new FargateService(this, 'TileMakerService', {
cluster,
taskDefinition: task,
});
}
}

0 comments on commit 29a9b88

Please sign in to comment.