Skip to content

Commit

Permalink
Update-integration-configs should not fail if only a wats config is p…
Browse files Browse the repository at this point in the history
…rovided

Signed-off-by: David Sabeti <dsabeti@pivotal.io>
  • Loading branch information
sjolicoeur authored and bot committed Aug 10, 2018
1 parent 4dfe392 commit 69e2f87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions update-integration-configs/task
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 69e2f87

Please sign in to comment.