Skip to content

Commit 04e321e

Browse files
author
Anastasia Kroshkina
committed
исправила замечания Антона
1 parent b942940 commit 04e321e

2 files changed

Lines changed: 23 additions & 15 deletions

File tree

docs/agent/reachability.en.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ To use this feature, you need to set two parameters:
5858
```shell
5959
johnny-linux-amd64 scan dir . --api_url "http(s)://<codescoring_host>" --api_token "<token from step 1>" --cg-path .svace-dir/analyze-res/call-graph-results/<project_name>-graph-order.json --cg-lang java
6060
```
61-
## Remote Analysis Server
61+
## Remote analysis
6262

63-
In [Svace 5.0.260311](/on-premise/postgres-upgrade-compose/), it is now possible to use a remote analysis server. This allows you to configure
64-
the analysis server once, and its users can submit projects for analysis without specifying credentials.
63+
In [Svace 5.0.260311](/on-premise/postgres-upgrade-compose/), it is now possible to use a remote analysis server. This allows you to take
64+
the construction of the call graph beyond the CI/CD pipeline, reduce the load on the assembly servers and optimize the continuous integration process.
6565

6666
### Server configuration steps
6767

@@ -79,11 +79,15 @@ svace server init
7979
svace server start
8080
```
8181
4. Submit the project for analysis
82-
```shell
83-
svace remote analyze --build-call-graph-only
84-
```
8582

86-
After configuring the server, the analysis is simplified — you do not need to specify the license parameters ```--license-server-url``` and ```--license-server-token```.
83+
After configuring the server, you do not need to specify the --license-server-url and --license-server-token license parameters.
84+
```shell
85+
svace remote analyze --build-call-graph-only
86+
```
87+
88+
If necessary, you can add the parameters: ```--port```, ```--login```, ```--pass```, etc.
89+
90+
For more information about the remote analysis server settings, see [the Svace documentation](https://svace.pages.ispras.ru/svace-website/docs/5.0.260306/user-guide.html#remote-analysis).
8791

8892

8993
## Viewing results

docs/agent/reachability.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ hide:
5959
johnny-linux-amd64 scan dir . --api_url "http(s)://<codescoring_host>" --api_token "<токен из п.1>" --cg-path .svace-dir/analyze-res/call-graph-results/<project_name>-graph-order.json --cg-lang java
6060
```
6161

62-
## Сервер удалённого анализа
62+
## Удаленный анализ
6363

64-
В версии [Svace 5.0.260311](/on-premise/postgres-upgrade-compose/) появилась возможность использования сервера удалённого анализа. Это позволяет сконфигурировать
65-
сервер анализа один раз, а его пользователям — отправлять проекты на анализ без указания учетных данных.
64+
В версии [Svace 5.0.260311](/on-premise/postgres-upgrade-compose/) появилась возможность использования сервера удалённого анализа. Это позволяет вынести
65+
построение графа вызовов за пределы CI/CD пайплайна, снизить нагрузку на сборочные серверы и оптимизировать процесс непрерывной интеграции.
6666

6767
### Этапы настройки сервера
6868

@@ -73,18 +73,22 @@ SVACE_LIC_SERVER_TOKEN=<токен CodeScoring>
7373
```
7474
2. Инициализация
7575
```shell
76-
svace server init
76+
sace server init
7777
```
7878
3. Запустить сервер
7979
```shell
8080
svace server start
8181
```
8282
4. Отправить проект на анализ
83-
```shell
84-
svace remote analyze --build-call-graph-only
85-
```
8683

87-
После настройки сервера анализ упрощается — не нужно указывать параметры лицензии ```--license-server-url``` и ```--license-server-token```
84+
После настройки сервера не нужно указывать параметры лицензии ```--license-server-url``` и ```--license-server-token```.
85+
```shell
86+
svace remote --host <адрес сервера> analyze --build-call-graph-only
87+
```
88+
89+
При необходимости можно добавить параметры ```--port```, ```--login```, ```--pass``` и т.д.
90+
91+
Подробнее с настройками сервера удалённого анализа можно ознакомиться в [документации Svace](https://svace.pages.ispras.ru/svace-website/docs/5.0.260306/user-guide.html#remote-analysis).
8892

8993
## Получение результатов
9094

0 commit comments

Comments
 (0)