Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-19555

Set variables for a yaml anchor reference

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      A more general use case for yaml anchors is to be able to pass variable values to the reference custom pipelines.  One way to do this would be to set up manual variables on the custom pipeline, and then set the values for those variables from the reference. There are likely other ways to approach this as well.

      In some ways, this would also solve the use case in BCLOUD-19465 in a more general way.

      Our current use case for this is to have a custom pipeline to run e2e tests against a deployment environment, but be able to parameterize that environment details (ie pass the url (or other parameters) to tell the custom pipeline what deployment environment to run the e2e tests against).

      (I suppose this could be done with a custom pipe instead, but that seems like a lot of extra and external code, and it would be nice to have it all in the same repo).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              406dda91b734 Ben
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: