Skip to content

Commit

Permalink
Add memory to codebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
NiallJoeMaher committed Feb 26, 2024
1 parent ae9491b commit 6bf2c73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cdk/lib/pipeline-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
ShellStep,
} from "aws-cdk-lib/pipelines";
import * as ssm from "aws-cdk-lib/aws-ssm";
import * as codebuild from "aws-cdk-lib/aws-codebuild";

export class PipelineStack extends cdk.Stack {
constructor(scope: Construct, id: string, props: cdk.StackProps) {
Expand Down Expand Up @@ -50,6 +51,7 @@ export class PipelineStack extends cdk.Stack {
codeBuildDefaults: {
cache: Cache.local(LocalCacheMode.DOCKER_LAYER),
buildEnvironment: {
computeType: codebuild.ComputeType.MEDIUM,
privileged: true,
environmentVariables: {
DOCKER_BUILDKIT: {
Expand Down

0 comments on commit 6bf2c73

Please sign in to comment.