Skip to content

Commit 936cfaf

Browse files
committed
[ci] Sync mdsv2 config template
1 parent ba7914f commit 936cfaf

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/ci-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
sudo systemctl start docker.socket
3838
sudo systemctl start docker
3939
docker info | grep "Docker Root Dir"
40+
echo "check disk space"
41+
df -h
4042
4143
- name: Pull dingodatabase/dingo-eureka:rocky9-fs
4244
run: |

deploy-scripts/deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ function deploy_server() {
6565

6666
if [ "${FLAGS_replace_conf}" == "0" ]; then
6767
# conf file
68-
dist_conf="${dstpath}/conf/${role}.conf"
69-
cp $srcpath/conf/${role}.template.conf $dist_conf
68+
dist_conf="${dstpath}/conf/${role}.toml"
69+
cp $srcpath/conf/${role}.template.toml $dist_conf
7070

7171
sed -i 's,\$INSTANCE_ID\$,'"$instance_id"',g' $dist_conf
7272
sed -i 's,\$SERVER_HOST\$,'"$SERVER_HOST"',g' $dist_conf

deploy-scripts/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function start_server() {
8282
server_name="dingo-${role}"
8383
echo "start server: ${root_dir}/bin/${server_name}"
8484

85-
exec ${root_dir}/bin/${server_name} >> ${root_dir}/log/mdsv2.log 2>&1
85+
exec ${root_dir}/bin/${server_name} --conf=${root_dir}/conf/${server_name}.toml >> ${root_dir}/log/mdsv2.log 2>&1
8686
}
8787

8888

0 commit comments

Comments
 (0)