|
@@ -14,20 +14,6 @@ steps:
|
|
|
commands:
|
|
|
- git clone $DRONE_GIT_HTTP_URL .
|
|
|
|
|
|
-- name: build
|
|
|
- image: plugins/docker
|
|
|
- settings:
|
|
|
- username: admin
|
|
|
- password: Easou2)1*
|
|
|
- insecure: true
|
|
|
- mirror: https://ci7pm4nx.mirror.aliyuncs.com
|
|
|
- registry: hub.evbj.easou.com
|
|
|
- repo: hub.evbj.easou.com/qa/offline-process-charge
|
|
|
- tag: r170306
|
|
|
-# build_args:
|
|
|
-# - JAR_FILE=offline-process-charge-test.jar
|
|
|
-# - SERVER_PORT=8080
|
|
|
-
|
|
|
- name: deployment
|
|
|
image: hub.evbj.easou.com/dev/drone-agent:v2.0.0
|
|
|
pull: always
|
|
@@ -56,7 +42,7 @@ steps:
|
|
|
# 切换目标集群
|
|
|
- kubecm s $DEPLOY_ENV
|
|
|
# 生成配置YAML文件
|
|
|
-# - python3 /root/tools.py -b
|
|
|
+ - python3 /root/tools.py -b
|
|
|
# 部署服务到kubernetes上
|
|
|
- python3 /root/tools.py -a
|
|
|
# 检查服务部署状态
|