Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude/skills/task-authoring/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ One-line description of what this task does.

## Install the Task

kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/<task-name>/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/<task-name>/0.1/<task-name>.yaml

## Parameters

Expand Down
20 changes: 12 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,21 @@ jobs:
env:
PULL_BASE_SHA: ${{ github.event.pull_request.base.sha }}
run: |
# Detect changed task version directories (task/<name>/<version>).
# Reduce every changed file to its version directory so that catlin
# only validates the catalog resource itself, never the test
# manifests under tests/ (TaskRun/Pipeline) or files under samples/,
# which are not catalog resources and would fail validation.
# Detect task version directories (task/<name>/<version>) whose
# resource manifest changed. Only consider YAML files that live
# directly in the version directory (task/<name>/<version>/*.yaml);
# this excludes README/OWNERS-only changes as well as the test
# manifests under tests/ (TaskRun/Pipeline) and files under samples/,
# none of which are catalog resources. Reducing to the version
# directory means catlin only ever validates the catalog resource.
changed_tasks=$(
git --no-pager diff --name-only ${PULL_BASE_SHA}..HEAD | \
{ grep -E '^task/[^/]+/[^/]+/[^/]+\.yaml$' || true; } | \
{ grep -oE '^task/[^/]+/[^/]+' || true; } | \
sort -u
)
if [[ -z "$changed_tasks" ]]; then
echo "No file changes detected in task directories"
echo "No changed task resource manifests detected"
exit 0
fi
# Filter out removed directories
Expand All @@ -78,15 +81,16 @@ jobs:
env:
PULL_BASE_SHA: ${{ github.event.pull_request.base.sha }}
run: |
# Detect changed task version directories (task/<name>/<version>).
# Detect task version directories whose resource manifest changed.
# See the note in the "catlin validate" step above.
changed_tasks=$(
git --no-pager diff --name-only ${PULL_BASE_SHA}..HEAD | \
{ grep -E '^task/[^/]+/[^/]+/[^/]+\.yaml$' || true; } | \
{ grep -oE '^task/[^/]+/[^/]+' || true; } | \
sort -u
)
if [[ -z "$changed_tasks" ]]; then
echo "No file changes detected in task directories"
echo "No changed task resource manifests detected"
exit 0
fi
# Script linting is informational (matching previous Prow behavior)
Expand Down
6 changes: 3 additions & 3 deletions pipeline/build-push-gke-deploy/0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ This Pipeline builds, pushes, and deploys your application to a Google Kubernete
Both `Kaniko` and `Gke-deploy` tasks have been used from tekton catalog

```
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/kaniko/0.2/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/kaniko/0.2/kaniko.yaml
```

```
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/gke-deploy/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/gke-deploy/0.1/gke-deploy.yaml
```

## Install the Pipeline

```
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/pipeline/build-push-gke-deploy/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/pipeline/build-push-gke-deploy/0.1/build-push-gke-deploy.yaml
```

## Workspaces
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Install the Tekton Pipelines CLI to view your logs by following the instructions
4. Install the `build-push-gke-deploy` Pipeline.

```bash
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/pipeline/build-push-gke-deploy/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/pipeline/build-push-gke-deploy/0.1/build-push-gke-deploy.yaml
```

