From 69e2f87d3fda4660797669ea0e69987260a5846d Mon Sep 17 00:00:00 2001 From: Stephane Jolicoeur Date: Fri, 10 Aug 2018 11:03:31 -0700 Subject: [PATCH] Update-integration-configs should not fail if only a wats config is provided Signed-off-by: David Sabeti --- update-integration-configs/task | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update-integration-configs/task b/update-integration-configs/task index 7f26ae29..a9d53de4 100755 --- a/update-integration-configs/task +++ b/update-integration-configs/task @@ -5,8 +5,8 @@ set -o pipefail source cf-deployment-concourse-tasks/shared-functions function check_fast_fails() { - if [ ! -f "integration-configs/$CATS_INTEGRATION_CONFIG_FILE" -a ! -f "integration-configs/$RATS_INTEGRATION_CONFIG_FILE" ]; then - echo "Neither cats_integration_config file nor rats_integration_config file is present...Exiting" + if [ ! -f "integration-configs/$CATS_INTEGRATION_CONFIG_FILE" -a ! -f "integration-configs/$RATS_INTEGRATION_CONFIG_FILE" -a ! -f "integration-configs/$WATS_INTEGRATION_CONFIG_FILE" ]; then + echo "One of the following files should be present, but none were found: cats_integration_config, rats_integration_config, wats_integration_config. Exiting." exit 1 fi }