-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
1
-
False
-
None
-
False
-
-
Description of problem:
`tkn pac create repo` is triggered in an empty repo its taking name as .
Workaround
Prerequisites (if any, like setup, operators/versions):
The cwd is empty
Steps to Reproduce
1. git clone git@gitlab.com:xxx/blank.git
2. cd blank
3. git switch --create main
4. tkn-pac create repo
Actual results:
`metadata.name` in `.tekton/pipelinerun.yaml` is `.`
Expected results:
`metadata.name` in `.tekton/pipelinerun.yaml` is valid kubernetes name
Reproducibility (Always/Intermittent/Only Once):
Always
Acceptance criteria:
Definition of Done:
Build Details:
upstream tkn-pac
$ tkn-pac version 0.28.0
Additional info (Such as Logs, Screenshots, etc):
- Slack discussion: https://redhat-internal.slack.com/archives/CSPS1077U/p1729251885933219