-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
1
-
False
-
None
-
False
-
`tkn-pac create repo` won't configure webhook when GithubApp is installed.
-
-
-
Pipelines Sprint 233, Pipelines Sprint 234, Pipelines Sprint 235
Description of problem:
tkn pac create repo, when not installed from operator always ask for webhook
*% tkn pac create repository
? Enter the Git repository url (default: https://github.com/chmouel/pac-demo):
? Please enter the namespace where the pipeline should run (default: pac-demo-pipelines): pac-demo-chmouel
! Namespace pac-demo-chmouel is not found
? Would you like me to create the namespace pac-demo-chmouel? Yes
✓ Repository chmouel-pac-demo has been created in pac-demo-chmouel namespace
✓ Setting up GitHub Webhook for Repository https://github.com/chmouel/pac-demo
? Please enter your controller public route URL:
Error: interrupt*
pac is isntalled in pipelines-as-code namespace and configured with a secret
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- tkn pac create repo
- upstream pac
- ask for webhook
- no good
Actual results:
Expected results:
not ask
Reproducibility (Always/Intermittent/Only Once):
Build Details:
Additional info (Such as Logs, Screenshots, etc):
https://redhat-internal.slack.com/archives/C0382KN768J/p1678123023266109