Skip to content

Commit 490944f

Browse files
using upstream project name variable
1 parent d18c5cd commit 490944f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ci/input_files/build.yaml.tpl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,9 @@ e2e-test:
261261
trigger:
262262
project: DataDog/serverless-e2e-tests
263263
strategy: depend
264+
rules:
265+
- if $UPSTREAM_PROJECT_NAME == "dd-trace-py"
266+
when: never
264267
variables:
265268
LANGUAGES_SUBSET: python
266269
# These env vars are inherited from the dotenv reports of the publish-layer jobs
@@ -281,8 +284,10 @@ e2e-test-status:
281284
image: registry.ddbuild.io/images/docker:20.10-py3
282285
tags: ["arch:amd64"]
283286
timeout: 3h
287+
rules:
288+
- if $UPSTREAM_PROJECT_NAME == "dd-trace-py"
289+
when: never
284290
script: |
285-
echo $UPSTREAM_COMMIT_BRANCH
286291
GITLAB_API_TOKEN=$(aws ssm get-parameter --region us-east-1 --name "ci.${CI_PROJECT_NAME}.serverless-e2e-gitlab-token" --with-decryption --query "Parameter.Value" --out text)
287292
URL="${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${CI_PIPELINE_ID}/bridges"
288293
echo "Fetching E2E job status from: $URL"

0 commit comments

Comments
 (0)