Skip to content

Feature request: opaque key in pipeline YAML (user-provided data) #8426

Closed

Description

@marco-m-pix4d

Today, although it is possible to add any key non belonging to the Concourse pipeline syntax to a pipeline YAML (for example for YAML anchors), fly set-pipeline will strip any such keys before uploading to Concourse.

What we propose is to agree on one top-level key name (example: userdata), that would be left alone by fly and accepted as an opaque blob by Concourse, so that a subsequent fly get-pipeline (or equivalent HTTP API call) would give back a pipeline YAML that preserves such key.

Rationale

We generate the pipelines programmatically. We would like to add metadata meaningful to us, such as Organization team name (as opposed to a Concourse team), so that we can perform further operations when processing the output of fly get-pipeline.

We believe that such userdata could be useful also for manually edited pipelines, although the more pipelines one has, the more the need of such feature becomes apparent.

Prior art

The concept of opaque "user data" or "context" is used both in operations (for example, cloud-init and its "user data") and in programming (for example the "context" passed to a callback function).

Offer to help

If this feature is consider useful, we will be happy to provide a PR.

Activity

  1. marco-m-pix4d commented on Sep 28, 2022

    @marco-m-pix4d
    ContributorAuthor

    Hello @xtremerui, any opinions? Should I mention here somebody else from the Concourse team? Thanks :-)

  2. xtremerui commented on Sep 28, 2022

    @xtremerui
    Contributor

    Hi @marco-m-pix4d , I don't think there is anything blocking us to have this feature. Once you have a draft we can iterate over it.

    Thank you!

  3. marco-m-pix4d commented on Sep 29, 2022

    @marco-m-pix4d
    ContributorAuthor

    @xtremerui thanks, appreciated!

  4. added a commit that references this issue on Mar 25, 2026
  5. aliculPix4D commented on Mar 25, 2026

    @aliculPix4D
    Contributor

    This issue is resolved by: #9489

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions