'build'
This commit is contained in:
parent
2525ae9408
commit
ce813ba7b6
15
.drone.yml
15
.drone.yml
@ -53,19 +53,19 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
|||||||
- cp ./ludu-module-datacenter/ludu-module-datacenter-biz/Dockerfile /app/build/ludu-module-datacenter
|
- cp ./ludu-module-datacenter/ludu-module-datacenter-biz/Dockerfile /app/build/ludu-module-datacenter
|
||||||
- cp ./ludu-module-datacenter/ludu-module-datacenter-biz/run.sh /app/build/ludu-module-datacenter
|
- cp ./ludu-module-datacenter/ludu-module-datacenter-biz/run.sh /app/build/ludu-module-datacenter
|
||||||
|
|
||||||
- name: build-infra-and-copy # 构建基础模块和复制票务停车场到轮渡服务器
|
- name: build-other-service
|
||||||
|
|
||||||
image: appleboy/drone-ssh # SSH工具镜像
|
image: appleboy/drone-ssh # SSH工具镜像
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
|
|
||||||
host: 101.43.112.107 # 远程连接地址
|
host: 120.46.37.243 # 远程连接地址
|
||||||
|
|
||||||
username: root # 远程连接账号
|
username: root # 远程连接账号
|
||||||
|
|
||||||
password:
|
password:
|
||||||
|
|
||||||
from_secret: ssh_password # 从Secret中读取SSH密码
|
from_secret: ssh_password2 # 从Secret中读取SSH密码
|
||||||
|
|
||||||
port: 22 # 远程连接端口
|
port: 22 # 远程连接端口
|
||||||
|
|
||||||
@ -73,7 +73,14 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
|
|
||||||
- chmod +x /ludu/maven/build/yudao-gateway/run.sh # 更改为可执行脚本
|
- chmod +x /ludu/maven/build/ludu-module-ticketing/run.sh # 更改为可执行脚本
|
||||||
|
- /ludu/maven/build/ludu-module-ticketing/run.sh # 运行脚本打包应用镜像并运行
|
||||||
|
|
||||||
|
- chmod +x /ludu/maven/build/ludu-module-parking/run.sh # 更改为可执行脚本
|
||||||
|
- /ludu/maven/build/ludu-module-parking/run.sh # 运行脚本打包应用镜像并运行
|
||||||
|
|
||||||
|
- chmod +x /ludu/maven/build/ludu-module-datacenter/run.sh # 更改为可执行脚本
|
||||||
|
- /ludu/maven/build/ludu-module-datacenter/run.sh # 运行脚本打包应用镜像并运行
|
||||||
|
|
||||||
volumes: # 定义流水线挂载目录,用于共享数据
|
volumes: # 定义流水线挂载目录,用于共享数据
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user