fluxcd / source-controller

The GitOps Toolkit source management component
https://fluxcd.io
Apache License 2.0
239 stars 186 forks source link

Gitrepository fails to checkout and determine revision #1066

Open ThiyaguE opened 1 year ago

ThiyaguE commented 1 year ago

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

stefanprodan commented 1 year ago

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

ThiyaguE commented 1 year ago

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

aryan9600 commented 1 year ago

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?

ThiyaguE commented 1 year ago

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