Files
hudi-service/bin/generate
2025-06-04 10:02:25 +08:00

25 lines
757 B
Bash
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
jars_path=/data/datalake/jars
jdk_path=/opt/jdk1.8.0_162/bin/java
arguments=$@
# 手动上传jar包则注释掉这行各显神通吧反正是
curl http://AxhEbscwsJDbYMH2:cYxg3b4PtWoVD5SjFayWxtnSVsjzRsg4@132.126.207.124:36800/file/download/service-cli-runner-1.0.0-SNAPSHOT.jar -o ${jars_path}/service-cli-runner.jar
${jdk_path} -jar ${jars_path}/service-cli-runner.jar \
--spring.profiles.active=b12 \
--deploy.generate.command=true \
--deploy.generate.command-pro=true \
--deploy.generate.uploader=true \
--deploy.generate.update-jar=true \
$arguments
chmod +x check/*.sh
chmod +x cloud/*.sh
chmod +x command/cli*
chmod +x command/*.sh
chmod +x command-pro/cli*
chmod +x command-pro/*.sh
chmod +x uploader/*.sh
chmod +x *.sh