From 3cd1c1d948bf56740f772cc692b78ab43c5509b1 Mon Sep 17 00:00:00 2001 From: Daniel Rodriguez Sanchez Date: Fri, 23 Feb 2024 14:37:22 +0100 Subject: [PATCH] use build_tools ci image directly --- .gitlab-ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8c9d3a0dc..ed9c6c1b3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,18 +37,16 @@ build_and_deploy_layer: rules: - if: $CI_PIPELINE_SOURCE == "web" variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" ROLE_TO_ASSUME: arn:aws:iam::425362996713:role/sandbox-layer-deployer TARGET: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/datadog-lambda-extension tags: ["arch:amd64"] + image: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/datadog-lambda-extension artifacts: paths: - tmp/serverless/datadog_extension_signed.zip script: - mkdir tmp - git clone --branch ${AGENT_BRANCH} --depth=1 https://github.com/DataDog/datadog-agent.git - - dockerId=$(docker create --platform linux/amd64 ${TARGET}) - - docker cp $dockerId:/build_tools . - EXTERNAL_ID=$(aws ssm get-parameter --region us-east-1 --name ci.datadog-lambda-extension.externalid