ruby on rails - Bamboo infinite loop -
ruby on rails - Bamboo infinite loop -
having major issues bamboo.
i run rails project, runs on engine yard.
my build strategy follows
checkout source code bundle install rspec (run tests) tag build(code create tag causes new commit, tag used in deploy)
git remote remove origin git remote add together origin <my repo> git tag bamboo-${bamboo.buildnumber} git force origin bamboo-${bamboo.buildnumber}
in deploy way engine yard works deploy based on branches or tags ( there no build artifacts)
so in deploy it's single script uses gem https://github.com/engineyard/engineyard
and runs
ey deploy --environment <staging> --tag=bamboo- ${bamboo.buildnumber} --app <my app>
engine yard rails 'stuff' prep build , deploy it. need bamboo run test , if works tag build.
problem
i using bitbucket source command , have configured hook trigger bamboo build on commit master.
the issue step 4) pushing tag causes bitbucket execute build
resulting in infinitely building bamboo.
looking how solve this. figured utilize bamboo 'exclude changesets' , filter out particular commit message
https://confluence.atlassian.com/display/bamboo/bitbucket?focusedcommentid=610435557&#comment-610435557
so 4) like
git remote remove origin git remote add together origin <my repo> #create tag git tag -a bamboo-${bamboo.buildnumber} - m 'bamboo build' #push tag git force origin bamboo-${bamboo.buildnumber}
however per comments on confluence page. exclude changsets isn't visible alternative anymore?
i don't understand how can stop infinite building loop.
ruby-on-rails bitbucket bamboo engineyard
Comments
Post a Comment