Home:ALL Converter>concourse tagged replease deployment

concourse tagged replease deployment

Ask Time:2017-04-06T18:01:56         Author:retroman

Json Formatter

I want to auto deploy tagged releases using concourse. For example, if I tag a release as "stage" it will deploy to staging. There is a tag_filter option for the concourse git resource to do this.

The problem is that it needs to know the branch name in advance so if set up for say master then it will will work fine. However we have hotfixes that may not be merged to master so we don't know the name of the branch in advance, for example hotfix-009. So this solution only works for one branch but tags apply to any branch.

I also saw there is a git multi-branch resource that allows to to specify multi branches to monitor (.*) but this doesn't support the tag_filter parameter.

Any ideas?

Author:retroman,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/43251877/concourse-tagged-replease-deployment
yy