Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

gitops repo is created even after bootstrap command fails #207

Open
amitkrout opened this issue Mar 25, 2021 · 2 comments
Open

gitops repo is created even after bootstrap command fails #207

amitkrout opened this issue Mar 25, 2021 · 2 comments
Labels
kind/bug Something isn't working

Comments

@amitkrout
Copy link
Contributor

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:

  1. $ 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

  2. $ 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.

@amitkrout
Copy link
Contributor Author

/kind bug

@wtam2018
Copy link
Collaborator

@amitkrout You executed the same bootstrap command twice, right? Did the first command successfully run?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants