|
@@ -6,7 +6,7 @@ clone:
|
|
|
disable: true
|
|
|
|
|
|
metadata:
|
|
|
- namespace: drone
|
|
|
+ namespace: ci
|
|
|
|
|
|
steps:
|
|
|
- name: clone
|
|
@@ -20,13 +20,15 @@ steps:
|
|
|
username: admin
|
|
|
password: Easou2)1*
|
|
|
insecure: true
|
|
|
- mirror: https://ci7pm4nx.mirror.aliyuncs.com
|
|
|
+ #mirror: https://ci7pm4nx.mirror.aliyuncs.com
|
|
|
+ mirror: https://tfstj46s.mirror.aliyuncs.com
|
|
|
registry: hub.evbj.easou.com
|
|
|
repo: hub.evbj.easou.com/oldad/${DRONE_REPO_NAME}
|
|
|
tag: v1.0.0
|
|
|
|
|
|
- name: deployment
|
|
|
- image: hub.evbj.easou.com/dev/drone-agent:v2.0.0
|
|
|
+ #image: hub.evbj.easou.com/dev/drone-agent:v2.0.0
|
|
|
+ image: hub.evbj.easou.com/dev/drone-agent:v3.0.1-1128
|
|
|
pull: always
|
|
|
# privileged: true
|
|
|
environment:
|
|
@@ -34,7 +36,7 @@ steps:
|
|
|
JNLP_REPLICAS: 1
|
|
|
JNLP_TAG: v1.0.0
|
|
|
JNLP_VERSION: v1 # default v1, v2 for canary
|
|
|
- DEPLOY_ENV: k8s-2 # 可以选择把应用部署到集群:k8s-1 or k8s-2
|
|
|
+ DEPLOY_ENV: k8s-3 # 可以选择把应用部署到集群:k8s-1 or k8s-2
|
|
|
JNLP_REPO: hub.evbj.easou.com
|
|
|
JNLP_CONTAINER_PORT: 9009
|
|
|
JNLP_INGRESS: nginx
|
|
@@ -57,7 +59,7 @@ steps:
|
|
|
# 部署服务到kubernetes上
|
|
|
- python3 /root/tools.py -a
|
|
|
# 检查服务部署状态
|
|
|
- - python3 /root/tools.py -c
|
|
|
+ #- python3 /root/tools.py -c
|
|
|
# 添加dns解析记录,生成访问域名
|
|
|
#- python3 /root/tools.py -d
|
|
|
|