Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to build bootstrap manifests #456

Open
egmar opened this issue Apr 12, 2023 · 2 comments
Open

failed to build bootstrap manifests #456

egmar opened this issue Apr 12, 2023 · 2 comments

Comments

@egmar
Copy link

egmar commented Apr 12, 2023

I'm trying to use argocd-autopilot in MacOS Ventura 13.3 (darwin/amd64) and getting Error: Failed to build bootstrap manifests. While it looks similar to #82 the issue seems to be caused by following 2 lines in my .gitconfig

[url "ssh://[email protected]/"]
    insteadOf = https://github.com/

Removing or commenting the lines, solves the issue. It would be nice if Git protocol used by argocd-autopilot is documented in Getting Started section of argocd-autopilot documentation.

Console log:

❯ brew install argocd-autopilot
==> Fetching argocd-autopilot
==> Downloading https://ghcr.io/v2/homebrew/core/argocd-autopilot/manifests/0.4.15
Already downloaded: /Users/egor/Library/Caches/Homebrew/downloads/d83abd8575734531d99bb7d16033ae47f95bd6e1b90d7d3fcb8bc63891616e2b--argocd-autopilot-0.4.15.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/argocd-autopilot/blobs/sha256:72eff96e6e24ea224064dc0ccd7daff2eb30a0e207fdf25bf2f433cea3c362
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:72eff96e6e24ea224064dc0ccd7daff2eb30a0e207fdf25bf2f433ce
######################################################################## 100.0%
==> Pouring argocd-autopilot--0.4.15.ventura.bottle.tar.gz
==> Caveats
zsh completions have been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
🍺  /usr/local/Cellar/argocd-autopilot/0.4.15: 9 files, 115MB
==> Running `brew cleanup argocd-autopilot`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
❯ argocd-autopilot repo bootstrap
FATAL failed to build bootstrap manifests: failed running kustomization: accumulating resources: accumulation err='accumulating resources from 'github.com/argoproj-labs/argocd-autopilot/manifests/base?ref=v0.4.15': evalsymlink failure on '/Users/egor/auto-pilot4214078380/github.com/argoproj-labs/argocd-autopilot/manifests/base?ref=v0.4.15' : lstat /Users/egor/auto-pilot4214078380/github.com: no such file or directory': git cmd = '/usr/bin/git fetch --depth=1 origin v0.4.15': exit status 128
@mmuthukrishnan
Copy link

@egmar did you get a solution to make it work.

@egmar
Copy link
Author

egmar commented Jun 27, 2023

@egmar did you get a solution to make it work.

As stated in the issue, for me it was enough to remove the replace directive in my .git/config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants