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 58ded0a..d09fd99 100644 --- a/go_handler/go_handler_template/go_api_production_pipeline.go +++ b/go_handler/go_handler_template/go_api_production_pipeline.go @@ -30,7 +30,8 @@ steps: kubernetes_token: from_secret: kubernetes_token commands: - - echo ` + ApiProductionDeploy + ` | kubectl apply -f - + - |- +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 73c6762..703280b 100644 --- a/go_handler/go_handler_template/go_api_test_pipeline.go +++ b/go_handler/go_handler_template/go_api_test_pipeline.go @@ -30,7 +30,8 @@ steps: kubernetes_token: from_secret: kubernetes_token_test commands: - - echo ` + ApiTestDeploy + ` | kubectl apply -f - + - |- +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 f3b8cbc..01b82b7 100644 --- a/go_handler/go_handler_template/go_service_production_pipeline.go +++ b/go_handler/go_handler_template/go_service_production_pipeline.go @@ -30,7 +30,8 @@ steps: kubernetes_token: from_secret: kubernetes_token commands: - - echo ` + ServiceProductionDeploy + ` | kubectl apply -f - + - |- +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 2eccd50..4010309 100644 --- a/go_handler/go_handler_template/go_service_test_pipeline.go +++ b/go_handler/go_handler_template/go_service_test_pipeline.go @@ -30,7 +30,8 @@ steps: kubernetes_token: from_secret: kubernetes_token_test commands: - - echo ` + ServiceTestDeploy + ` | kubectl apply -f - + - |- +echo ` + ServiceTestDeploy + ` | kubectl apply -f - # - kubectl wait --for=condition=Ready --timeout=300s -f deploy/deployment.yaml `