Fix self-building for matrix-synapse-auto-compressor
This commit is contained in:
parent
7422337c26
commit
bb89d7b3fb
@ -11,8 +11,8 @@ matrix_synapse_auto_compressor_base_path: "{{ matrix_base_data_path }}/synapse-a
|
||||
matrix_synapse_auto_compressor_container_src_files_path: "{{ matrix_synapse_auto_compressor_base_path }}/container-src"
|
||||
|
||||
matrix_synapse_auto_compressor_container_image_self_build: false
|
||||
matrix_synapse_auto_compressor_container_repo: "https://gitlab.com/etke.cc/rust-synapse-compress-state.git"
|
||||
matrix_synapse_auto_compressor_container_repo_version: "{{ 'main' if matrix_synapse_auto_compressor_version == 'latest' else matrix_synapse_auto_compressor_version }}"
|
||||
matrix_synapse_auto_compressor_container_image_self_build_repo: "https://github.com/matrix-org/rust-synapse-compress-state.git"
|
||||
matrix_synapse_auto_compressor_container_image_self_build_version: "{{ 'main' if matrix_synapse_auto_compressor_version == 'latest' else matrix_synapse_auto_compressor_version }}"
|
||||
|
||||
matrix_synapse_auto_compressor_container_image: "{{ matrix_synapse_auto_compressor_container_image_name_prefix }}etke.cc/rust-synapse-compress-state:{{ matrix_synapse_auto_compressor_version }}"
|
||||
matrix_synapse_auto_compressor_container_image_name_prefix: "{{ 'localhost/' if matrix_synapse_auto_compressor_container_image_self_build else 'registry.gitlab.com/' }}"
|
||||
|
@ -36,8 +36,8 @@
|
||||
|
||||
- name: Ensure synapse-auto-compressor repository is present on self-build
|
||||
ansible.builtin.git:
|
||||
repo: "{{ matrix_synapse_auto_compressor_container_repo }}"
|
||||
version: "{{ matrix_synapse_auto_compressor_container_repo_version }}"
|
||||
repo: "{{ matrix_synapse_auto_compressor_container_image_self_build_repo }}"
|
||||
version: "{{ matrix_synapse_auto_compressor_container_image_self_build_version }}"
|
||||
dest: "{{ matrix_synapse_auto_compressor_container_src_files_path }}"
|
||||
force: "yes"
|
||||
become: true
|
||||
|
Loading…
Reference in New Issue
Block a user