Skip to content

Commit

Permalink
Task lives in TektonHub now
Browse files Browse the repository at this point in the history
  • Loading branch information
jtudelag committed Jun 6, 2022
1 parent b88d7b2 commit a96fb40
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 100 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
First create secrets manually for your private registries (pull and push images) and for the Tekton Trigger webhook.

## Private Registry Secret

For example, for your private registries. In this case we am pushing to `quay.io` and also pulling from `registry.redhat.io`.
```yaml
apiVersion: v1
Expand All @@ -22,7 +23,16 @@ Then you need to link the secret `pull-and-push` to the `pipeline` SA so it can
oc secret link pipeline pull-and-push --for=pull,mount
```

## Install Tekton Hub ansible-builder task

Go to [Tekton Hub](https://hub.tekton.dev/tekton/task/ansible-builder) and install the `ansible-builder` task.

```bash
kubectl -n <MY_NAMESPACE> apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/ansible-builder/0.1/ansible-builder.yaml
```

## Webhook Secret Token

And for the webhook secret token:
```yaml
apiVersion: v1
Expand Down
File renamed without changes.
50 changes: 0 additions & 50 deletions listener/2-task-ansible-builder-create.yaml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
50 changes: 0 additions & 50 deletions pipeline/1-task-ansible-builder-create.yaml

This file was deleted.

File renamed without changes.

0 comments on commit a96fb40

Please sign in to comment.