feat(synapse): support deploying release candidates

This commit is contained in:
Jan Christian Grünhage 2020-10-09 17:20:46 +02:00
parent 5af149d0e8
commit f2114cb821
2 changed files with 5 additions and 1 deletions

View file

@ -36,6 +36,7 @@ The following should be present on the target system
| matrix_synapse_baseurl | "https://{{ matrix_server_name }}" | |
| matrix_synapse_signing_key_path | "{{ matrix_synapse_base_path }}/ssl/{{ matrix_server_name }}.signing.key" | |
| matrix_synapse_version | "v1.20.1" | |
| matrix_synapse_unstable | false | when true, release candidate versions are deployed too |
| matrix_synapse_log_days_keep | 14 | |
| matrix_synapse_deployment_method | pip | Either pip or docker [¹](#footnote_1) |
| matrix_synapse_supervision_method | systemd | Either systemd, runit or docker [¹](#footnote_1) |

View file

@ -7,7 +7,10 @@ matrix_synapse_secrets_path: "{{ matrix_synapse_base_path }}/secrets"
matrix_synapse_dh_path: "{{ matrix_synapse_base_path }}/tls/{{ matrix_server_name }}.dh"
matrix_synapse_baseurl: "https://{{ matrix_server_name }}"
matrix_synapse_signing_key_path: "{{ matrix_synapse_base_path }}/tls/{{ matrix_server_name }}.signing.key"
matrix_synapse_version: "1.20.1"
matrix_synapse_version: "{{ matrix_synapse_unstable | ternary(matrix_synapse_unstable_version, matrix_synapse_stable_version) }}"
matrix_synapse_unstable: false
matrix_synapse_stable_version: "1.20.1"
matrix_synapse_unstable_version: "1.21.0rc3"
matrix_synapse_log_dir: "/var/log/matrix_synapse"
matrix_synapse_log_days_keep: 14
matrix_synapse_pid_file: "{{ matrix_synapse_base_path }}/synapse.pid"