From 0440b1cba4881d81271734bf51c0750bb93d705f Mon Sep 17 00:00:00 2001 From: icechen Date: Tue, 4 Jan 2022 00:45:13 +0800 Subject: [PATCH] update --- .../go_handler_template/go_api_production_pipeline.go | 6 +++--- go_handler/go_handler_template/go_api_test_pipeline.go | 6 +++--- .../go_handler_template/go_service_production_pipeline.go | 6 +++--- go_handler/go_handler_template/go_service_test_pipeline.go | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/go_handler/go_handler_template/go_api_production_pipeline.go b/go_handler/go_handler_template/go_api_production_pipeline.go index dd44b38..58ded0a 100644 --- a/go_handler/go_handler_template/go_api_production_pipeline.go +++ b/go_handler/go_handler_template/go_api_production_pipeline.go @@ -24,11 +24,11 @@ steps: image: sinlead/drone-kubectl settings: kubernetes_server: - from_secret: kubernetes_server + from_secret: kubernetes_server kubernetes_cert: - from_secret: kubernetes_cert + from_secret: kubernetes_cert kubernetes_token: - from_secret: kubernetes_token + from_secret: kubernetes_token commands: - echo ` + ApiProductionDeploy + ` | kubectl apply -f - # - kubectl wait --for=condition=Ready --timeout=300s -f deploy/deployment.yaml 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 b85ea5f..73c6762 100644 --- a/go_handler/go_handler_template/go_api_test_pipeline.go +++ b/go_handler/go_handler_template/go_api_test_pipeline.go @@ -24,11 +24,11 @@ steps: image: sinlead/drone-kubectl settings: kubernetes_server: - from_secret: kubernetes_server_test + from_secret: kubernetes_server_test kubernetes_cert: - from_secret: kubernetes_cert_test + from_secret: kubernetes_cert_test kubernetes_token: - from_secret: kubernetes_token_test + from_secret: kubernetes_token_test commands: - echo ` + ApiTestDeploy + ` | kubectl apply -f - # - kubectl wait --for=condition=Ready --timeout=300s -f deploy/deployment.yaml diff --git a/go_handler/go_handler_template/go_service_production_pipeline.go b/go_handler/go_handler_template/go_service_production_pipeline.go index 5d297f2..f3b8cbc 100644 --- a/go_handler/go_handler_template/go_service_production_pipeline.go +++ b/go_handler/go_handler_template/go_service_production_pipeline.go @@ -24,11 +24,11 @@ steps: image: sinlead/drone-kubectl settings: kubernetes_server: - from_secret: kubernetes_server + from_secret: kubernetes_server kubernetes_cert: - from_secret: kubernetes_cert + from_secret: kubernetes_cert kubernetes_token: - from_secret: kubernetes_token + from_secret: kubernetes_token commands: - echo ` + ServiceProductionDeploy + ` | kubectl apply -f - # - kubectl wait --for=condition=Ready --timeout=300s -f deploy/deployment.yaml 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 f841227..2eccd50 100644 --- a/go_handler/go_handler_template/go_service_test_pipeline.go +++ b/go_handler/go_handler_template/go_service_test_pipeline.go @@ -24,11 +24,11 @@ steps: image: sinlead/drone-kubectl settings: kubernetes_server: - from_secret: kubernetes_server_test + from_secret: kubernetes_server_test kubernetes_cert: - from_secret: kubernetes_cert_test + from_secret: kubernetes_cert_test kubernetes_token: - from_secret: kubernetes_token_test + from_secret: kubernetes_token_test commands: - echo ` + ServiceTestDeploy + ` | kubectl apply -f - # - kubectl wait --for=condition=Ready --timeout=300s -f deploy/deployment.yaml