فهرست منبع

更新 '.drone.yml'

robert 1 سال پیش
والد
کامیت
5db562d0cf
1فایلهای تغییر یافته به همراه10 افزوده شده و 11 حذف شده
  1. 10 11
      .drone.yml

+ 10 - 11
.drone.yml

@@ -5,15 +5,15 @@ name: eavideo-admin
 clone:
   disable: true
 
-
 metadata:
   namespace: ci
 
+
 steps:
  - name: clone
    image: hub.evbj.easou.com/dev/alpine-git:20200622
    commands:
-   - git clone --depth=1 $DRONE_GIT_HTTP_URL .
+   - git clone $DRONE_GIT_HTTP_URL .
 
  - name: build
    image: plugins/docker
@@ -22,7 +22,7 @@ steps:
      password: Easou2)1*
      insecure: true
      custom_dns: 223.5.5.5
-     mirror: https://ci7pm4nx.mirror.aliyuncs.com
+     mirror: https://tfstj46s.mirror.aliyuncs.com
      registry: hub.evbj.easou.com
      repo: hub.evbj.easou.com/rec/${DRONE_REPO_NAME}
      tag: v1.0.11
@@ -36,7 +36,7 @@ steps:
      JNLP_REPLICAS: 1
      JNLP_TAG: v1.0.11
      JNLP_VERSION: v1  # default v1, v2 for canary
-     DEPLOY_ENV: k8s-4 # 可以选择把应用部署到集群:k8s-1 or k8s-2 or k8s-4
+     DEPLOY_ENV: k8s-4 # 可以选择把应用部署到集群:k8s-1 or k8s-2 or k8s-3
      JNLP_REPO: hub.evbj.easou.com
      JNLP_CONTAINER_PORT: 6005
      JNLP_INGRESS: nginx
@@ -44,12 +44,12 @@ steps:
      JNLP_STORAGE_CLASS: rbd
      JNLP_DOMAIN: .ieasou.cn
      JNLP_CONTROL: StatefulSet
-     JNLP_STORAGE_CAPACITY: 1Gi
+     JNLP_STORAGE_CAPACITY: 100Gi
      JNLP_MOUNT_PATH: /data
-     JNLP_LIVENESS_INIT: 40
-     JNLP_LIVENESS_PER: 20
-     JNLP_READINESS_INIT: 40
-     JNLP_READINESS_PER: 20
+     JNLP_LIVENESS_INIT: 60
+     JNLP_LIVENESS_PER: 15
+     JNLP_READINESS_INIT: 60
+     JNLP_READINESS_PER: 15
      JNLP_INGRESS_PUB: no
    commands:
      # 切换目标集群
@@ -61,8 +61,7 @@ steps:
      # 检查服务部署状态
      #- 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