concourse / git-resource

tracks commits in a branch of a Git repository
Apache License 2.0
192 stars 288 forks source link

Resource versions created with both SHA1 and tag, preventing tag_filter and tag_regex from working #353

Open ankeesler opened 3 years ago

ankeesler commented 3 years ago

What happened?

What did I expect to happen?

Notes

ankeesler commented 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

image