From 1be121e7e23da227771b7a4316623cbcc3a73fec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Thu, 24 Jan 2019 14:48:34 +0100 Subject: [PATCH] see #35: add support for one gateway environments (no staging gw) --- tasks/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 5efbb7c..7f93a1f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -42,7 +42,9 @@ - include_tasks: steps/smoke_test.yml vars: threescale_cicd_smoke_test_env: staging - when: 'threescale_cicd_openapi_smoketest_operation|length > 0 and threescale_cicd_application_plans is defined' + when: > + threescale_cicd_openapi_smoketest_operation|length > 0 and threescale_cicd_application_plans is defined + and threescale_cicd_apicast_sandbox_endpoint != threescale_cicd_apicast_production_endpoint # Promote to production - import_tasks: steps/promote.yml