changing branch var for distgit builder for trigger update

This commit is contained in:
Tim Flink 2017-04-06 03:54:40 +00:00
parent 7437d0fa81
commit e727850587

View file

@ -256,14 +256,14 @@ distgit_factory.addStep(ShellCommand(command=Interpolate("rm -rf /var/tmp/taskot
{% if deployment_type in ['dev', 'prod'] %}
# check out the source from prod dist-git
distgit_factory.addStep(Git(repourl=Property('repo', default=Interpolate('http://pkgs02.phx2.fedoraproject.org/rpms/{}/'.format("%(prop:item)s".split('-')[0]))),
branch=Property('branch', default='master'),
branch=Property('git_branch', default='master'),
mode='full',
method='clobber',
shallow=True))
{% else %}
# check out the source from stg dist-git
distgit_factory.addStep(Git(repourl=Property('repo', default=Interpolate('http://pkgs01.stg.phx2.fedoraproject.org/rpms/{}/'.format("%(prop:item)s".split('-')[0]))),
branch=Property('Branch', default='master'),
branch=Property('git_branch', default='master'),
mode='full',
method='clobber',
shallow=True))