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