소스 검색

provide webserver over unix socket

covid-videoplattform
부모
커밋
277b61f9c0
3개의 변경된 파일12개의 추가작업 그리고 4개의 파일을 삭제
  1. +8
    -0
      tasks/master.yaml
  2. +1
    -1
      templates/buildbot/master.cfg.j2
  3. +3
    -3
      vars/main.yaml

+ 8
- 0
tasks/master.yaml 파일 보기

@@ -37,6 +37,14 @@
group: buildbot
mode: 0700

- name: buildbot run directory
file:
path: /run/buildbot
state: directory
owner: buildbot
group: www-data
mode: u=rwx,g=rx,o=

# source of unit file from https://github.com/buildbot/buildbot-contrib/blob/master/master/contrib/systemd/buildbot%40.service
- name: buildbot systemd service unit
copy:


+ 1
- 1
templates/buildbot/master.cfg.j2 파일 보기

@@ -18,7 +18,7 @@ c['titleURL'] = "https://github.com/covid-videoplattform"
c['buildbotURL'] = "https://{{buildbot_server_name}}/"

c['www'] = dict(
port=8010,
port="unix:address=/run/buildbot/{{buildbot_server_name}}.www.sock",
plugins = dict(
waterfall_view={},
console_view={},


+ 3
- 3
vars/main.yaml 파일 보기

@@ -12,12 +12,12 @@ buildbot_nginx_vhosts:
custom: |-
location / {
include proxy_params;
proxy_pass http://localhost:8010;
proxy_pass http://unix:/run/buildbot/{{buildbot_server_name}}.www.sock;
}
# Server sent event (sse) settings
location /sse {
proxy_buffering off;
proxy_pass http://localhost:8010;
proxy_pass http://unix:/run/buildbot/{{buildbot_server_name}}.www.sock;
}

# Websocket settings
@@ -25,6 +25,6 @@ buildbot_nginx_vhosts:
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass http://localhost:8010;
proxy_pass http://unix:/run/buildbot/{{buildbot_server_name}}.www.sock;
proxy_read_timeout 6000s;
}

불러오는 중...
취소
저장