Ilya Kharin | fd293c4 | 2017-03-14 17:34:12 +0400 | [diff] [blame] | 1 | {% set setup = salt['pillar.get']('devops_portal:setup') %} |
| 2 | {% set config = salt['pillar.get']('devops_portal:config', default={ |
Ilya Kharin | ced9839 | 2017-03-16 13:41:18 +0400 | [diff] [blame] | 3 | "base_dir": "/srv/volumes/devops_portal", |
| 4 | }, merge=True) %} |
Ilya Kharin | 9954eaf | 2017-03-06 15:21:07 +0400 | [diff] [blame] | 5 | |
Ilya Kharin | e1cf854 | 2017-03-17 18:37:09 +0400 | [diff] [blame] | 6 | {% macro service_url(endpoint) -%} |
Ilya Kharin | 9600ada | 2017-03-23 17:30:14 +0400 | [diff] [blame] | 7 | {%- if endpoint.get('https', False) -%}https://{%- else -%}http://{%- endif -%} |
Ilya Kharin | e1cf854 | 2017-03-17 18:37:09 +0400 | [diff] [blame] | 8 | {{ endpoint.address }}:{{ endpoint.port }}/ |
| 9 | {%- endmacro %} |
| 10 | |
Ilya Kharin | 9954eaf | 2017-03-06 15:21:07 +0400 | [diff] [blame] | 11 | {% set services = [ |
| 12 | 'artifactory', |
| 13 | 'elasticsearch', |
| 14 | 'gerrit', |
Ilya Kharin | 9954eaf | 2017-03-06 15:21:07 +0400 | [diff] [blame] | 15 | 'jenkins', |
Ilya Kharin | c45f29c | 2017-04-05 11:31:04 +0400 | [diff] [blame] | 16 | 'pushkin', |
Ilya Kharin | 9954eaf | 2017-03-06 15:21:07 +0400 | [diff] [blame] | 17 | 'riverdelta', |
| 18 | 'rundeck', |
Volodymyr Stoiko | 1f5c61d | 2017-05-19 13:07:14 +0300 | [diff] [blame] | 19 | 'securitymonkey', |
Ilya Kharin | d5c1eef | 2017-06-10 00:15:06 +0400 | [diff] [blame] | 20 | 'stacklight-grafana', |
| 21 | 'stacklight-kibana', |
Ilya Kharin | 9954eaf | 2017-03-06 15:21:07 +0400 | [diff] [blame] | 22 | ] %} |