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
? Enter the namespace where the pipeline should run (default: pipelines-as-code): demo
85
-
? Enter the Git repository url containing the pipelines (default: https://github.com/siamaksade/pipeline-as-code-demo):
86
-
? Enter the target GIT branch (default: main):
87
-
? Enter the Git event typefor triggering the pipeline: pull_request
88
-
! Namespace demo is not created yet
89
-
? Would you like me to create the namespace demo? Yes
90
-
✓ Repository pipeline-as-code-demo-pull-request has been created in demo namespace
91
-
? Would you like me to create a basic PipelineRun file into the file .tekton/pull_request.yaml ? True
92
-
✓ A basic template has been created in /Users/ssadeghi/Projects/pipelines/pac-demo/.tekton/pull_request.yaml, feel free to customize it.
93
-
ℹ You can test your pipeline manually with : tkn-pac resolve -f .tekton/pull_request.yaml | kubectl create -f-
94
-
ℹ Don't forget to install the GitHub application into your repo https://github.com/siamaksade/pipeline-as-code-demo
95
-
✓ and we are done! enjoy :)))
96
-
82
+
$ git clone https://github.com/youruser/pac-demo
83
+
$ cd pac-demo
84
+
$ tkn pac create repository
85
+
? Enter the Git repository url containing the pipelines (default: https://github.com/youruser/pac-demo):
86
+
? Please enter the namespace where the pipeline should run (default: pac-demo):
87
+
! Namespace pac-demo is not found
88
+
? Would you like me to create the namespace pac-demo? (Y/n)
89
+
? Would you like me to create the namespace pac-demo? Yes
90
+
✓ Repository youruser-pac-demo has been created in pac-demo namespace
91
+
✓ A basic template has been created in .tekton/pipelinerun.yaml, feel free to customize it.
92
+
ℹ You can test your pipeline manually with: tkn-pac resolve -f .tekton/pipelinerun.yaml | kubectl create -f-
93
+
🚀 You can use the command"tkn pac setup" to setup a repository with webhook
97
94
```
98
95
99
96
The above command would create a `Repository` CRD in your `demo` namespace which is used to determine where the
@@ -108,7 +105,7 @@ supports other methods :
108
105
- Bitbucket Cloud
109
106
- Bitbucket Server
110
107
111
-
see the [INSTALL guide](https://pipelinesascode.com/docs/install/) more details on each install method.
108
+
You can use the command `tkn pac setup` to help you setup webhooks on your repository. See the [INSTALL guide](https://pipelinesascode.com/docs/install/) for more details on each install method.
0 commit comments