'build'
Some checks reported errors
continuous-integration/drone Build was killed

This commit is contained in:
XinWei 2024-08-13 14:45:02 +08:00
parent 14ff25d4e6
commit bc1decf4f2

View File

@ -53,71 +53,6 @@ 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 # 构建基础模块和复制票务停车场到轮渡服务器
image: appleboy/drone-ssh # SSH工具镜像
settings:
host: 101.43.112.107 # 远程连接地址
username: root # 远程连接账号
password:
from_secret: ssh_password # 从Secret中读取SSH密码
port: 22 # 远程连接端口
command_timeout: 5m # 远程执行命令超时时间
script:
- chmod +x /ludu/maven/build/yudao-gateway/run.sh # 更改为可执行脚本
- /ludu/maven/build/yudao-gateway/run.sh # 运行脚本打包应用镜像并运行
- chmod +x /ludu/maven/build/yudao-module-system/run.sh # 更改为可执行脚本
- /ludu/maven/build/yudao-module-system/run.sh # 运行脚本打包应用镜像并运行
- chmod +x /ludu/maven/build/yudao-module-infra/run.sh # 更改为可执行脚本
- /ludu/maven/build/yudao-module-infra/run.sh # 运行脚本打包应用镜像并运行
- chmod +x /ludu/maven/build/ludu-job-admin/run.sh # 更改为可执行脚本
- /ludu/maven/build/ludu-job-admin/run.sh # 运行脚本打包应用镜像并运行
- scp -r /ludu/maven/build/ludu-module-ticketing root@120.46.37.243:/ludu/maven/build
- scp -r /ludu/maven/build/ludu-module-parking root@120.46.37.243:/ludu/maven/build
- scp -r /ludu/maven/build/ludu-module-datacenter root@120.46.37.243:/ludu/maven/build
- name: build-other-service
image: appleboy/drone-ssh # SSH工具镜像
settings:
host: 120.46.37.243 # 远程连接地址
username: root # 远程连接账号
password:
from_secret: ssh_password2 # 从Secret中读取SSH密码
port: 22 # 远程连接端口
command_timeout: 5m # 远程执行命令超时时间
script:
- 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: # 定义流水线挂载目录,用于共享数据
- name: maven-build - name: maven-build