Concourse server not triggering the automatic build based on tag_filter


#1

Hi,

now concourse deployment automatically triggering whenever changes done in master branch

  • name: nginx-deployment
    type: git
    source:
    username: ((git username))
    password: ((git password))
    uri: ((giturl))
    branch: master

but automatic build not triggering whenever changes done in tags and I have used tag_filter: “REL-201809*” but it not worked


#2

can any one help me on this


#3

Can you elaborate on your problem?

I would expect the following resource to trigger on new commits on master with tags matching REL-201809*. Is this not what you’re experiencing?

- name: nginx-deployment
  type: git
  source:
    username: ((git username))
    password: ((git password))
    uri: ((giturl))
    branch: master
    tag_filter: 'REL-201809*'

#4

Hi crsimmons

yes, i am using in above way but it not triggering automatic build and can you suggest me to create automatic build whenever new tags are pushed.

Thanks,
Sanjay


#5

I would have thought that the above code sample would do that. If it isn’t working I would check if the resource checks are actually detecting the new tags. If not try to figure out why. The implementation of the check in the resource is here https://github.com/concourse/git-resource/blob/master/assets/check