Pipelines are reusable blocks for your CI/CD processes. When creating a pipeline run, you can specify a remote pipeline from the Catalog available on Hub. We supply a default Hub instance for you to use.
Here is the pipelines available on Hub:
To specify a remote pipeline, use the following reference format in the pipelineRef
:
Parameter | Description | Example value |
---|---|---|
catalog | The catalog for pulling the resource. | catalog |
kind | Either task or pipeline. | pipeline |
name | The name of the task or pipeline to fetch from the hub. | java-image-build-scan-deploy |
version | The version of the task or pipeline to fetch from the hub. You must use quotes (") around the number. | "0.1" |
If the pipeline requires additional parameters, specify values for these parameters in the params section of the specification of the pipeline run.
The params section of the pipelineRef
specification must contain only the parameters that the resolver supports.
Examples:
The following example pipeline run references a remote pipeline from the catalog: