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
Copy file name to clipboardExpand all lines: cicd/pipelines/remote-pipelines-tasks-resolvers.adoc
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,32 +21,43 @@ Git resolver:: Retrieves a task or pipeline binding from a Git repository. You m
21
21
22
22
[id="resolver-hub_{context}"]
23
23
== Specifying a remote pipeline or task from a Tekton catalog
24
-
You can specify a remote pipeline or task that is defined in a public Tekton catalog, either link:https://artifacthub.io/[{artifact-hub}] or link:https://hub.tekton.dev/[{tekton-hub}], by using the hub resolver.
24
+
You can use the hub resolver to specify a remote pipeline or task that is defined either in a public Tekton catalog of link:https://artifacthub.io/[{artifact-hub}] or in an instance of {tekton-hub}.
25
+
26
+
[IMPORTANT]
27
+
====
28
+
The {artifact-hub} project is not supported with {pipelines-title}. Only the configuration of {artifact-hub} is supported.
== Specifying a remote pipeline or task from a Tekton bundle
31
36
32
-
You can specify a remote pipeline or task from a Tekton bundle by using the bundles resolver. A Tekton bundle is an OCI image available from any OCI repository, such as an OpenShift container repository.
37
+
You can use the bundles resolver to specify a remote pipeline or task from a Tekton bundle. A Tekton bundle is an OCI image available from any OCI repository, such as an OpenShift container repository.
== Specifying a remote pipeline or task from the same cluster
39
44
40
-
You can specify a remote pipeline or task that is defined in a namespace on the {product-title} cluster where {pipelines-title} is running by using the cluster resolver.
45
+
You can use the cluster resolver to specify a remote pipeline or task that is defined in a namespace on the {product-title} cluster where {pipelines-title} is running.
== Specifying a remote pipeline or task from a Git repository
47
52
48
-
You can specify a remote pipeline or task from a Git repostory by using the Git resolver. The repository must contain a YAML file that defines the pipeline or task. The Git resolver can access a repository either by cloning it anonymously or else by using the authenticated SCM API.
53
+
You can use the Git resolver to specify a remote pipeline or task from a Git repostory. The repository must contain a YAML file that defines the pipeline or task. The Git resolver can access a repository either by cloning it anonymously or else by using the authenticated SCM API.
<1> The default {tekton-hub} catalog for pulling a resource.
38
40
<2> The default {artifact-hub} catalog for pulling a task resource.
39
41
<3> The default {artifact-hub} catalog for pulling a pipeline resource.
40
42
<4> The default object kind for references.
41
43
<5> The default hub for pulling a resource, either `artifact` for {artifact-hub} or `tekton` for {tekton-hub}.
44
+
<6> The {tekton-hub} API used, if the `default-type` option is set to `tekton`.
45
+
<7> Optional: The {artifact-hub} API used, if the `default-type` option is set to `artifact`.
46
+
+
47
+
[IMPORTANT]
48
+
====
49
+
If you set the `default-type` option to `tekton`, you must configure your own instance of the {tekton-hub} by setting the `tekton-hub-api` value.
50
+
51
+
If you set the `default-type` option to `artifact` then the resolver uses the public hub API at https://artifacthub.io/ by default. You can configure your own {artifact-hub} API by setting the `artifact-hub-api` value.
0 commit comments