Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitlab/templates/pipeline.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,9 @@ integration-suite:
IDENTIFIER: ${CI_COMMIT_SHORT_SHA}
AWS_DEFAULT_REGION: us-east-1
DD_SITE: datadoghq.com
DD_CIVISIBILITY_AGENTLESS_ENABLED: "true"
DD_SERVICE: datadog-lambda-extension
DD_ENV: ci
{{ with $environment := (ds "environments").environments.sandbox }}
before_script:
- EXTERNAL_ID_NAME={{ $environment.external_id }} ROLE_TO_ASSUME={{ $environment.role_to_assume }} AWS_ACCOUNT={{ $environment.account }} source .gitlab/scripts/get_secrets.sh
Expand All @@ -652,7 +655,7 @@ integration-suite:
- npx cdk deploy "integ-${IDENTIFIER}-${TEST_SUITE}" --require-approval never --import-existing-resources
- echo "Running ${TEST_SUITE} integration tests with identifier ${IDENTIFIER}..."
- export TEST_SUITE=${TEST_SUITE}
- npx jest tests/${TEST_SUITE}.test.ts
- DD_TEST_SESSION_NAME="integration-${TEST_SUITE}" NODE_OPTIONS="${NODE_OPTIONS:-} -r dd-trace/ci/init" npx jest tests/${TEST_SUITE}.test.ts
{{ with $environment := (ds "environments").environments.sandbox }}
after_script:
- EXTERNAL_ID_NAME={{ $environment.external_id }} ROLE_TO_ASSUME={{ $environment.role_to_assume }} AWS_ACCOUNT={{ $environment.account }} source .gitlab/scripts/get_secrets.sh
Expand Down
Loading
Loading