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

gitops repo is created even after bootstrap command fails #207

@amitkrout

Description

@amitkrout

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions