diff --git a/roles/taskotron/buildmaster-configure/templates/taskotron.master.cfg.j2 b/roles/taskotron/buildmaster-configure/templates/taskotron.master.cfg.j2 index a2ba5df8fa..afc081d52f 100644 --- a/roles/taskotron/buildmaster-configure/templates/taskotron.master.cfg.j2 +++ b/roles/taskotron/buildmaster-configure/templates/taskotron.master.cfg.j2 @@ -240,12 +240,13 @@ factory.addStep(FileUpload(slavesrc='/var/log/taskotron/taskotron.log', {% if deployment_type in ['stg'] %} # this is for package-specific tasks -# +distgit_factory = BuildFactory() + # clean out /var/tmp/taskotron (see T253) distgit_factory.addStep(ShellCommand(command=Interpolate("rm -rf /var/tmp/taskotron/%(prop:slavename)s/*"), name="rm_tmp", descriptionDone=['Clean tmp'])) # check out the source -distgit_factory.addStep(Git(repourl=Property('repo', default=Interpolate('http://pkgs01.stg.phx2.fedoraproject.org/rpms/{}/'.format(%(prop:item)s.split('-'_[0])))), +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='{{ grokmirror_default_branch }}'), mode='full', method='clobber',