Skip to content

Commit 8d2c539

Browse files
authored
Refer to promote-demo under rhd-gitops-example org, fix readme example for tkn (#94)
1 parent 1fe3713 commit 8d2c539

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tekton-example/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Creation of a TaskRun (using `promote-run.yaml`) will then further promote from
1818
## Pre-requisites
1919

2020
- You will need two repositories for this example, one to promote from and one to promote to
21-
- For the repository to promote from, an example can be forked from here: https://github.com/akihikokuroda/promote-demo
21+
- For the repository to promote from, an example can be forked from here: https://github.com/rhd-gitops-example/promote-demo
2222
- For the repository to promote to, an example can be forked from here:
2323
https://github.com/rhd-gitops-example/gitops-example-dev
2424
- You will also need to have the latest release of the Tekton CLI, which can be downloaded from here: https://github.com/tektoncd/cli
@@ -53,7 +53,7 @@ The PipelineRun you will create is designed to build your microservice from its
5353

5454
- To create the PipelineRun, use:
5555
```shell
56-
tkn pipeline start service-promote-pipeline --resource git-source=git-app-repo --resource docker-image=docker-app-image--param commitId=v1 --param github-secret=promote-secret --param commit-name=<yourgitname> --param commit-email=<yourgitemail> --param to=https://github.com/<github username>/<github repo>.git --param service=promote-demo --workspace name=repo-space,claimName=repopvc,subPath=dir -s demo --showlog
56+
tkn pipeline start service-promote-pipeline --resource git-source=git-app-repo --resource docker-image=docker-app-image --param commitId=v1 --param github-secret=promote-secret --param commit-name=<yourgitname> --param commit-email=<yourgitemail> --param to=https://github.com/<github username>/<github repo>.git --param service=promote-demo --workspace name=repo-space,claimName=repopvc,subPath=dir -s demo --showlog
5757
```
5858

5959
This example promotes from the `promote-demo` repository, containing a service with the same name.

0 commit comments

Comments
 (0)