GitOps Application Manager: An opinionated CLI that generates the Kubernetes resources for managing your Tekton-based CI manifests, ArgoCD-based CD manifests and Application manifests in Git.
Apache License 2.0
145
stars
83
forks
source link
gitops repo is created even after bootstrap command fails #207
Describe the bug A clear and concise description of what the bug is.
gitops repo is created even after bootstrap command fails.
To Reproduce Steps to reproduce the behavior:
$ kam bootstrap --service-repo-url https://github.com/amitkrout/taxi --gitops-repo-url https://github.com/amitkrout/gitops.git --image-repo quay.io/amitkrout/taxi --dockercfgjson amitkrout-robot-auth.json --git-host-access-token *** --output resources --overwrite --push-to-git=true
$ kam bootstrap --service-repo-url https://github.com/amitkrout/taxi --gitops-repo-url https://github.com/amitkrout/gitops1.git --image-repo quay.io/amitkrout/taxi --dockercfgjson amitkrout-robot-auth.json --git-host-access-token ** --output resources --overwrite --push-to-git=true
Expected behavior A clear and concise description of what you expected to happen.
Post failure the repo should be cleaned up
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.