Skip to content

Commit

Permalink
Update resolver example to use revision and pathInRepo fsields
Browse files Browse the repository at this point in the history
Part of TEP-0115

Update Git Resolver example to use ```revision``` and ```pathInRepo``` fields to reflect the changes in [TEP-0115: Add git revision resolution suppot in Git Resolver](tektoncd/resolution#75) and [Add core Reconciler testing and fake resolver framework functions](tektoncd/resolution#51)
  • Loading branch information
QuanZhang-William committed Jul 29, 2022
1 parent 2f93ab2 commit a0b79c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/pipelineruns.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ so long as the artifact adheres to the [contract](tekton-bundle-contracts.md).

A `pipelineRef` field may specify a Pipeline in a remote location such as git.
Support for specific types of remote will depend on the Resolvers your
cluster's operator has installed. The below example demonstrates
cluster's operator has installed. For more information please check the [Tekton resolution repo](https://github.com/tektoncd/resolution). The below example demonstrates
referencing a Pipeline in git:

```yaml
Expand All @@ -188,9 +188,9 @@ spec:
resource:
- name: url
value: https://github.com/tektoncd/catalog.git
- name: commit
- name: revision
value: abc123
- name: path
- name: pathInRepo
value: /pipeline/buildpacks/0.1/buildpacks.yaml
```

Expand Down
6 changes: 3 additions & 3 deletions docs/taskruns.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ cli *(coming soon)*.

A `taskRef` field may specify a Task in a remote location such as git.
Support for specific types of remote will depend on the Resolvers your
cluster's operator has installed. The below example demonstrates
cluster's operator has installed. For more information please check the [Tekton resolution repo](https://github.com/tektoncd/resolution). The below example demonstrates
referencing a Task in git:

```yaml
Expand All @@ -179,9 +179,9 @@ spec:
resource:
- name: url
value: https://github.com/tektoncd/catalog.git
- name: commit
- name: revision
value: abc123
- name: path
- name: pathInRepo
value: /task/golang-build/0.3/golang-build.yaml
```

Expand Down

0 comments on commit a0b79c3

Please sign in to comment.