fix(1c): deploy company api and schema updates
This commit is contained in:
@@ -70,6 +70,8 @@
|
|||||||
- clickhouse
|
- clickhouse
|
||||||
- detections
|
- detections
|
||||||
- etl
|
- etl
|
||||||
|
- ai
|
||||||
|
- grafana
|
||||||
- ops
|
- ops
|
||||||
- sample
|
- sample
|
||||||
|
|
||||||
@@ -85,6 +87,8 @@
|
|||||||
- clickhouse
|
- clickhouse
|
||||||
- detections
|
- detections
|
||||||
- etl
|
- etl
|
||||||
|
- ai
|
||||||
|
- grafana
|
||||||
- ops
|
- ops
|
||||||
- sample
|
- sample
|
||||||
|
|
||||||
@@ -98,6 +102,8 @@
|
|||||||
loop:
|
loop:
|
||||||
- bootstrap_runtime.sh
|
- bootstrap_runtime.sh
|
||||||
- check_ingest_freshness.sh
|
- check_ingest_freshness.sh
|
||||||
|
- run_company_intelligence_api.sh
|
||||||
|
- run_company_intelligence_refresh.sh
|
||||||
- run_ingest_cycle.sh
|
- run_ingest_cycle.sh
|
||||||
|
|
||||||
- name: Создать .env для file-1C analytics
|
- name: Создать .env для file-1C analytics
|
||||||
@@ -235,6 +241,15 @@
|
|||||||
mode: "0644"
|
mode: "0644"
|
||||||
notify: Перезагрузить systemd
|
notify: Перезагрузить systemd
|
||||||
|
|
||||||
|
- name: Установить systemd unit aw-1c-company-api.service
|
||||||
|
ansible.builtin.copy:
|
||||||
|
src: "{{ aw_file_1c_repo_root }}/clickhouse-1c/ops/aw-1c-company-api.service"
|
||||||
|
dest: /etc/systemd/system/aw-1c-company-api.service
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: "0644"
|
||||||
|
notify: Перезагрузить systemd
|
||||||
|
|
||||||
- name: Разрешить Windows upload key для igor
|
- name: Разрешить Windows upload key для igor
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: /home/igor/.ssh/authorized_keys
|
path: /home/igor/.ssh/authorized_keys
|
||||||
@@ -258,6 +273,13 @@
|
|||||||
state: started
|
state: started
|
||||||
daemon_reload: true
|
daemon_reload: true
|
||||||
|
|
||||||
|
- name: Включить и запустить aw-1c-company-api.service
|
||||||
|
ansible.builtin.systemd:
|
||||||
|
name: aw-1c-company-api.service
|
||||||
|
enabled: true
|
||||||
|
state: started
|
||||||
|
daemon_reload: true
|
||||||
|
|
||||||
- name: Проверить доступность ClickHouse ping
|
- name: Проверить доступность ClickHouse ping
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
url: "http://127.0.0.1:{{ aw_file_1c_clickhouse_port }}/ping"
|
url: "http://127.0.0.1:{{ aw_file_1c_clickhouse_port }}/ping"
|
||||||
|
|||||||
Reference in New Issue
Block a user