Skip to content

Commit 9aead6b

Browse files
chmouelpiyush-garg
authored andcommitted
Reworded help messages with better english
Reword of the help message on the check-run/run status comment that were not clear enough. Signed-off-by: Chmouel Boudjnah <[email protected]>
1 parent c181181 commit 9aead6b

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

docs/content/docs/guide/running.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Running the PipelineRun
33
weight: 4
44
---
5+
56
# Running the PipelineRun
67

78
Pipelines-as-Code (PAC) can be used to run pipelines on events such as pushes
@@ -20,7 +21,7 @@ CR.
2021
For example, if a PipelineRun has this annotation:
2122

2223
```yaml
23-
pipelinesascode.tekton.dev/on-event: "[pull_request]"
24+
pipelinesascode.tekton.dev/on-event: "[pull_request]"
2425
```
2526
2627
it will be matched when a pull request is created and run on the cluster, as
@@ -76,7 +77,8 @@ Code will not be triggered.
7677
The PipelineRun will always run in the namespace of the Repository CRD associated with the repo
7778
that generated the event.
7879

79-
You can follow the execution of your PipelineRun with the [tkn pac](../cli/#install) cli :
80+
You can monitor the execution using the command line with the [tkn
81+
pac](../cli/#install) CLI :
8082

8183
```console
8284
tkn pac logs -n my-pipeline-ci -L

pkg/params/run.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ import (
77
"strings"
88
"sync"
99

10+
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
11+
"k8s.io/apimachinery/pkg/watch"
12+
1013
"github.com/openshift-pipelines/pipelines-as-code/pkg/consoleui"
1114
"github.com/openshift-pipelines/pipelines-as-code/pkg/params/clients"
1215
"github.com/openshift-pipelines/pipelines-as-code/pkg/params/info"
1316
"github.com/openshift-pipelines/pipelines-as-code/pkg/params/settings"
14-
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
15-
"k8s.io/apimachinery/pkg/watch"
1617
)
1718

1819
const (
1920
PACConfigmapName = "pipelines-as-code"
2021
StartingPipelineRunText = `Starting Pipelinerun <b>%s</b> in namespace
21-
<b>%s</b><br><br>You can follow the execution on the [%s](%s) PipelineRun viewer or via
22-
the command line with :
23-
<br><code>%s pr logs -n %s %s -f</code>`
24-
QueuingPipelineRunText = `PipelineRun <b>%s</b> has been queued Queuing in namespace
22+
<b>%s</b><br><br>You can monitor the execution using the [%s](%s) PipelineRun viewer or through the command line by using the following command:
23+
<br><code>%s pr logs -n %s %s -f</code>`
24+
QueuingPipelineRunText = `PipelineRun <b>%s</b> has been queued in namespace
2525
<b>%s</b><br><br>`
2626
)
2727

0 commit comments

Comments
 (0)