for deployment
This commit is contained in:
parent
af16e8a0a2
commit
1eaa32b7f7
|
|
@ -16,12 +16,12 @@ spring:
|
||||||
password: nacos
|
password: nacos
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 192.168.0.56:8848
|
||||||
namespace: f648524d-0a7b-449e-8f92-64e05236fd51
|
namespace: 9cde1ce1-98bc-4b9c-9213-f1fbf8a5b3cc
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 192.168.0.56:8848
|
||||||
namespace: f648524d-0a7b-449e-8f92-64e05236fd51
|
namespace: 9cde1ce1-98bc-4b9c-9213-f1fbf8a5b3cc
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
|
|
|
||||||
|
|
@ -5,21 +5,21 @@ export deploy_path=/opt/webapps/bonus-cloud
|
||||||
export app_workspace=/home/jenkins/workspace/Bonus-Cloud
|
export app_workspace=/home/jenkins/workspace/Bonus-Cloud
|
||||||
|
|
||||||
|
|
||||||
#app_source_jars=(
|
app_source_jars=(
|
||||||
# "bonus-auth/target/bonus-auth.jar"
|
"bonus-auth/target/bonus-auth.jar"
|
||||||
# "bonus-gateway/target/bonus-gateway.jar"
|
"bonus-gateway/target/bonus-gateway.jar"
|
||||||
# "bonus-modules/bonus-file/target/bonus-file.jar"
|
"bonus-modules/bonus-file/target/bonus-file.jar"
|
||||||
# "bonus-modules/bonus-gen/target/bonus-gen.jar"
|
"bonus-modules/bonus-gen/target/bonus-gen.jar"
|
||||||
# "bonus-modules/bonus-job/target/bonus-job.jar"
|
"bonus-modules/bonus-job/target/bonus-job.jar"
|
||||||
# "bonus-modules/bonus-oss/target/bonus-oss.jar"
|
"bonus-modules/bonus-oss/target/bonus-oss.jar"
|
||||||
# "bonus-modules/bonus-system/target/bonus-system.jar"
|
"bonus-modules/bonus-system/target/bonus-system.jar"
|
||||||
# "bonus-visual/bonus-monitor/target/bonus-visual-monitor.jar"
|
"bonus-visual/bonus-monitor/target/bonus-visual-monitor.jar"
|
||||||
#)
|
)
|
||||||
#
|
|
||||||
#for source_jar in "${app_source_jars[@]}"; do
|
for source_jar in "${app_source_jars[@]}"; do
|
||||||
# cp -f ${app_workspace}/${source_jar} $deploy_path
|
cp -f ${app_workspace}/${source_jar} $deploy_path
|
||||||
# echo "copied ${app_workspace}/${source_jar} to $deploy_path"
|
echo "copied ${app_workspace}/${source_jar} to $deploy_path"
|
||||||
#done
|
done
|
||||||
# Define an array of JAR files to run
|
# Define an array of JAR files to run
|
||||||
jars=("bonus-auth.jar --spring.config.location=file:auth_bootstrap.yml"
|
jars=("bonus-auth.jar --spring.config.location=file:auth_bootstrap.yml"
|
||||||
"bonus-gateway.jar --spring.config.location=file:gateway_bootstrap.yml"
|
"bonus-gateway.jar --spring.config.location=file:gateway_bootstrap.yml"
|
||||||
|
|
|
||||||
|
|
@ -16,12 +16,12 @@ spring:
|
||||||
password: nacos
|
password: nacos
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 192.168.0.56:8848
|
||||||
namespace: f648524d-0a7b-449e-8f92-64e05236fd51
|
namespace: 9cde1ce1-98bc-4b9c-9213-f1fbf8a5b3cc
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 192.168.0.56:8848
|
||||||
namespace: f648524d-0a7b-449e-8f92-64e05236fd51
|
namespace: 9cde1ce1-98bc-4b9c-9213-f1fbf8a5b3cc
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
|
|
|
||||||
|
|
@ -17,12 +17,12 @@ spring:
|
||||||
password: nacos
|
password: nacos
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 192.168.0.56:8848
|
||||||
namespace: f648524d-0a7b-449e-8f92-64e05236fd51
|
namespace: 9cde1ce1-98bc-4b9c-9213-f1fbf8a5b3cc
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 192.168.0.56:8848
|
||||||
namespace: f648524d-0a7b-449e-8f92-64e05236fd51
|
namespace: 9cde1ce1-98bc-4b9c-9213-f1fbf8a5b3cc
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
|
|
@ -40,8 +40,8 @@ spring:
|
||||||
nacos:
|
nacos:
|
||||||
username: nacos
|
username: nacos
|
||||||
password: nacos
|
password: nacos
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 192.168.0.56:8848
|
||||||
namespace: f648524d-0a7b-449e-8f92-64e05236fd51
|
namespace: 9cde1ce1-98bc-4b9c-9213-f1fbf8a5b3cc
|
||||||
dataId: sentinel-bonus-gateway
|
dataId: sentinel-bonus-gateway
|
||||||
groupId: DEFAULT_GROUP
|
groupId: DEFAULT_GROUP
|
||||||
data-type: json
|
data-type: json
|
||||||
|
|
|
||||||
|
|
@ -16,12 +16,12 @@ spring:
|
||||||
password: nacos
|
password: nacos
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 192.168.0.56:8848
|
||||||
namespace: f648524d-0a7b-449e-8f92-64e05236fd51
|
namespace: 9cde1ce1-98bc-4b9c-9213-f1fbf8a5b3cc
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 192.168.0.56:8848
|
||||||
namespace: f648524d-0a7b-449e-8f92-64e05236fd51
|
namespace: 9cde1ce1-98bc-4b9c-9213-f1fbf8a5b3cc
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
|
|
|
||||||
|
|
@ -16,12 +16,12 @@ spring:
|
||||||
password: nacos
|
password: nacos
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 192.168.0.56:8848
|
||||||
namespace: f648524d-0a7b-449e-8f92-64e05236fd51
|
namespace: 9cde1ce1-98bc-4b9c-9213-f1fbf8a5b3cc
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 192.168.0.56:8848
|
||||||
namespace: f648524d-0a7b-449e-8f92-64e05236fd51
|
namespace: 9cde1ce1-98bc-4b9c-9213-f1fbf8a5b3cc
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
|
|
|
||||||
|
|
@ -16,12 +16,12 @@ spring:
|
||||||
password: nacos
|
password: nacos
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 192.168.0.56:8848
|
||||||
namespace: f648524d-0a7b-449e-8f92-64e05236fd51
|
namespace: 9cde1ce1-98bc-4b9c-9213-f1fbf8a5b3cc
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 192.168.0.56:8848
|
||||||
namespace: f648524d-0a7b-449e-8f92-64e05236fd51
|
namespace: 9cde1ce1-98bc-4b9c-9213-f1fbf8a5b3cc
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
|
|
|
||||||
|
|
@ -16,12 +16,12 @@ spring:
|
||||||
password: nacos
|
password: nacos
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 192.168.0.56:8848
|
||||||
namespace: f648524d-0a7b-449e-8f92-64e05236fd51
|
namespace: 9cde1ce1-98bc-4b9c-9213-f1fbf8a5b3cc
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 192.168.0.56:8848
|
||||||
namespace: f648524d-0a7b-449e-8f92-64e05236fd51
|
namespace: 9cde1ce1-98bc-4b9c-9213-f1fbf8a5b3cc
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue