Skip to content

ci: forward BP_EXTERNAL_S3_URL explicitly on benchmark trigger#414

Open
igoragoli wants to merge 1 commit into
masterfrom
augusto/pass-bp-external-s3-url-explicitly
Open

ci: forward BP_EXTERNAL_S3_URL explicitly on benchmark trigger#414
igoragoli wants to merge 1 commit into
masterfrom
augusto/pass-bp-external-s3-url-explicitly

Conversation

@igoragoli

@igoragoli igoragoli commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Description

Replace forward: pipeline_variables: true on the macrobenchmark trigger with an explicit BP_EXTERNAL_S3_URL: $BP_EXTERNAL_S3_URL passthrough.

forward: pipeline_variables: true was cleaner but passed every parent variable down to the child pipeline, which can be unsafe (a caller could override sensitive child settings such as the clone target, branch, region, or cleanup). Only BP_EXTERNAL_S3_URL is forwarded now, via the trigger job's variables: block (default yaml_variables forwarding). When an orchestrator leaves it unset, GitLab forwards the unexpanded literal $BP_EXTERNAL_S3_URL, which downstream code (bp-runner) treats as unset.

Testing

This was tested when authoring DataDog/dd-trace-py#18955 on dd-trace-py. On that work, I tested the BP_EXTERNAL_S3_URL: $BP_EXTERNAL_S3_URL explicit forwarding behavior before switching to forward: pipeline_variables.

Replace `forward: pipeline_variables: true` on the macrobenchmark child-pipeline
trigger with an explicit `BP_EXTERNAL_S3_URL: $BP_EXTERNAL_S3_URL` passthrough.
Forwarding all pipeline variables let a caller override sensitive child-pipeline
settings (clone target, branch, region, cleanup); forwarding only the one
variable we need closes that.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@igoragoli
igoragoli requested a review from a team as a code owner July 20, 2026 12:38
@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Jul 20, 2026

Copy link
Copy Markdown

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 68.52% (+0.00%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 5dec278 | Docs | Datadog PR Page | Give us feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant