|
@@ -43,11 +43,11 @@ steps:
|
|
commands:
|
|
commands:
|
|
# 切换目标集群
|
|
# 切换目标集群
|
|
- kubecm s $DEPLOY_ENV
|
|
- kubecm s $DEPLOY_ENV
|
|
- # 生成配置YAML文件
|
|
|
|
|
|
+ # 生成配置YAML文件
|
|
- python3 /root/tools.py -b
|
|
- python3 /root/tools.py -b
|
|
# 部署服务到kubernetes上
|
|
# 部署服务到kubernetes上
|
|
- python3 /root/tools.py -a
|
|
- python3 /root/tools.py -a
|
|
- # 检查服务部署状态
|
|
|
|
|
|
+ # 检查服务部署状态
|
|
# - python3 /root/tools.py -c
|
|
# - python3 /root/tools.py -c
|
|
# 添加dns解析记录,生成访问域名1
|
|
# 添加dns解析记录,生成访问域名1
|
|
- python3 /root/tools.py -d
|
|
- python3 /root/tools.py -d
|