You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `tkn-pac` CLI tool offers the following capabilities:
@@ -19,7 +19,7 @@ The `tkn-pac` CLI tool offers the following capabilities:
19
19
[TIP]
20
20
====
21
21
You can use the commands corresponding to the capabilities for testing and experimentation, so that you don't have to make changes to the Git repository containing the application source code.
22
-
====
22
+
====
23
23
24
24
== Basic syntax
25
25
@@ -43,15 +43,15 @@ $ tkn pac --help
43
43
[options="header"]
44
44
|===
45
45
46
-
| Command | Description
46
+
| Command | Description
47
47
48
-
| `tkn pac bootstrap` | Installs and configures {pac} for Git repository hosting service providers, such as GitHub and GitHub Enterprise.
48
+
| `tkn pac bootstrap` | Installs and configures {pac} for Git repository hosting service providers, such as GitHub and GitHub Enterprise.
49
49
50
50
| `tkn pac bootstrap --nightly` | Installs the nightly build of {pac}.
By default, `tkn pac bootstrap` detects the OpenShift route, which is automatically associated with the {pac} controller service.
54
+
By default, `tkn pac bootstrap` detects the OpenShift route, which is automatically associated with the {pac} controller service.
55
55
56
56
If you do not have an {product-title} cluster, it asks you for the public URL that points to the ingress endpoint.
57
57
@@ -65,11 +65,11 @@ If you do not have an {product-title} cluster, it asks you for the public URL th
65
65
[options="header"]
66
66
|===
67
67
68
-
| Command | Description
68
+
| Command | Description
69
69
70
-
| `tkn pac repo create` | Creates a new {pac} repository and a namespace based on the pipeline run template.
70
+
| `tkn pac create repository` | Creates a new {pac} repository and a namespace based on the pipeline run template.
71
71
72
-
| `tkn pac repo list` | Lists all the {pac} repositories and displays the last status of the associated runs.
72
+
| `tkn pac list` | Lists all the {pac} repositories and displays the last status of the associated runs.
73
73
74
74
| `tkn pac repo describe` | Describes a {pac} repository and the associated runs.
75
75
@@ -81,15 +81,15 @@ If you do not have an {product-title} cluster, it asks you for the public URL th
81
81
[options="header"]
82
82
|===
83
83
84
-
| Command | Description
84
+
| Command | Description
85
85
86
-
| `tkn pac generate` | Generates a simple pipeline run.
86
+
| `tkn pac generate` | Generates a simple pipeline run.
87
87
88
-
When executed from the directory containing the source code, it automatically detects current Git information.
88
+
When executed from the directory containing the source code, it automatically detects current Git information.
89
89
90
-
In addition, it uses basic language detection capability and adds extra tasks depending on the language.
90
+
In addition, it uses basic language detection capability and adds extra tasks depending on the language.
91
91
92
-
For example, if it detects a `setup.py` file at the repository root, the link:https://hub.tekton.dev/tekton/task/pylint[pylint task] is automatically added to the generated pipeline run.
92
+
For example, if it detects a `setup.py` file at the repository root, the link:https://hub.tekton.dev/tekton/task/pylint[pylint task] is automatically added to the generated pipeline run.
93
93
94
94
|===
95
95
@@ -99,20 +99,20 @@ For example, if it detects a `setup.py` file at the repository root, the link:ht
99
99
[options="header"]
100
100
|===
101
101
102
-
| Command | Description
102
+
| Command | Description
103
103
104
-
| `tkn pac resolve` | Executes a pipeline run as if it is owned by the {pac} on service.
104
+
| `tkn pac resolve` | Executes a pipeline run as if it is owned by the {pac} on service.
105
105
106
-
| `tkn pac resolve -f .tekton/pull-request.yaml \| oc apply -f -` | Displays the status of a live pipeline run that uses the template in `.tekton/pull-request.yaml`.
106
+
| `tkn pac resolve -f .tekton/pull-request.yaml \| oc apply -f -` | Displays the status of a live pipeline run that uses the template in `.tekton/pull-request.yaml`.
107
107
108
108
Combined with a Kubernetes installation running on your local machine, you can observe the pipeline run without generating a new commit.
109
109
110
110
If you run the command from a source code repository, it attempts to detect the current Git information and automatically resolve parameters such as current revision or branch.
111
111
112
-
| `tkn pac resolve -f .tekton/pr.yaml -p revision=main -p repo_name=<repository_name>` | Executes a pipeline run by overriding default parameter values derived from the Git repository.
112
+
| `tkn pac resolve -f .tekton/pr.yaml -p revision=main -p repo_name=<repository_name>` | Executes a pipeline run by overriding default parameter values derived from the Git repository.
113
113
114
-
The `-f` option can also accept a directory path and apply the `tkn pac resolve` command on all `.yaml` or `.yml` files in that directory. You can also use the `-f` flag multiple times in the same command.
114
+
The `-f` option can also accept a directory path and apply the `tkn pac resolve` command on all `.yaml` or `.yml` files in that directory. You can also use the `-f` flag multiple times in the same command.
115
115
116
-
You can override the default information gathered from the Git repository by specifying parameter values using the `-p` option. For example, you can use a Git branch as a revision and a different repository name.
116
+
You can override the default information gathered from the Git repository by specifying parameter values using the `-p` option. For example, you can use a Git branch as a revision and a different repository name.
0 commit comments