Skip to content

Commit

Permalink
Update git resolver doc to use "revision" and "pathInRepo" fields
Browse files Browse the repository at this point in the history
Part of TEP-0115
Update Git Resolver documentation to use "revision" and "pathInRepo" fields to reflect the changes in [TEP-0115: Add git revision resolution support in Git Resolver](tektoncd#75) and [Add core Reconciler testing and fake resolver framework functions](tektoncd#51)
  • Loading branch information
QuanZhang-William committed Aug 8, 2022
1 parent 36a5cbd commit 3af2e4a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions gitresolver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ This Resolver responds to type `git`.

## Parameters

| Param Name | Description | Example Value |
|------------|------------------------------------------------------------------------------|----------------------------------------------|
| `url` | URL of the repo to fetch. | `https://github.com/tektoncd/catalog.git` |
| `commit` | git commit SHA to checkout a file from. | `aeb957601cf41c012be462827053a21a420befca` |
| `branch` | The branch name to checkout a file from. Either this or commit but not both. | `main` |
| `path` | Where to find the file in the repo. | `/task/golang-build/0.3/golang-build.yaml` |
| Param Name | Description | Example Value |
|------------|------------------------------------------------------------------------------|-------------------------------------------------------------|
| `url` | URL of the repo to fetch. | `https://github.com/tektoncd/catalog.git` |
| `revision` | Git revision to checkout a file from. This can be commit SHA, branch or tag. | `aeb957601cf41c012be462827053a21a420befca` `main` `v0.38.2` |
| `pathInRepo` | Where to find the file in the repo. | `/task/golang-build/0.3/golang-build.yaml` |

## Getting Started

Expand Down

0 comments on commit 3af2e4a

Please sign in to comment.