Skip to content

atc: behaviour: add origin_pipeline to OPA payload - #9583

Merged
taylorsilva merged 1 commit into
concourse:masterfrom
Petahhh:9507/add-opa-origin-pipeline
May 26, 2026
Merged

taylorsilva merged 1 commit into
concourse:masterfrom
Petahhh:9507/add-opa-origin-pipeline

Conversation

@Petahhh

@Petahhh Petahhh commented May 22, 2026 •

Copy link
Copy Markdown
Contributor

Changes proposed by this PR

Pipelines can be set via fly or in a step. In the latter case, there are two pipelines: the origin pipeline that has been run and the target pipeline actually being set.

The payload sent to OPA server now distinguishes the two. pipeline will indicate the pipeline being set where origin_pipeline refers to the pipeline doing the set-pipeline.

Docs PR: concourse/docs#608

closes #9507

Release Note

  • Breaking Change: Set-Pipeline OPA payload improvement
    • the payload sent to an OPA server when setting pipeline now includes origin_pipeline
    • In the case of pipeline being set by another pipeline, pipeline previously referred to the setting pipeline and not the target pipeline
    • the setting pipeline is now available in origin_pipeline and pipeline refers to the pipeline being set

Pipelines can be set via fly or in a step. In the latter case,
there are two pipelines: the origin pipeline that has been run
and the target pipeline actually being set.

The payload sent to OPA server now distinguishes the two. `pipeline`
will indicate the pipeline being set where `origin_pipeline` refers
to the pipeline doing the set-pipeline.

concourse#9507

Signed-off-by: Peter Tran <[email protected]>
@Petahhh
Petahhh requested a review from a team May 22, 2026 19:03
@linux-foundation-easycla

linux-foundation-easycla Bot commented May 22, 2026 •

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: Petahhh / name: Peter Tran (9220c31)

@Petahhh Petahhh changed the title DRAFT: atc: behaviour: add origin_pipeline atc: behaviour: add origin_pipeline May 22, 2026
@taylorsilva taylorsilva moved this from Todo to In Progress in Pull Requests May 26, 2026

@taylorsilva taylorsilva left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - TY Peter!

@taylorsilva taylorsilva changed the title atc: behaviour: add origin_pipeline atc: behaviour: add origin_pipeline to OPA payload May 26, 2026
@taylorsilva
taylorsilva merged commit 9aafc7f into concourse:master May 26, 2026
12 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Pull Requests May 26, 2026
@Petahhh
Petahhh deleted the 9507/add-opa-origin-pipeline branch May 27, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Enhance SetPipeline OPA input to include both source and target pipeline metadata

2 participants