From 9d1867e70f17f025165367bb3f5248729f56685d Mon Sep 17 00:00:00 2001 From: icechen Date: Wed, 5 Jan 2022 14:25:02 +0800 Subject: [PATCH] fix: add host --- go_handler/go_handler_template/go_api_test_pipeline.go | 6 +++--- go_handler/go_handler_template/go_service_test_pipeline.go | 6 +++--- 2 files changed, 6 insertions(+), 6 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 0129926..4d3960e 100644 --- a/go_handler/go_handler_template/go_api_test_pipeline.go +++ b/go_handler/go_handler_template/go_api_test_pipeline.go @@ -28,7 +28,7 @@ steps: image: bitsbeats/drone-helm3 settings: kube_api_server: - from_secret: kubernetes_server + from_secret: kubernetes_server_test kube_token: from_secret: kubernetes_token_test kube_certificate: @@ -36,9 +36,9 @@ steps: chart: ./{{ .Root }}/deploy release: api-{{ .Name }}-test wait: true - namespace: {{ .NameSpace }}-test + namespace: {{ .NameSpace }} values: - - nameSpace={{ .NameSpace }}-test + - nameSpace={{ .NameSpace }} - 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 608db00..2ce3974 100644 --- a/go_handler/go_handler_template/go_service_test_pipeline.go +++ b/go_handler/go_handler_template/go_service_test_pipeline.go @@ -28,7 +28,7 @@ steps: image: bitsbeats/drone-helm3 settings: kube_api_server: - from_secret: kubernetes_server + from_secret: kubernetes_server_test kube_token: from_secret: kubernetes_token_test kube_certificate: @@ -36,9 +36,9 @@ steps: chart: ./{{ .Root }}/deploy release: service-{{ .Name }}-test wait: true - namespace: {{ .NameSpace }}-test + namespace: {{ .NameSpace }} values: - - nameSpace={{ .NameSpace }}-test + - nameSpace={{ .NameSpace }} - aliasName={{ .AliasName }} - image=reg.icechen.cn/{{ .NameSpace }}/service-{{ .Name }} - imageTag=${DRONE_COMMIT:0:8}