Skip to content

Commit 3db18da

Browse files
committed
update
1 parent bd7d132 commit 3db18da

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

.gitlab/templates/pipeline.yaml.tpl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -358,10 +358,10 @@ integration-deploy:
358358
image: ${CI_DOCKER_TARGET_IMAGE}:${CI_DOCKER_TARGET_VERSION}
359359
rules:
360360
- when: on_success
361-
# needs:
362-
# - publish integration layer (arm64)
363-
# dependencies:
364-
# - publish integration layer (arm64)
361+
needs:
362+
- publish integration layer (arm64)
363+
dependencies:
364+
- publish integration layer (arm64)
365365
variables:
366366
IDENTIFIER: integration
367367
AWS_DEFAULT_REGION: us-east-1
@@ -375,8 +375,8 @@ integration-deploy:
375375
{{ end }}
376376
script:
377377
- echo "Deploying CDK stacks with identifier ${IDENTIFIER}..."
378-
# - export EXTENSION_LAYER_ARN=$(cat ../integration_layer_arn.txt)
379-
# - echo "Using integration test layer - ${EXTENSION_LAYER_ARN}"
378+
- export EXTENSION_LAYER_ARN=$(cat ../integration_layer_arn.txt)
379+
- echo "Using integration test layer - ${EXTENSION_LAYER_ARN}"
380380
- export CDK_DEFAULT_ACCOUNT=$(aws sts get-caller-identity --query Account --output text)
381381
- export CDK_DEFAULT_REGION=us-east-1
382382
- npm run build

integration-tests/lib/util.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import * as iam from 'aws-cdk-lib/aws-iam';
55
import { LayerVersion } from "aws-cdk-lib/aws-lambda";
66

77
export const datadogSecretArn = process.env.DATADOG_API_SECRET_ARN || '';
8-
// export const extensionLayerArn = process.env.EXTENSION_LAYER_ARN || '';
9-
export const extensionLayerArn = 'arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Extension-ARM:89'
8+
export const extensionLayerArn = process.env.EXTENSION_LAYER_ARN || 'arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Extension-ARM:89'
109

1110
export interface Props extends cdk.StackProps{
1211
identifier: string

0 commit comments

Comments
 (0)