Skip to content

Commit

Permalink
Add platforms annotation to several tasks
Browse files Browse the repository at this point in the history
Annotation about `linux/amd64`,`linux/s390x`,`linux/ppc64le` platforms
was added to all versions of the  tkn, git-cli, pull-request
and kubeconfig-creator tasks.

Signed-off-by: Yulia Gaponenko <[email protected]>
  • Loading branch information
barthy1 authored and tekton-robot committed Jul 26, 2021
1 parent af28e02 commit b21ad0b
Show file tree
Hide file tree
Showing 12 changed files with 29 additions and 0 deletions.
4 changes: 4 additions & 0 deletions task/git-cli/0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ Command that needs to be run can be passed as a script to the task.

* **commit**: The precise commit SHA after git operation is performed.

### Platforms

The Task can be run on `linux/amd64`, `linux/s390x` and `linux/ppc64le` platforms.

### Usage

This task needs authentication to git in order to push after the git operation.
Expand Down
1 change: 1 addition & 0 deletions task/git-cli/0.1/git-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ metadata:
tekton.dev/pipelines.minVersion: "0.12.1"
tekton.dev/tags: git
tekton.dev/displayName: "git cli"
tekton.dev/platforms: "linux/amd64,linux/s390x,linux/ppc64le"
spec:
description: >-
This task can be used to perform git operations.
Expand Down
4 changes: 4 additions & 0 deletions task/git-cli/0.2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ Command that needs to be run can be passed as a script to the task.

* **commit**: The precise commit SHA after git operation is performed.

### Platforms

The Task can be run on `linux/amd64`, `linux/s390x` and `linux/ppc64le` platforms.

### Usage

This task needs authentication to git in order to push after the git operation.
Expand Down
1 change: 1 addition & 0 deletions task/git-cli/0.2/git-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ metadata:
tekton.dev/categories: Git
tekton.dev/tags: git
tekton.dev/displayName: "git cli"
tekton.dev/platforms: "linux/amd64,linux/s390x,linux/ppc64le"
spec:
description: >-
This task can be used to perform git operations.
Expand Down
3 changes: 3 additions & 0 deletions task/kubeconfig-creator/0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/ku
This will make your HTTPS connections insecure
(_default:_ `false`)

## Platforms

The Task can be run on `linux/amd64`, `linux/s390x` and `linux/ppc64le` platforms.

## Usage

Expand Down
1 change: 1 addition & 0 deletions task/kubeconfig-creator/0.1/kubeconfig-creator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
tekton.dev/categories: Deployment, Kubernetes
tekton.dev/tags: deploy
tekton.dev/displayName: "kubeconfig creator"
tekton.dev/platforms: "linux/amd64,linux/s390x,linux/ppc64le"
spec:
description: >-
This Task do a similar job to the Cluster PipelineResource and
Expand Down
4 changes: 4 additions & 0 deletions task/pull-request/0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ in a vendor agnostic way [with these keys](https://github.com/jenkins-x/go-scm/b

_See [pr-example/comments](../0.1/pr-example/comments) for examples of GitHub comments._

## Platforms

The Task can be run on `linux/amd64`, `linux/s390x` and `linux/ppc64le` platforms.

## Usage

### Permissions
Expand Down
1 change: 1 addition & 0 deletions task/pull-request/0.1/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
tekton.dev/categories: Git
tekton.dev/tags: SCM
tekton.dev/displayName: "pull request"
tekton.dev/platforms: "linux/amd64,linux/s390x,linux/ppc64le"
spec:
description: >-
This Task allows a user to interact with an SCM (source control management)
Expand Down
4 changes: 4 additions & 0 deletions task/tkn/0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ name | description | default
--------- | ------------------------------------------- | -------
tkn-image | `tkn` CLI container image to run this task. | gcr.io/tekton-releases/dogfooding/tkn
ARGS | The arguments to pass to the `tkn` CLI. | No default. Required.

### Platforms

The Task can be run on `linux/amd64`, `linux/s390x` and `linux/ppc64le` platforms.
1 change: 1 addition & 0 deletions task/tkn/0.1/tkn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
tekton.dev/pipelines.minVersion: "0.12.1"
tekton.dev/categories: CLI
tekton.dev/tags: cli
tekton.dev/platforms: "linux/amd64,linux/s390x,linux/ppc64le"
spec:
description: >-
This task performs operations on Tekton resources using tkn
Expand Down
4 changes: 4 additions & 0 deletions task/tkn/0.2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/tk

- **kubeconfig**: An [optional workspace](https://github.com/tektoncd/pipeline/blob/main/docs/workspaces.md#using-workspaces-in-tasks) that allows you to provide a `.kube/config` file for `tkn` to access the cluster. The file should be placed at the root of the Workspace with name `kubeconfig`.

## Platforms

The Task can be run on `linux/amd64`, `linux/s390x` and `linux/ppc64le` platforms.

## Usage

1. Passing only `ARGS`
Expand Down
1 change: 1 addition & 0 deletions task/tkn/0.2/tkn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ metadata:
tekton.dev/categories: CLI
tekton.dev/tags: cli
tekton.dev/displayName: "Tekton CLI"
tekton.dev/platforms: "linux/amd64,linux/s390x,linux/ppc64le"
spec:
workspaces:
- name: kubeconfig
Expand Down

0 comments on commit b21ad0b

Please sign in to comment.