aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormzinal <zinal@ydb.tech>2023-07-31 14:45:53 +0300
committermzinal <zinal@ydb.tech>2023-07-31 14:45:53 +0300
commit9b78557ca29a91c6ca8c964cd6622431791cfd65 (patch)
tree55ab6a2bd759258fb52af20ab81692c1a71204b4
parent9bbcd177ac4e252c98c6382a8b88237da248bace (diff)
downloadydb-9b78557ca29a91c6ca8c964cd6622431791cfd65.tar.gz
make ydb download urls configurable in the docs
-rw-r--r--ydb/docs/en/core/deploy/manual/deploy-ydb-on-premises.md2
-rw-r--r--ydb/docs/en/core/getting_started/quickstart.md2
-rw-r--r--ydb/docs/en/core/getting_started/self_hosted/_includes/ydb_local.md2
-rw-r--r--ydb/docs/presets.yaml2
-rw-r--r--ydb/docs/ru/core/deploy/manual/deploy-ydb-on-premises.md2
-rw-r--r--ydb/docs/ru/core/getting_started/quickstart.md2
-rw-r--r--ydb/docs/ru/core/getting_started/self_hosted/_includes/ydb_local.md2
7 files changed, 8 insertions, 6 deletions
diff --git a/ydb/docs/en/core/deploy/manual/deploy-ydb-on-premises.md b/ydb/docs/en/core/deploy/manual/deploy-ydb-on-premises.md
index 719313b8a5..7d74866735 100644
--- a/ydb/docs/en/core/deploy/manual/deploy-ydb-on-premises.md
+++ b/ydb/docs/en/core/deploy/manual/deploy-ydb-on-premises.md
@@ -77,7 +77,7 @@ sudo usermod -aG disk ydb
```bash
mkdir ydbd-stable-linux-amd64
- curl -L https://binaries.ydb.tech/ydbd-stable-linux-amd64.tar.gz | tar -xz --strip-component=1 -C ydbd-stable-linux-amd64
+ curl -L {{ ydb-binaries-url }}/{{ ydb-stable-binary-archive }} | tar -xz --strip-component=1 -C ydbd-stable-linux-amd64
```
1. Create directories for {{ ydb-short-name }} software:
diff --git a/ydb/docs/en/core/getting_started/quickstart.md b/ydb/docs/en/core/getting_started/quickstart.md
index 91e2782f26..9bafa12e4f 100644
--- a/ydb/docs/en/core/getting_started/quickstart.md
+++ b/ydb/docs/en/core/getting_started/quickstart.md
@@ -25,7 +25,7 @@ Normally, {{ ydb-short-name }} stores data on multiple SSD/NVMe or HDD raw disk
2. Download and run the installation script:
```bash
- curl https://binaries.ydb.tech/local_scripts/install.sh | bash
+ curl {{ ydb-binaries-url }}/local_scripts/install.sh | bash
```
This will download and unpack the archive containing the `ydbd` executable, libraries, configuration files, and scripts needed to start and stop the local cluster.
diff --git a/ydb/docs/en/core/getting_started/self_hosted/_includes/ydb_local.md b/ydb/docs/en/core/getting_started/self_hosted/_includes/ydb_local.md
index 2e34f87f54..71cdc2a58a 100644
--- a/ydb/docs/en/core/getting_started/self_hosted/_includes/ydb_local.md
+++ b/ydb/docs/en/core/getting_started/self_hosted/_includes/ydb_local.md
@@ -15,7 +15,7 @@ As a result of completing the steps described below, you'll get a YDB database r
Create a working directory. In this directory, run a script to download an archive with the `ydbd` executable file and libraries required for using {{ ydb-short-name }}, as well as a set of scripts and auxiliary files to start and stop a server:
```bash
-curl https://binaries.ydb.tech/local_scripts/install.sh | bash
+curl {{ ydb-binaries-url }}/local_scripts/install.sh | bash
```
{% include [wget_auth_overlay.md](wget_auth_overlay.md) %}
diff --git a/ydb/docs/presets.yaml b/ydb/docs/presets.yaml
index cebc3ee230..84cc777e0b 100644
--- a/ydb/docs/presets.yaml
+++ b/ydb/docs/presets.yaml
@@ -24,6 +24,8 @@ default:
sf-name: Cloud Functions
concept_secondary_index: ../../../../concepts/secondary_indexes
concept_table: ../../../../concepts/datamodel/table
+ ydb-binaries-url: https://binaries.ydb.tech
+ ydb-stable-binary-archive: ydbd-stable-linux-amd64.tar.gz
ydb_local_docker_image: cr.yandex/yc/yandex-docker-local-ydb
ydb_local_docker_image_tag: latest
managed-k8s-full-name: Yandex Managed Service for Kubernetes
diff --git a/ydb/docs/ru/core/deploy/manual/deploy-ydb-on-premises.md b/ydb/docs/ru/core/deploy/manual/deploy-ydb-on-premises.md
index 679ffaee73..50359df218 100644
--- a/ydb/docs/ru/core/deploy/manual/deploy-ydb-on-premises.md
+++ b/ydb/docs/ru/core/deploy/manual/deploy-ydb-on-premises.md
@@ -77,7 +77,7 @@ sudo usermod -aG disk ydb
```bash
mkdir ydbd-stable-linux-amd64
- curl -L https://binaries.ydb.tech/ydbd-stable-linux-amd64.tar.gz | tar -xz --strip-component=1 -C ydbd-stable-linux-amd64
+ curl -L {{ ydb-binaries-url }}/{{ ydb-stable-binary-archive }} | tar -xz --strip-component=1 -C ydbd-stable-linux-amd64
```
1. Создайте директории для размещения программного обеспечения {{ ydb-short-name }}:
diff --git a/ydb/docs/ru/core/getting_started/quickstart.md b/ydb/docs/ru/core/getting_started/quickstart.md
index 55ac182b30..18b45a496b 100644
--- a/ydb/docs/ru/core/getting_started/quickstart.md
+++ b/ydb/docs/ru/core/getting_started/quickstart.md
@@ -25,7 +25,7 @@
2. Загрузите и запустите скрипт установки:
```bash
- curl https://binaries.ydb.tech/local_scripts/install.sh | bash
+ curl {{ ydb-binaries-url }}/local_scripts/install.sh | bash
```
Это действие загрузит и распакует архив с исполняемым файлом `ydbd`, библиотеками, файлами конфигурации и скриптами, необходимыми для запуска и остановки локального кластера.
diff --git a/ydb/docs/ru/core/getting_started/self_hosted/_includes/ydb_local.md b/ydb/docs/ru/core/getting_started/self_hosted/_includes/ydb_local.md
index 276a6f1818..8eeb5c795b 100644
--- a/ydb/docs/ru/core/getting_started/self_hosted/_includes/ydb_local.md
+++ b/ydb/docs/ru/core/getting_started/self_hosted/_includes/ydb_local.md
@@ -15,7 +15,7 @@
Создайте рабочую директорию. Запустите в ней скрипт скачивания архива с исполняемым файлом `ydbd` и необходимыми для работы {{ ydb-short-name }} библиотеками, а также набора скриптов и вспомогательных файлов для запуска и остановки сервера:
```bash
-curl https://binaries.ydb.tech/local_scripts/install.sh | bash
+curl {{ ydb-binaries-url }}/local_scripts/install.sh | bash
```
{% include [wget_auth_overlay.md](wget_auth_overlay.md) %}