Supporting multiple catalog hubs in Pipelines-as-Code.
Goals
Let platform administrators setup multiple hub endpointCurrently, Pipelines as Code allows customization of the catalog hub from where the tasks are fetched, using upstream hub as default.Platforms Administrators may want to configure multiple catalog hubs to utilize tasks from different locations. For example, they might have their own set of tasks from their own hub and also want to use tasks from the official upstream Hub.
Let the user specify the catalog hub from which they want to fetch tasks in the PipelineRun.Users should be able to specify in the PipelineRun from which catalog hub they want to fetch tasks. This allows them to use tasks from different catalog hubs within the same PipelineRun.
Non-Goals
This applies only to Pipelines as Code's remote resolution from hub feature using annotations and does not apply to the Tekton custom resolver feature.
Design