Browse Source

[CI SKIP]

scofield 2 years ago
parent
commit
c369956c7e
1 changed files with 3 additions and 4 deletions
  1. 3 4
      .drone.yml

+ 3 - 4
.drone.yml

@@ -39,8 +39,7 @@ steps:
      JNLP_INGRESS_PUB: yes
    commands:
      # 切换目标集群
-     #- kubecm s $DEPLOY_ENV
-     - echo "test ci"
+     - kubecm s $DEPLOY_ENV
      # 生成配置YAML文件
      # - python3 /root/tools.py -b
      # 部署服务到kubernetes上
@@ -48,11 +47,11 @@ steps:
      # apply for prod
      #- kubectl apply -f deploy.yaml --record
      # apply for canary
-     #- kubectl apply -f deploy-canary.yaml --record
+     - kubectl apply -f deploy-canary.yaml --record
      # 检查服务部署状态
      # - python3 /root/tools.py -c
      # 添加dns解析记录,生成访问域名
-     #- python3 /root/tools.py -d
+     - python3 /root/tools.py -d
 
  - name: success
    image: hub.evbj.easou.com/dev/drone-wechat:20200622