File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 15151515 paths:
15161516 - packages/datadog-setup.php
15171517
1518+ "publish docker image for system tests":
1519+ stage: release
1520+ image: 486234852809.dkr.ecr.us-east-1.amazonaws.com/docker:29.4.0-noble
1521+ tags: [ "docker-in-docker:amd64" ]
1522+ rules:
1523+ - when: on_success
1524+ needs:
1525+ - job: "datadog-setup.php"
1526+ artifacts: true
1527+ - job: "package extension: [x86_64, x86_64-unknown-linux-gnu]"
1528+ artifacts: true
1529+ id_tokens:
1530+ DDOCTOSTS_ID_TOKEN:
1531+ aud: dd-octo-sts
1532+ variables:
1533+ GIT_STRATEGY: none
1534+ script: |
1535+ set -e
1536+ NORMALIZED_BRANCH=$(echo "$CI_COMMIT_REF_NAME" | sed 's/\//_/g')
1537+ IMAGE="ghcr.io/datadog/dd-trace-php/dd-library-php:${NORMALIZED_BRANCH}"
1538+
1539+ GITHUB_TOKEN=$(dd-octo-sts token \
1540+ --scope DataDog/dd-trace-php \
1541+ --policy gitlab-ci-publish-packages)
1542+ echo "$GITHUB_TOKEN" | docker login ghcr.io \
1543+ -u DataDog --password-stdin
1544+
1545+ printf 'FROM scratch\nCOPY packages/dd-library-php-*-x86_64-linux-gnu.tar.gz /\nCOPY packages/datadog-setup.php /\n' \
1546+ > Dockerfile.system-tests
1547+ docker build -f Dockerfile.system-tests -t "$IMAGE" .
1548+ docker push "$IMAGE"
1549+ echo "Pushed $IMAGE"
1550+
15181551"bundle for reliability env":
15191552 stage: shared-pipeline
15201553 image: registry.ddbuild.io/ci/libdatadog-build/ci_docker_base:67145216
You can’t perform that action at this time.
0 commit comments