fixing small syntax errors in master.cfg
This commit is contained in:
parent
b5bc06fdef
commit
886ca661f5
1 changed files with 3 additions and 2 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue