updatecli icon indicating copy to clipboard operation
updatecli copied to clipboard

Fail cloning git repository

Open olblak opened this issue 2 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

For some reason, the following manifest won't work

scms:
  git:
    kind: git
    spec:
      #url: "https://github.com/epinio/epinio.git"
      url: "[email protected]:epinio/epinio.git"
      branch: main
  github:
    kind: github
    spec:
      owner: epinio
      repository: epinio
      token: '{{ requiredEnv "GITHUB_TOKEN" }}'
      branch: main

When running that pipeline, it just creates an empty directory.

Expected Behavior

No response

Steps To Reproduce

  1. updatecli diff --config /tmp/epinio.yaml --debug

Environment

- OS:linux
- updatecli: v0.54.0

Anything else?

Worth mentioning, that repository uses git submodule and I am aware of a few issues related to git submodule in the go-git library

Could be related to https://github.com/updatecli/updatecli/issues/1098

olblak avatar Jul 04 '23 08:07 olblak