@@ -121,11 +121,12 @@ postgres_conf_path="/home/ubuntu/.dblab/postgres_conf"
121
121
mkdir -p $dle_config_path
122
122
mkdir -p $dle_meta_path
123
123
mkdir -p $postgres_conf_path
124
+ mkdir -p $dle_logs_path
124
125
125
- curl https://gitlab.com/postgres-ai/database-lab/-/raw/${dle_version} /configs/config.example.logical_generic.yml --output $dle_config_path /server.yml
126
- curl https://gitlab.com/postgres-ai/database-lab/-/raw/${dle_version} /configs/standard/postgres/control/pg_hba.conf \
126
+ curl https://gitlab.com/postgres-ai/database-lab/-/raw/${dle_version} /engine/ configs/config.example.logical_generic.yml --output $dle_config_path /server.yml
127
+ curl https://gitlab.com/postgres-ai/database-lab/-/raw/${dle_version} /engine/ configs/standard/postgres/control/pg_hba.conf \
127
128
--output $postgres_conf_path /pg_hba.conf
128
- curl https://gitlab.com/postgres-ai/database-lab/-/raw/${dle_version} /configs/standard/postgres/control/postgresql.conf --output $postgres_conf_path /postgresql.conf
129
+ curl https://gitlab.com/postgres-ai/database-lab/-/raw/${dle_version} /engine/ configs/standard/postgres/control/postgresql.conf --output $postgres_conf_path /postgresql.conf
129
130
cat /tmp/postgresql_clones_custom.conf >> $postgres_conf_path /postgresql.conf
130
131
131
132
yq e -i '
@@ -202,8 +203,9 @@ sudo docker run \
202
203
--publish 2345:2345 \
203
204
--volume /var/run/docker.sock:/var/run/docker.sock \
204
205
--volume /var/lib/dblab:/var/lib/dblab/:rshared \
205
- --volume $dle_config_path :/home/dblab/configs:ro \
206
+ --volume $dle_config_path :/home/dblab/configs \
206
207
--volume $dle_meta_path :/home/dblab/meta \
208
+ --volume $dle_logs_path :/home/dblab/logs \
207
209
--volume $postgres_conf_path :/home/dblab/standard/postgres/control \
208
210
$extra_mount \
209
211
--env DOCKER_API_VERSION=1.39 \
@@ -217,7 +219,7 @@ for i in {1..30000}; do
217
219
sleep 10
218
220
done
219
221
220
- curl https://gitlab.com/postgres-ai/database-lab/-/raw/${dle_version} /scripts/cli_install.sh | bash
222
+ curl https://gitlab.com/postgres-ai/database-lab/-/raw/${dle_version} /engine/ scripts/cli_install.sh | bash
221
223
sudo mv ~ /.dblab/dblab /usr/local/bin/dblab
222
224
223
225
# Init dblab environment
@@ -263,7 +265,7 @@ sudo docker run \
263
265
ci_checker_config_path=" /home/ubuntu/.dblab/ci_checker/configs"
264
266
mkdir -p $ci_checker_config_path
265
267
266
- curl https://gitlab.com/postgres-ai/database-lab/-/raw/${dle_version} /configs/config.example.ci_checker.yml --output $ci_checker_config_path /ci_checker.yml
268
+ curl https://gitlab.com/postgres-ai/database-lab/-/raw/${dle_version} /engine/ configs/config.example.ci_checker.yml --output $ci_checker_config_path /ci_checker.yml
267
269
268
270
yq e -i '
269
271
.app.debug = ${dle_debug_mode} |
0 commit comments