5. Create the `PipelineRun` config to run your Pipeline.
Expand Down
8 changes: 4 additions & 4 deletions pipeline/buildpacks/0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ This pipeline builds source into a container image using [Cloud Native Buildpack
#### Install dependencies (if missing)

```shell
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/git-clone/0.3/raw
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/buildpacks/0.3/raw
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/buildpacks-phases/0.2/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/git-clone/0.3/git-clone.yaml
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildpacks/0.3/buildpacks.yaml
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildpacks-phases/0.2/buildpacks-phases.yaml
```

#### Install pipeline

```shell
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/pipeline/buildpacks/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/pipeline/buildpacks/0.1/buildpacks.yaml
```

## Workspaces
Expand Down
8 changes: 4 additions & 4 deletions pipeline/buildpacks/0.2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ This pipeline builds source into a container image using [Cloud Native Buildpack
#### Install dependencies (if missing)

```shell
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/git-clone/0.3/raw
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/buildpacks/0.3/raw
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/buildpacks-phases/0.2/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/git-clone/0.3/git-clone.yaml
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildpacks/0.3/buildpacks.yaml
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildpacks-phases/0.2/buildpacks-phases.yaml
```

#### Install pipeline

```shell
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/pipeline/buildpacks/0.2/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/pipeline/buildpacks/0.2/buildpacks.yaml
```

## Workspaces
Expand Down
2 changes: 1 addition & 1 deletion roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The catalog is a key piece of

In 2019 we got a solid start on a catalog of reusable `Tasks` and in 2020 our ecosystem grew and
a lot many `Tasks` were added in the catalog. Also our catalog was restructured so that `Tasks` present
in the catalog could be versioned and tools like [`hub`](https://hub.tekton.dev) was able to display
in the catalog could be versioned and tools like [`hub`](https://artifacthub.io) was able to display
those tasks in a clean and better way. In 2021 we want to keep this momentum going and make the catalog
even more useful by adding:

Expand Down
2 changes: 1 addition & 1 deletion task/42crunch-api-security-audit/0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and data coming in and going out.
Install `42crunch-api-security-audit` task:

```
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/42crunch-api-security-audit/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/42crunch-api-security-audit/0.1/42crunch-api-security-audit.yaml
```

## Prerequisites
Expand Down
4 changes: 2 additions & 2 deletions task/42crunch-api-security-audit/0.1/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
Run these commands to create and execute the pipeline:

```sh
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/git-clone/0.6/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/git-clone/0.6/git-clone.yaml

kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/42crunch-api-security-audit/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/42crunch-api-security-audit/0.1/42crunch-api-security-audit.yaml


kubectl apply -f secret.yaml
Expand Down
2 changes: 1 addition & 1 deletion task/42crunch-api-security-audit/0.2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and data coming in and going out.
Install `42crunch-api-security-audit` task:

```
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/42crunch-api-security-audit/0.2/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/42crunch-api-security-audit/0.2/42crunch-api-security-audit.yaml
```

## Prerequisites
Expand Down
4 changes: 2 additions & 2 deletions task/42crunch-api-security-audit/0.2/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
Run these commands to create and execute the pipeline:

```sh
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/git-clone/0.6/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/git-clone/0.6/git-clone.yaml

kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/42crunch-api-security-audit/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/42crunch-api-security-audit/0.1/42crunch-api-security-audit.yaml


kubectl apply -f secret.yaml
Expand Down
2 changes: 1 addition & 1 deletion task/42crunch-api-security-audit/0.3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and data coming in and going out.
Install `42crunch-api-security-audit` task:

```
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/42crunch-api-security-audit/0.3/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/42crunch-api-security-audit/0.3/42crunch-api-security-audit.yaml
```

## Prerequisites
Expand Down
4 changes: 2 additions & 2 deletions task/42crunch-api-security-audit/0.3/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
Run these commands to create and execute the pipeline:

```sh
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/git-clone/0.6/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/git-clone/0.6/git-clone.yaml

kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/42crunch-api-security-audit/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/42crunch-api-security-audit/0.1/42crunch-api-security-audit.yaml


kubectl apply -f secret.yaml
Expand Down
2 changes: 1 addition & 1 deletion task/ansible-builder/0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ It means a further task that works with Dockerfile/Containerfile such as `builda
## Install the Task

```
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/ansible-builder/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/ansible-builder/0.1/ansible-builder.yaml
```

## Parameters
Expand Down
4 changes: 2 additions & 2 deletions task/ansible-runner/0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Ansible Runner Task allows running the Ansible Playbooks using the [ansible-runn
Create the Task and other resources:

```shell
kubectl apply --filename https://api.hub.tekton.dev/v1/resource/tekton/task/ansible-runner/0.1/raw
kubectl apply --filename https://raw.githubusercontent.com/tektoncd/catalog/main/task/ansible-runner/0.1/ansible-runner.yaml
```

Verify the created tasks:
Expand Down Expand Up @@ -47,7 +47,7 @@ All the examples will be run in namespace called `funstuff`. Create the namespac
### Create the PVC and clone example sources

```shell
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/git-clone/0.1/raw \
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/git-clone/0.1/git-clone.yaml \
-f https://raw.githubusercontent.com/tektoncd/catalog/main/task/ansible-runner/0.1/support/playbooks-pvc.yaml
```

Expand Down
4 changes: 2 additions & 2 deletions task/ansible-runner/0.2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The latest versions of ansible-runner requires [`community.general`](https://git
Create the Task and other resources:

```shell
kubectl apply --filename https://api.hub.tekton.dev/v1/resource/tekton/task/ansible-runner/0.2/raw
kubectl apply --filename https://raw.githubusercontent.com/tektoncd/catalog/main/task/ansible-runner/0.2/ansible-runner.yaml
```

Verify the created tasks:
Expand Down Expand Up @@ -46,7 +46,7 @@ All the examples will be run in namespace called `funstuff`. Create the namespac
### Create the PVC and clone example sources

```shell
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/git-clone/0.5/raw \
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/git-clone/0.5/git-clone.yaml \
-f https://raw.githubusercontent.com/tektoncd/catalog/main/task/ansible-runner/0.2/support/playbooks-pvc.yaml
```

Expand Down
2 changes: 1 addition & 1 deletion task/ansible-tower-cli/0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Install `tower-cli` task:
```
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/ansible-tower-cli/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/ansible-tower-cli/0.1/ansible-tower-cli.yaml
```

## Parameters
Expand Down
2 changes: 1 addition & 1 deletion task/argocd-task-connect-repo/0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
## Install the Task

```
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/argocd-task-connect-repo/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/argocd-task-connect-repo/0.1/argocd-task-connect-repo.yaml
```

## Parameters
Expand Down
2 changes: 1 addition & 1 deletion task/argocd-task-sync-and-wait/0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This task syncs (deploys) an [Argo CD](https://argoproj.github.io/argo-cd/) appl
## Install the Task

```
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/argocd-task-sync-and-wait/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/argocd-task-sync-and-wait/0.1/argocd-task-sync-and-wait.yaml
```

## Parameters
Expand Down
2 changes: 1 addition & 1 deletion task/argocd-task-sync-and-wait/0.2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This task syncs (deploys) an [Argo CD](https://argoproj.github.io/argo-cd/) appl
## Install the Task

```
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/argocd-task-sync-and-wait/0.2/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/argocd-task-sync-and-wait/0.2/argocd-task-sync-and-wait.yaml
```

## Parameters
Expand Down
4 changes: 2 additions & 2 deletions task/asciidoctor/0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ The resulting document can be sent by email, uploaded to the artifact repository

## Install the Task
```
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/asciidoctor/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/asciidoctor/0.1/asciidoctor.yaml
```

## Pre-requisite
Install git-clone task from catalog
```
https://api.hub.tekton.dev/v1/resource/tekton/task/git-clone/0.3/raw
https://raw.githubusercontent.com/tektoncd/catalog/main/task/git-clone/0.3/git-clone.yaml
```

## Workspaces
Expand Down
2 changes: 1 addition & 1 deletion task/aws-cli/0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ All aws cli commands can be found [here](https://docs.aws.amazon.com/cli/latest/
## Install the Task

```
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/aws-cli/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/aws-cli/0.1/aws-cli.yaml
```

## Parameters
Expand Down
2 changes: 1 addition & 1 deletion task/aws-cli/0.2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ All aws cli commands can be found [here](https://docs.aws.amazon.com/cli/latest/
## Install the Task

```
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/aws-cli/0.2/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/aws-cli/0.2/aws-cli.yaml
```

## Parameters
Expand Down
2 changes: 1 addition & 1 deletion task/aws-ecr-login/0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ registry as long as your IAM principal has access to do so until the token expir
## Install the Task

```
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/aws-ecr-login/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/aws-ecr-login/0.1/aws-ecr-login.yaml
```

## Parameters
Expand Down
2 changes: 1 addition & 1 deletion task/az/0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This task performs operations on Microsoft Azure resources using `az`.
## Install the Task

```
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/az/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/az/0.1/az.yaml
```

## Parameters
Expand Down
4 changes: 2 additions & 2 deletions task/black/0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This task can be used to format the python source code using [Black](https://git
## Installing the Task

```bash
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/black/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/black/0.1/black.yaml
```

## Parameters
Expand All @@ -25,7 +25,7 @@ The Task can be run on `linux/amd64` platform.
1. Create the `git-clone` task

```bash
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/git-clone/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/git-clone/0.1/git-clone.yaml
```

2. Create the PVC
Expand Down
4 changes: 2 additions & 2 deletions task/black/0.2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This task can be used to format the python source code using [Black](https://git
## Installing the Task

```bash
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/black/0.2/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/black/0.2/black.yaml
```

## Parameters
Expand All @@ -28,7 +28,7 @@ The Task can be run on `linux/amd64` platform.
1. Create the `git-clone` task

```bash
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/git-clone/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/git-clone/0.1/git-clone.yaml
```

2. Create the PVC
Expand Down
2 changes: 1 addition & 1 deletion task/blue-green-deploy/0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The following task can help you to deploy an application using the Blue-Green de
## Installing the Task

```
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/blue-green-deploy/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/blue-green-deploy/0.1/blue-green-deploy.yaml
```

## Installing the ClusterRoleBinding
Expand Down
2 changes: 1 addition & 1 deletion task/blue-green-deploy/0.2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The following task can help you to deploy an application using the Blue-Green de
## Installing the Task

```
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/blue-green-deploy/0.2/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/blue-green-deploy/0.2/blue-green-deploy.yaml
```

## Installing the ClusterRoleBinding
Expand Down
2 changes: 1 addition & 1 deletion task/buildah-manifest-create/0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This Task creates a manifest list (also known as an image index) from pre-built
## Install the Task

```bash
kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/buildah-manifest-create/0.1/raw
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/buildah-manifest-create/0.1/buildah-manifest-create.yaml
```

## Parameters
Expand Down
Loading
Loading