Skip to content

Commit

Permalink
Update catalog reference from master to main 🧙
Browse files Browse the repository at this point in the history
This updates any reference of catalog repository to target the
main branch instead of the master branch.

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
  • Loading branch information
vdemeester authored and tekton-robot committed Apr 15, 2021
1 parent 481ef7b commit 7292697
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This doc describes Tekton's mission and the 2020 roadmap.
- Tekton Project Roadmaps
- [Pipeline](https://github.com/tektoncd/pipeline/blob/main/roadmap.md)
- [Triggers](https://github.com/tektoncd/triggers/blob/main/roadmap.md)
- [Catalog](https://github.com/tektoncd/catalog/blob/master/roadmap.md)
- [Catalog](https://github.com/tektoncd/catalog/blob/main/roadmap.md)
- [Dashboard](https://github.com/tektoncd/dashboard/blob/main/roadmap.md)
- [CLI](https://github.com/tektoncd/cli/blob/main/ROADMAP.md)

Expand Down
2 changes: 1 addition & 1 deletion teps/0003-tekton-catalog-organization.md
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ For example (with Task and Pipelines):

#### Example of a resource from catalog

* An example of `git-clone` task from the catalog: [Git-Clone](https://github.com/tektoncd/catalog/tree/master/task/git-clone/0.1)
* An example of `git-clone` task from the catalog: [Git-Clone](https://github.com/tektoncd/catalog/tree/main/task/git-clone/0.1)

* Fields added to the yaml file

Expand Down
2 changes: 1 addition & 1 deletion teps/0029-step-workspaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ sidecars:

#### Story 1

An author of the [`buildpacks-phases`](https://github.com/tektoncd/catalog/blob/master/task/buildpacks-phases/0.1/buildpacks-phases.yaml)
An author of the [`buildpacks-phases`](https://github.com/tektoncd/catalog/blob/main/task/buildpacks-phases/0.1/buildpacks-phases.yaml)
Catalog task may want to rewrite the Task to reduce the possible blast radius of
running untrusted images by limiting exposure of Docker credentials to only
the Step which needs them to push images.
Expand Down
14 changes: 7 additions & 7 deletions teps/0045-whenexpressions-in-finally-tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Users may want to guard the execution of `Finally Tasks` based on [`Results` fro
Moreover, now that [the execution status of `Tasks` is accessible in `Finally Tasks`](https://github.com/tektoncd/pipeline/blob/main/docs/pipelines.md#using-execution-status-of-pipelinetask),
they may also want to guard the execution of `Finally Tasks` based on the execution status of other `Tasks`.

An example use case is a `Pipeline` author wants to send a notification, such as posting on Slack using [this catalog task](https://github.com/tektoncd/catalog/tree/master/task/send-to-channel-slack/0.1#post-a-message-to-slack),
An example use case is a `Pipeline` author wants to send a notification, such as posting on Slack using [this catalog task](https://github.com/tektoncd/catalog/tree/main/task/send-to-channel-slack/0.1#post-a-message-to-slack),
when a certain `Task` in the `Pipeline` failed. To do this, one user has had to use a workaround using `Workspaces` that
they describe [in this thread](https://tektoncd.slack.com/archives/CK3HBG7CM/p1603399989171300?thread_ts=1603376439.161500&cid=CK3HBG7CM).
In addition, needing the workaround prevents the user from reusing the Slack catalog task as further described in [this issue](https://github.com/tektoncd/pipeline/issues/3438).
Expand Down Expand Up @@ -177,8 +177,8 @@ the other `Tasks` are done.
### Using Execution Status

Users would be able to solve for the example use case described in [Motivation](#motivation), where a user wants to send
a Slack notification using an `Execution Status` (when a `Task` fails), as demonstrated using [`golang-build`](https://github.com/tektoncd/catalog/tree/master/task/golang-build/0.1)
and [`send-to-channel-slack`](https://github.com/tektoncd/catalog/tree/master/task/send-to-channel-slack/0.1) Catalog `Tasks`:
a Slack notification using an `Execution Status` (when a `Task` fails), as demonstrated using [`golang-build`](https://github.com/tektoncd/catalog/tree/main/task/golang-build/0.1)
and [`send-to-channel-slack`](https://github.com/tektoncd/catalog/tree/main/task/send-to-channel-slack/0.1) Catalog `Tasks`:

```yaml
apiVersion: tekton.dev/v1beta1
Expand All @@ -205,8 +205,8 @@ spec:

### Using Results

Users can use `Results` in the `WhenExpressions` in `Finally Tasks`, as demonstrated using [`boskos-acquire`](https://github.com/tektoncd/catalog/tree/master/task/boskos-acquire/0.1)
and [`boskos-release`](https://github.com/tektoncd/catalog/tree/master/task/boskos-release/0.1) Catalog `Tasks`:
Users can use `Results` in the `WhenExpressions` in `Finally Tasks`, as demonstrated using [`boskos-acquire`](https://github.com/tektoncd/catalog/tree/main/task/boskos-acquire/0.1)
and [`boskos-release`](https://github.com/tektoncd/catalog/tree/main/task/boskos-release/0.1) Catalog `Tasks`:

```yaml
apiVersion: tekton.dev/v1beta1
Expand Down Expand Up @@ -241,8 +241,8 @@ exist or there's a typo), the `Pipeline` validation will fail upfront.

### Using Parameters

Users can use `Parameters` in the `WhenExpressions` in `Finally Tasks`, as demonstrated using [`golang-build`](https://github.com/tektoncd/catalog/tree/master/task/golang-build/0.1)
and [`send-to-channel-slack`](https://github.com/tektoncd/catalog/tree/master/task/send-to-channel-slack/0.1) Catalog `Tasks`:
Users can use `Parameters` in the `WhenExpressions` in `Finally Tasks`, as demonstrated using [`golang-build`](https://github.com/tektoncd/catalog/tree/main/task/golang-build/0.1)
and [`send-to-channel-slack`](https://github.com/tektoncd/catalog/tree/main/task/send-to-channel-slack/0.1) Catalog `Tasks`:


```yaml
Expand Down

0 comments on commit 7292697

Please sign in to comment.