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

getting "failed to build bootstrap manifests" since v0.2.5 #106

Closed
roi-codefresh opened this issue Jun 16, 2021 · 2 comments · Fixed by #98 or #107
Closed

getting "failed to build bootstrap manifests" since v0.2.5 #106

roi-codefresh opened this issue Jun 16, 2021 · 2 comments · Fixed by #98 or #107
Labels
bug Something isn't working

Comments

@roi-codefresh
Copy link
Contributor

since the ref/sha/tag change we are getting this error when running the repo bootstrap command:

FATAL failed to build bootstrap manifests: accumulating resources: accumulation err='accumulating resources from 'github.com/argoproj-labs/argocd-autopilot/manifests?tag=v0.2.5': evalsymlink failure on '/auto-pilot518561277/github.com/argoproj-labs/argocd-autopilot/manifests?tag=v0.2.5' : lstat /auto-pilot518561277/github.com: no such file or directory': evalsymlink failure on '/private/var/folders/s7/ydmj1nh917ncbk9y1mhn2dfm0000gn/T/kustomize-480526136/manifests?tag=v0.2.5' : lstat /private/var/folders/s7/ydmj1nh917ncbk9y1mhn2dfm0000gn/T/kustomize-480526136/manifests?tag=v0.2.5: no such file or directory

Currently I am able to get passed it by providing the --app flag with the correct kustomize URL, like so:
argocd-autopilot repo bootstrap --app "github.com/argoproj-labs/argocd-autopilot/manifests?ref=v0.2.5"

@roi-codefresh roi-codefresh added the bug Something isn't working label Jun 16, 2021
@roi-codefresh roi-codefresh linked a pull request Jun 16, 2021 that will close this issue
@noam-codefresh
Copy link
Collaborator

damn. The bootstrap manifest URL is being used directly by Kustomize, and not getting parsed by us. So it should remain with ?ref param.
But when running app create dir_app --app github.com/owner/name/path?tag=v0.1.2, we do parse this URL for the type inference bit. And if the type ends up being Kustomize, we later just use it as the Kustomization.yaml source.
What a pain.

@roi-codefresh
Copy link
Contributor Author

yep 😄

@noam-codefresh noam-codefresh linked a pull request Jun 17, 2021 that will close this issue
@noam-codefresh noam-codefresh changed the title [bug] getting "failed to build bootstrap manifests" since v0.2.5 getting "failed to build bootstrap manifests" since v0.2.5 Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants