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
docs(resolver): Reorganize in-repo pipeline and task documentation
Restructure documentation so information shared between Pipeline and Task
resolution is consolidated. Ensures both Task and Pipelines each have
the same level of documentation for in-repo resolution, linking to
shared section
See [Tasks and Pipelines inside the repository](#tasks-or-pipelines-inside-the-repository) for details.
292
+
295
293
### Hub Support for Pipelines
296
294
297
295
```yaml
@@ -372,7 +370,7 @@ to a `Name`, no override is done on `Tasks` embedded with a `taskSpec`. See
372
370
[Tekton documentation](https://tekton.dev/docs/pipelines/pipelines/#adding-tasks-to-the-pipeline) for the differences between `taskRef` and `taskSpec`:
373
371
{{< /hint >}}
374
372
375
-
### Tasks or Pipelines Precedence
373
+
## Tasks or Pipelines Precedence
376
374
377
375
From where tasks or pipelines of the same name takes precedence?
378
376
@@ -389,3 +387,34 @@ pipeline in this order:
389
387
1. The Pipeline from the PipelineRun annotations
390
388
2. The Pipeline from the Tekton directory (pipelines are automatically fetched from
391
389
the `.tekton` directory and its sub-directories)
390
+
391
+
## Tasks or Pipelines inside the repository
392
+
393
+
You can also reference a task or pipeline from a YAML file inside
394
+
your repository by specifying the path to the file.
0 commit comments