You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: opaque key in pipeline YAML (user-provided data) #8426
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.
Reacted by Frédéric Gorgerat, Aleksandar Licul and dgengtek
Activity
marco-m-pix4d commentedon Sep 28, 2022
Hello @xtremerui, any opinions? Should I mention here somebody else from the Concourse team? Thanks :-)
xtremerui commentedon Sep 28, 2022
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!
marco-m-pix4d commentedon Sep 29, 2022
@xtremerui thanks, appreciated!
Add user_data field to pipeline Config struct
Add database migration and storage for user_data
Update pipeline retrieval to include user_data
Add comprehensive tests for user_data feature
Add implementation summary documentation
Add user_data field to pipeline Config struct
Add database migration and storage for user_data
Update pipeline retrieval to include user_data
Add comprehensive tests for user_data feature
Add implementation summary documentation
Add database migration and storage for user_data
Add comprehensive tests for user_data feature
Add user_data field to pipeline Config struct
Add database migration and storage for user_data
Add comprehensive tests for user_data feature
Add comprehensive tests for user_data feature
Add user_data field to pipeline Config struct
Add database migration and storage for user_data
Add comprehensive tests for user_data feature
Merge pull request #9489 from alicul/opaque-user-data
aliculPix4D commentedon Mar 25, 2026
This issue is resolved by: #9489