argocd-autopilot icon indicating copy to clipboard operation
argocd-autopilot copied to clipboard

argocd-autopilot repo bootstrap fails on Windows

Open mmuthukrishnan opened this issue 2 years ago • 2 comments

Windows Version : Windows 11 Pro Version: 22H2

Installed via : Choco Version: v0.11.1

argocd-autopilot version: v0.2.28

argocd-autopilot  repo bootstrap --repo [email protected]:****/***.git --git-token #### --log-level=debug

argocd-autopilot repo bootstrap fails with the following error.

PS D:\mari\soft\argocd> argocd-autopilot  repo bootstrap --repo [email protected]:***/******.git --git-token <theoriginal_token> --log-level=debug
time="2023-05-21T15:34:55+05:30" level=debug msg="starting with options: " kube-context=rancher-desktop namespace=argocd repo-url="[email protected]:***/***.git" revision=
time="2023-05-21T15:34:55+05:30" level=debug msg="running bootstrap kustomization: apiVersion: kustomize.config.k8s.io/v1beta1\nconfigMapGenerator:\n- behavior: merge\n  literals:\n  - |\n    repository.credentials=- passwordSecret:\n        key: git_token\n        name: autopilot-secret\n      url: '[email protected]:'\n      usernameSecret:\n        key: git_username\n        name: autopilot-secret\n  name: argocd-cm\nkind: Kustomization\nnamespace: argocd\nresources:\n- github.com/argoproj-labs/argocd-autopilot/manifests/base?ref=v0.2.28\n\n" bootstrapKustPath="auto-pilot582172915\\kustomization.yaml" resourcePath="github.com/argoproj-labs/argocd-autopilot/manifests/base?ref=v0.2.28"
time="2023-05-21T15:35:25+05:30" level=fatal msg="failed to build bootstrap manifests: accumulating resources: accumulation err='accumulating resources from 'github.com/argoproj-labs/argocd-autopilot/manifests/base?ref=v0.2.28': evalsymlink failure on 'D:\\mari\\soft\\argocd\\auto-pilot582172915\\github.com\\argoproj-labs\\argocd-autopilot\\manifests\\base?ref=v0.2.28' : CreateFile D:\\mari\\soft\\argocd\\auto-pilot582172915\\github.com: The system cannot find the file specified.': hit 27s timeout running 'C:\\Program Files\\Git\\cmd\\git.exe submodule update --init --recursive'"

Error as screenshot: image

mmuthukrishnan avatar May 21 '23 10:05 mmuthukrishnan

Could some one update on this please. It seems to be a blocker for me and couldn't move on.

mmuthukrishnan avatar May 22 '23 11:05 mmuthukrishnan

@oren-codefresh @noam-codefresh @elad-codefresh @kim-codefresh

mmuthukrishnan avatar May 22 '23 11:05 mmuthukrishnan