From 729269745258f2c105a831ecb51d71cac488868f Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Wed, 3 Feb 2021 12:32:01 +0100 Subject: [PATCH] =?UTF-8?q?Update=20catalog=20reference=20from=20master=20?= =?UTF-8?q?to=20main=20=F0=9F=A7=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This updates any reference of catalog repository to target the main branch instead of the master branch. Signed-off-by: Vincent Demeester --- roadmap.md | 2 +- teps/0003-tekton-catalog-organization.md | 2 +- teps/0029-step-workspaces.md | 2 +- teps/0045-whenexpressions-in-finally-tasks.md | 14 +++++++------- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/roadmap.md b/roadmap.md index d211f9d7d..ab343f11d 100644 --- a/roadmap.md +++ b/roadmap.md @@ -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) diff --git a/teps/0003-tekton-catalog-organization.md b/teps/0003-tekton-catalog-organization.md index 2cd0da821..97e4c602c 100644 --- a/teps/0003-tekton-catalog-organization.md +++ b/teps/0003-tekton-catalog-organization.md @@ -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 diff --git a/teps/0029-step-workspaces.md b/teps/0029-step-workspaces.md index 5a52569f2..8b7ef35e4 100644 --- a/teps/0029-step-workspaces.md +++ b/teps/0029-step-workspaces.md @@ -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. diff --git a/teps/0045-whenexpressions-in-finally-tasks.md b/teps/0045-whenexpressions-in-finally-tasks.md index 3dc9c46ab..f40ee944b 100644 --- a/teps/0045-whenexpressions-in-finally-tasks.md +++ b/teps/0045-whenexpressions-in-finally-tasks.md @@ -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). @@ -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 @@ -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 @@ -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