|
@@ -22,7 +22,7 @@ steps:
|
|
insecure: true
|
|
insecure: true
|
|
mirror: https://ci7pm4nx.mirror.aliyuncs.com
|
|
mirror: https://ci7pm4nx.mirror.aliyuncs.com
|
|
registry: hub.evbj.easou.com
|
|
registry: hub.evbj.easou.com
|
|
- repo: hub.evbj.easou.com/dev/${DRONE_REPO_NAME}
|
|
|
|
|
|
+ repo: hub.evbj.easou.com/op/${DRONE_REPO_NAME}
|
|
tag: v3.0.0
|
|
tag: v3.0.0
|
|
|
|
|
|
- name: deployment
|
|
- name: deployment
|
|
@@ -30,16 +30,16 @@ steps:
|
|
pull: always
|
|
pull: always
|
|
# privileged: true
|
|
# privileged: true
|
|
environment:
|
|
environment:
|
|
- JNLP_ENV: dev
|
|
|
|
|
|
+ JNLP_ENV: op
|
|
JNLP_REPLICAS: 2
|
|
JNLP_REPLICAS: 2
|
|
- JNLP_TAG: 3.0.0
|
|
|
|
|
|
+ JNLP_TAG: v3.0.0
|
|
JNLP_VERSION: v1 # default v1, v2 for canary
|
|
JNLP_VERSION: v1 # default v1, v2 for canary
|
|
- DEPLOY_ENV: k8s-1 # 可以选择把应用部署到集群:k8s-1(阿里云) or k8s-2(IDC机房)
|
|
|
|
|
|
+ DEPLOY_ENV: k8s-2 # 可以选择把应用部署到集群:k8s-1(阿里云) or k8s-2(IDC机房)
|
|
JNLP_REPO: hub.evbj.easou.com
|
|
JNLP_REPO: hub.evbj.easou.com
|
|
JNLP_CONTAINER_PORT: 8080
|
|
JNLP_CONTAINER_PORT: 8080
|
|
JNLP_INGRESS: nginx
|
|
JNLP_INGRESS: nginx
|
|
JNLP_SVC_MODE: http
|
|
JNLP_SVC_MODE: http
|
|
- JNLP_STORAGE_CLASS: ceph-block #k8s-2的STORAGE_CLASS为: rbd
|
|
|
|
|
|
+ JNLP_STORAGE_CLASS: rbd #k8s-2的STORAGE_CLASS为: rbd; k8s-1的STORAGE_CLASS为: ceph-block
|
|
JNLP_DOMAIN: .ieasou.cn
|
|
JNLP_DOMAIN: .ieasou.cn
|
|
JNLP_CONTROL: StatefulSet
|
|
JNLP_CONTROL: StatefulSet
|
|
JNLP_STORAGE_CAPACITY: 200Gi
|
|
JNLP_STORAGE_CAPACITY: 200Gi
|