From 0ab9707804c6ba224e552b4cae25d93f4b44bd57 Mon Sep 17 00:00:00 2001 From: icechen Date: Tue, 4 Jan 2022 23:34:36 +0800 Subject: [PATCH] update --- go_handler/go_handler_template/go_api_test_pipeline.go | 8 ++++---- .../go_handler_template/go_service_test_pipeline.go | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/go_handler/go_handler_template/go_api_test_pipeline.go b/go_handler/go_handler_template/go_api_test_pipeline.go index 1eaca8e..c257656 100644 --- a/go_handler/go_handler_template/go_api_test_pipeline.go +++ b/go_handler/go_handler_template/go_api_test_pipeline.go @@ -27,17 +27,17 @@ steps: image: bitsbeats/drone-helm3 settings: kube_api_server: - from_secret: kubernetes_server_test + from_secret: kubernetes_server kube_token: - from_secret: kubernetes_token_test + from_secret: kubernetes_token kube_certificate: - from_secret: kubernetes_cert_test + from_secret: kubernetes_cert chart: ./{{ .Root }}/deploy release: api-{{ .Name }}-test wait: true namespace: {{ .NameSpace }} values: - - nameSpace={{ .NameSpace }} + - nameSpace={{ .NameSpace }}-test - aliasName={{ .AliasName }} - image=reg.icechen.cn/{{ .NameSpace }}/api-{{ .Name }} - imageTag=${DRONE_COMMIT:0:8} diff --git a/go_handler/go_handler_template/go_service_test_pipeline.go b/go_handler/go_handler_template/go_service_test_pipeline.go index 667f048..63aef13 100644 --- a/go_handler/go_handler_template/go_service_test_pipeline.go +++ b/go_handler/go_handler_template/go_service_test_pipeline.go @@ -27,15 +27,15 @@ steps: image: bitsbeats/drone-helm3 settings: kube_api_server: - from_secret: kubernetes_server_test + from_secret: kubernetes_server kube_token: - from_secret: kubernetes_token_test + from_secret: kubernetes_token kube_certificate: - from_secret: kubernetes_cert_test + from_secret: kubernetes_cert chart: ./{{ .Root }}/deploy release: service-{{ .Name }}-test wait: true - namespace: {{ .NameSpace }} + namespace: {{ .NameSpace }}-test values: - nameSpace={{ .NameSpace }} - aliasName={{ .AliasName }}