update
continuous-integration/drone Build is passing Details

master
icechen 2022-01-04 23:34:36 +08:00
parent 225c65e174
commit 0ab9707804
2 changed files with 8 additions and 8 deletions

View File

@ -27,17 +27,17 @@ steps:
image: bitsbeats/drone-helm3 image: bitsbeats/drone-helm3
settings: settings:
kube_api_server: kube_api_server:
from_secret: kubernetes_server_test from_secret: kubernetes_server
kube_token: kube_token:
from_secret: kubernetes_token_test from_secret: kubernetes_token
kube_certificate: kube_certificate:
from_secret: kubernetes_cert_test from_secret: kubernetes_cert
chart: ./{{ .Root }}/deploy chart: ./{{ .Root }}/deploy
release: api-{{ .Name }}-test release: api-{{ .Name }}-test
wait: true wait: true
namespace: {{ .NameSpace }} namespace: {{ .NameSpace }}
values: values:
- nameSpace={{ .NameSpace }} - nameSpace={{ .NameSpace }}-test
- aliasName={{ .AliasName }} - aliasName={{ .AliasName }}
- image=reg.icechen.cn/{{ .NameSpace }}/api-{{ .Name }} - image=reg.icechen.cn/{{ .NameSpace }}/api-{{ .Name }}
- imageTag=${DRONE_COMMIT:0:8} - imageTag=${DRONE_COMMIT:0:8}

View File

@ -27,15 +27,15 @@ steps:
image: bitsbeats/drone-helm3 image: bitsbeats/drone-helm3
settings: settings:
kube_api_server: kube_api_server:
from_secret: kubernetes_server_test from_secret: kubernetes_server
kube_token: kube_token:
from_secret: kubernetes_token_test from_secret: kubernetes_token
kube_certificate: kube_certificate:
from_secret: kubernetes_cert_test from_secret: kubernetes_cert
chart: ./{{ .Root }}/deploy chart: ./{{ .Root }}/deploy
release: service-{{ .Name }}-test release: service-{{ .Name }}-test
wait: true wait: true
namespace: {{ .NameSpace }} namespace: {{ .NameSpace }}-test
values: values:
- nameSpace={{ .NameSpace }} - nameSpace={{ .NameSpace }}
- aliasName={{ .AliasName }} - aliasName={{ .AliasName }}