Symlink artefacts dir to 'all' directory to provide canonical path
This commit is contained in:
parent
2d5d97ca50
commit
dc91001f94
3 changed files with 7 additions and 1 deletions
|
@ -30,6 +30,8 @@ execdb_db_port: 5432
|
|||
execdb_endpoint: 'execdb'
|
||||
execdb_db_name: execdb_dev
|
||||
|
||||
external_hostname: taskotron-dev.fedoraproject.org
|
||||
|
||||
allowed_hosts:
|
||||
- 10.5.124
|
||||
|
||||
|
|
|
@ -199,7 +199,7 @@ def today(props):
|
|||
return datetime.datetime.now().strftime("%Y%m%d")
|
||||
|
||||
# move artifacts dir
|
||||
factory.addStep(MasterShellCommand(command=Interpolate('mkdir -p -m 0755 {{ public_artifacts_dir }}/%(kw:today)s && mv {{ public_artifacts_dir }}/%(prop:uuid)s/ {{ public_artifacts_dir }}/%(kw:today)s/', today=today),
|
||||
factory.addStep(MasterShellCommand(command=Interpolate('mkdir -p -m 0755 {{ public_artifacts_dir }}/%(kw:today)s && mkdir -p -m 0755 {{ public_artifacts_dir }}/all && mv {{ public_artifacts_dir }}/%(prop:uuid)s/ {{ public_artifacts_dir }}/%(kw:today)s/ && ln -s {{ public_artifacts_dir }}/%(kw:today)s/%(prop:uuid)s {{ public_artifacts_dir }}/all/', today=today),
|
||||
descriptionDone=['Move artifacs dir']))
|
||||
{% else %}
|
||||
# capture the taskotron log
|
||||
|
|
|
@ -18,3 +18,7 @@ FILE_LOGGING = False
|
|||
LOGFILR = '/var/log/execdb/execdb.log'
|
||||
SYSLOG_LOGGING = False
|
||||
STREAM_LOGGING = True
|
||||
|
||||
BUILDBOT_FRONTPAGE_URL = 'http://{{ external_hostname }}/taskmaster'
|
||||
RESULTSDB_FRONTPAGE_URL = 'http://{{ external_hostname }}/resultsdb'
|
||||
ARTIFACTS_BASE_URL = 'http://{{ external_hostname }}/artifacts/all'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue