|
@@ -15,12 +15,12 @@ steps:
|
|
|
- git clone $DRONE_GIT_HTTP_URL .
|
|
|
|
|
|
- name: deployment
|
|
|
- image: hub.evbj.easou.com/dev/drone-agent:v3.0.1-241127 #hub.evbj.easou.com/dev/drone-agent:v3.0.1-230721
|
|
|
+ image: hub.evbj.easou.com/dev/drone-agent:v3.0.1-241127 #hub.evbj.easou.com/dev/drone-agent:v3.0.1-230721
|
|
|
pull: always
|
|
|
- # privileged: true
|
|
|
+ # privileged: true
|
|
|
environment:
|
|
|
- JNLP_ENV: qa #datagroup-qa OR datagroup-pro
|
|
|
- JNLP_ACTIVE_PROFILE: test #test OR pro
|
|
|
+ JNLP_ENV: qa #datagroup-qa OR datagroup-pro
|
|
|
+ JNLP_ACTIVE_PROFILE: test #test OR pro
|
|
|
JNLP_TAG: v5.0.45
|
|
|
JNLP_REPLICAS: 1
|
|
|
JNLP_JAVA_OPTS: -XX:PermSize=512M -XX:MaxPermSize=512M -Xms2048M -Xmx2048M
|
|
@@ -41,7 +41,7 @@ steps:
|
|
|
JNLP_READINESS_PER: 15
|
|
|
JNLP_INGRESS_PUB: no
|
|
|
commands:
|
|
|
- # 切换目标集群
|
|
|
+ # 切换目标集群
|
|
|
- kubecm s $DEPLOY_ENV
|
|
|
# 生成配置YAML文件
|
|
|
- python3 /root/tools.py -b
|