Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the relese cheat-sheet #1769

Merged
merged 1 commit into from
Nov 4, 2024
Merged
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
25 changes: 13 additions & 12 deletions tekton/release-cheat-sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,8 @@ the triggers repo, a terminal window and a text editor.

1. `cd` to root of Triggers git checkout.

1. Make sure the release `Task` and `Pipeline` are up-to-date on the
cluster.
1. Make sure the release `Pipeline` is up-to-date on the cluster.

- [publish-triggers-release](https://github.com/tektoncd/triggers/blob/main/tekton/publish.yaml)

This task uses [ko](https://github.com/google/ko) to build all container images we release and generate the `release.yaml`
```shell script
kubectl apply -f tekton/publish.yaml
```
- [triggers-release](https://github.com/tektoncd/triggers/blob/main/tekton/release-pipeline.yaml)
```shell script
kubectl apply -f tekton/release-pipeline.yaml
Expand Down Expand Up @@ -58,11 +51,19 @@ the triggers repo, a terminal window and a text editor.

```bash
tkn --context dogfooding pipeline start triggers-release \
--param=gitRevision="${TRIGGERS_RELEASE_GIT_SHA}" \
--param=versionTag="${VERSION_TAG}" \
--param=serviceAccountPath=release.json \
--param=releaseBucket=gs://tekton-releases/triggers \
--param package=github.com/tektoncd/triggers \
--param imageRegistry=ghcr.io \
--param imageRegistryPath=tektoncd/triggers \
--param imageRegistryRegions="" \
--param imageRegistryUser=tekton-robot \
--param gitRevision="${TRIGGERS_RELEASE_GIT_SHA}" \
--param versionTag="${VERSION_TAG}" \
--param serviceAccountPath=release.json \
--param serviceAccountImagesPath=credentials \
--param releaseBucket=gs://tekton-releases/triggers \
--param koExtraArgs="" \
--workspace name=release-secret,secret=release-secret \
--workspace name=release-images-secret,secret=ghcr-creds \
--workspace name=workarea,volumeClaimTemplateFile=workspace-template.yaml
```

Expand Down