Bladeren bron

deploy pro/elasticsearch:1.0

yangxg 4 jaren geleden
bovenliggende
commit
142df3ed2c
2 gewijzigde bestanden met toevoegingen van 8 en 8 verwijderingen
  1. 5 5
      .drone.yml
  2. 3 3
      deploy-tmp.yaml

+ 5 - 5
.drone.yml

@@ -22,7 +22,7 @@ steps:
       insecure: true
       mirror: https://ci7pm4nx.mirror.aliyuncs.com
       registry: hub.evbj.easou.com
-      repo: hub.evbj.easou.com/qa/elasticsearch
+      repo: hub.evbj.easou.com/pro/elasticsearch
       tag: v1.0
   #    build_args:
   #      - JAR_FILE=
@@ -33,7 +33,7 @@ steps:
     pull: always
     # privileged: true
     environment:
-      JNLP_ENV: qa
+      JNLP_ENV: pro
       JNLP_REPLICAS: 1
       JNLP_TAG: v1.0
       JNLP_VERSION: v1  # default v1, v2 for canary
@@ -70,8 +70,8 @@ steps:
       corpid: ww419ee4063735e1c0
       corp_secret: zpiRBLETH9eLwIMQ4eJ_r_dcm3BPSGeLHvTcft8Ot-M
       agent_id: 1000004
-      title: "Pipeline qa/elasticsearch:v1.0 Success"
-      description: "${DRONE_BUILD_LINK} qa/elasticsearch:v1.0 部署完成"
+      title: "Pipeline pro/elasticsearch:v1.0 Success"
+      description: "${DRONE_BUILD_LINK} pro/elasticsearch:v1.0 部署完成"
       msg_url: ${DRONE_BUILD_LINK}
       btn_txt: "否"
     when:
@@ -84,7 +84,7 @@ steps:
       corpid: ww419ee4063735e1c0
       corp_secret: zpiRBLETH9eLwIMQ4eJ_r_dcm3BPSGeLHvTcft8Ot-M
       agent_id: 1000004
-      title: "Pipeline qa/elasticsearch:v1.0 Failure"
+      title: "Pipeline pro/elasticsearch:v1.0 Failure"
       description: "${DRONE_BUILD_LINK} 部署失败,请检查配置!"
       msg_url: ${DRONE_BUILD_LINK}
       btn_txt: "否"

+ 3 - 3
deploy-tmp.yaml

@@ -3,7 +3,7 @@ apiVersion: apps/v1
 kind: StatefulSet
 metadata:
   name: es
-  namespace: qa
+  namespace: pro
 spec:
   serviceName: elasticsearch
   replicas: 3
@@ -79,7 +79,7 @@ apiVersion: v1
 kind: Service
 metadata:
   name: elasticsearch
-  namespace: qa
+  namespace: pro
   labels:
     app: elasticsearch
 spec:
@@ -96,7 +96,7 @@ apiVersion: v1
 kind: Service
 metadata:
   name: elasticsearch-cs
-  namespace: qa
+  namespace: pro
   labels:
     app: elasticsearch
 spec: