adding execdb to taskotron-proxy for taskotron-dev

This commit is contained in:
Tim Flink 2015-04-01 14:25:09 +00:00
parent 1b6d7978c2
commit 54317bd0d8
3 changed files with 12 additions and 0 deletions

View file

@ -21,7 +21,9 @@ buildslave_dir: /home/buildslave/slave
master_dir: /home/buildmaster/master
master_user: buildmaster
external_hostname: taskotron-dev.fedoraproject.org
execdb_server: http://resultsdb-dev01.qa.fedoraproject.org/execdb
execdb_statuspush: http://resultsdb-dev01.qa.fedoraproject.org/execdb/buildbottest
execdb_endpoint: execdb
resultsdb_url: http://resultsdb-dev01.qa.fedoraproject.org/resultsdb_api/api/v1.0
resultsdb_frontend_url: http://resultsdb-dev01.qa.fedoraproject.org/resultsdb/
resultsdb_external_url: https://taskotron-dev.fedoraproject.org/resultsdb/

View file

@ -15,3 +15,8 @@
template: src=resultsdb.conf.j2 dest=/etc/httpd/conf.d/resultsdb.conf owner=root group=root
notify:
- restart httpd
- name: copy execdb proxy httpd config
template: src=execdb.conf.j2 dest=/etc/httpd/conf.d/execdb.conf owner=root group=root
notify:
- restart httpd

View file

@ -0,0 +1,5 @@
<Location /{{ execdb_endpoint }}/ >
ProxyPass {{ execdb_server }}
ProxyPassReverse {{ execdb_server }}
RequestHeader add X-Script-Name /{{ execdb_endpoint }}/
</Location>