source-controller icon indicating copy to clipboard operation
source-controller copied to clipboard

Gitrepository fails to checkout and determine revision

Open ThiyaguE opened this issue 2 years ago • 4 comments

When using with GitRepository.spec.ref.semver: ~32.5 we get error as below

Status:
  Condition:
     Message: failed to checkout and determine revision: unable to resolve tag revision: unsupported object type

we use GitRepository.spec.ref.tag: 32.5.0 , its working fine..

helm-controller: v0.31.0 source-controller: v0.36.1 notification-controller:v0.33.0 kustomize-controller: v0.33.0

Anyone clue on this.. ? pls

ThiyaguE avatar Mar 30 '23 15:03 ThiyaguE

Can you please try semver: 32.5.x, also are these tags lightweight or annotated?

stefanprodan avatar Mar 30 '23 15:03 stefanprodan

sure.. tried with semver:32.5.0
Same error. those tags are lightweight

ThiyaguE avatar Mar 30 '23 17:03 ThiyaguE

I can't reproduce this. This error message leads me to believe that there's something wrong/unusual with either the the object that the tag is pointing to or the tag object itself. Could you please confirm that all tags in your repo are valid?

aryan9600 avatar Mar 31 '23 09:03 aryan9600

Yeap.. all tags are valid. How can I get more trace logs to dig deep on the issue?

ThiyaguE avatar Mar 31 '23 13:03 ThiyaguE