taskotron: change buildslave's umask
This commit is contained in:
parent
46f83e9541
commit
ca44b35c4e
2 changed files with 5 additions and 1 deletions
|
@ -182,7 +182,7 @@ factory.addStep(FileUpload(slavesrc="/var/log/taskotron/taskotron.log",
|
||||||
masterdest=Interpolate('{{ public_artifacts_dir }}/%(prop:uuid)s/taskotron.log')))
|
masterdest=Interpolate('{{ public_artifacts_dir }}/%(prop:uuid)s/taskotron.log')))
|
||||||
|
|
||||||
# change permissions for uuid dir on master to be accessible via http
|
# change permissions for uuid dir on master to be accessible via http
|
||||||
factory.addStep(MasterShellCommand(command=["chmod", '-R', '0755', Interpolate('{{ public_artifacts_dir }}/%(prop:uuid)s/')]))
|
#factory.addStep(MasterShellCommand(command=["chmod", '-R', '0755', Interpolate('{{ public_artifacts_dir }}/%(prop:uuid)s/')]))
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
# capture the taskotron log
|
# capture the taskotron log
|
||||||
|
|
|
@ -52,7 +52,11 @@ passwd = '{{ qadevel_stg_buildslave_password }}'
|
||||||
|
|
||||||
keepalive = 600
|
keepalive = 600
|
||||||
usepty = 0
|
usepty = 0
|
||||||
|
{% if deployment_type == 'dev' %}
|
||||||
|
umask = 022
|
||||||
|
{% else %}
|
||||||
umask = None
|
umask = None
|
||||||
|
{% endif %}
|
||||||
maxdelay = 300
|
maxdelay = 300
|
||||||
|
|
||||||
s = BuildSlave(buildmaster_host, port, slavename, passwd, basedir,
|
s = BuildSlave(buildmaster_host, port, slavename, passwd, basedir,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue