Specifying remote tasks using hub resolvers
TOC
Feature OverviewSteps1. Select a Task Using the Web Console2. Specifying the remote task using the hub resolverLearn MoreFeature Overview
Tasks are reusable blocks for your CI/CD processes. When creating a pipeline run or task run, you can specify a remote task from the Catalog available on Hub. A default Hub instance is provided, you can use it directly.
Steps
1. Select a Task Using the Web Console
- Go to Container Platform.
- In the left navigation bar, click Pipelines > Pipelines.
- Create a Pipeline, then you can select a remote Task from the Catalog.
2. Specifying the remote task using the hub resolver
To specify a remote task, use the following reference format in the taskRef:
If the task requires additional parameters, specify values for these parameters in the params section of the specification of the pipeline, or task run.
The params section of the taskRef specification must contain only the parameters that the resolver supports.
Examples:
The following example pipeline references a remote task from the catalog:
The following example task run references a remote task from the catalog: