rhd-gitops-example / services

Intra-Git repository promotions for GitOps.
Apache License 2.0
7 stars 8 forks source link

Remove token from error when an invalid GitHub repo URL is provided #85

Closed a-roberts closed 4 years ago

a-roberts commented 4 years ago
 services promote --from promote-demo --to https://github.com/gitops-example-dev --service promote-demo

Note the lack of an org/owner.

This gives an error of the form

(base) Adams-MBP:gitops aroberts$ services promote --from promote-demo --to https://github.com/gitops-example-dev --service promote-demo
Error: failed to clone destination repository, error: failed to clone repository, error is: could not identify repository name: https://promotion:<my token here>@github.com/gitops-example-dev. repository URL = https://github.com/gitops-example-dev. repository URL = https://github.com/gitops-example-dev. repository URL = https://github.com/gitops-example-dev