Skip to content

Commit

Permalink
Fixing tkn pac create repo message in README
Browse files Browse the repository at this point in the history
It didn't reflect the actual message that was being printed.
Add a small spelling fix as well to the message
  • Loading branch information
chmouel committed Nov 24, 2023
1 parent 430122a commit 27ed5b5
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ $ tkn pac create repository
✓ Repository youruser-pac-demo has been created in pac-demo namespace
ℹ Directory .tekton has been created.
✓ A basic template has been created in .tekton/pipelinerun.yaml, feel free to customize it.
ℹ You can test your pipeline by pushing generated template to your git repository
ℹ You can test your pipeline by pushing the generated template to your git repository
```

The above command would create a `Repository` CRD in your `demo` namespace which is used to determine where the
Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/install/bitbucket_cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ $ tkn pac create repo
🔑 Repository CR workspace-repo has been updated with webhook secret in the repo-pipelines namespace
ℹ Directory .tekton has been created.
✓ A basic template has been created in /home/Go/src/bitbucket/repo/.tekton/pipelinerun.yaml, feel free to customize it.
ℹ You can test your pipeline by pushing generated template to your git repository
ℹ You can test your pipeline by pushing the generated template to your git repository

```

Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/install/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ your cluster and create a directory called `.tekton` with a file named
ℹ Directory .tekton has been created.
✓ We have detected your repository using the programming language Go.
✓ A basic template has been created in /tmp/pac-demo/.tekton/pipelinerun.yaml, feel free to customize it.
ℹ You can test your pipeline by pushing generated template to your git repository
ℹ You can test your pipeline by pushing the generated template to your git repository
```
Note that the `tkn pac create repository` command detected that the repository
Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/install/github_webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ $ tkn pac create repo
ℹ Directory .tekton has been created.
✓ We have detected your repository using the programming language Go.
✓ A basic template has been created in /home/Go/src/github.com/owner/repo/.tekton/pipelinerun.yaml, feel free to customize it.
ℹ You can test your pipeline by pushing generated template to your git repository
ℹ You can test your pipeline by pushing the generated template to your git repository

```

Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/install/gitlab.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ $ tkn pac create repo
🔑 Repository CR repositories-project has been updated with webhook secret in the project-pipelines namespace
ℹ Directory .tekton has been created.
✓ A basic template has been created in /home/Go/src/gitlab.com/repositories/project/.tekton/pipelinerun.yaml, feel free to customize it.
ℹ You can test your pipeline by pushing generated template to your git repository
ℹ You can test your pipeline by pushing the generated template to your git repository
```

### Create a `Repository` and configure webhook manually
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/tknpac/generate/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func (o *Opts) samplePipeline(recreateTemplate bool) error {
cs.SuccessIcon(),
cs.Bold(fpath),
)
fmt.Fprintf(o.IOStreams.Out, "%s You can test your pipeline by pushing generated template to your git repository\n", cs.InfoIcon())
fmt.Fprintf(o.IOStreams.Out, "%s You can test your pipeline by pushing the generated template to your git repository\n", cs.InfoIcon())

return nil
}

0 comments on commit 27ed5b5

Please sign in to comment.