Open ankeesler opened 3 years ago
FWIW, I saw this with using tag_filter
as well.
- name: mirrors_github_pinniped
type: git
icon: github
tags: [ pinniped-ci-calatrava ]
source:
uri: git@gitlab.whatever.com:akeesler/fake-mirrors_github_pinniped.git
# Workaround https://github.com/concourse/git-resource/issues/353. There seems to be an issue
# with tag_regex, so use tag_filter as a workaround until the tag_regex goes away. Note that
# this workaround will stop working once we release a v1 version upstream!
tag_filter: v0.*
# tag_regex: v[0-9]+\.[0-9]+\.[0-9]+ # e.g., v0.4.1
private_key: REDACTED
What happened?
With this resource:
I see these resource versions:
Because of this, the next
vx.y.z
tags that I pushed to the repo did not show up as a resource version because the latest resource version has aref
of a SHA1 which filtered out all tags at this line: https://github.com/concourse/git-resource/blob/30c1e237dd9f919c71230501c771b4188383b51d/assets/check#L161.What did I expect to happen?
ref
matching mytag_regex
.Notes