From 9be70367b12c9e6cdbffa5aafbf7f14b0d8632d6 Mon Sep 17 00:00:00 2001 From: Andrea Frittoli Date: Wed, 11 Dec 2019 22:35:48 +0000 Subject: [PATCH] Fix the release docs Include the correct resource name in the example on how to create the release using tkn. --- tekton/README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tekton/README.md b/tekton/README.md index a2370966ab4..cfde9dc364b 100644 --- a/tekton/README.md +++ b/tekton/README.md @@ -18,7 +18,7 @@ The Pipelines and Tasks in this folder are used for: To start from scratch and use these Pipelines and Tasks: -1. [Install Tekton v0.3.1](#install-tekton) +1. [Install Tekton](#install-tekton) 1. [Setup the Tasks and Pipelines](#setup) 1. [Create the required service account + secrets](#service-account-and-secrets) @@ -114,7 +114,8 @@ To use [`tkn`](https://github.com/tektoncd/cli) to run the `publish-tekton-pipel # Change the environment variable to the version you would like to use. # Be careful: due to #983 it is possible to overwrite previous releases. - export VERSION_TAG=v0.X.Y + export VERSION_TAG=vX.Y.Z + export GIT_RESOURCE_NAME=tekton-pipelines-git-vX-Y-Z export IMAGE_REGISTRY=gcr.io/tekton-releases # Double-check the git revision that is going to be used for the release: @@ -124,7 +125,7 @@ To use [`tkn`](https://github.com/tektoncd/cli) to run the `publish-tekton-pipel --param=versionTag=${VERSION_TAG} \ --param=imageRegistry=${IMAGE_REGISTRY} \ --serviceaccount=release-right-meow \ - --resource=source-repo=tekton-pipelines-git-${VERSION_TAG} \ + --resource=source-repo=${GIT_RESOURCE_NAME} \ --resource=bucket=tekton-bucket \ --resource=builtBaseImage=base-image \ --resource=builtEntrypointImage=entrypoint-image \ @@ -136,7 +137,7 @@ To use [`tkn`](https://github.com/tektoncd/cli) to run the `publish-tekton-pipel --resource=builtDigestExporterImage=digest-exporter-image \ --resource=builtPullRequestInitImage=pull-request-init-image \ --resource=builtGcsFetcherImage=gcs-fetcher-image \ - --resource=notification=post-release-trigger + --resource=notification=post-release-trigger \ pipeline-release ```