Skip to content

Commit

Permalink
Merge pull request #73 from cloudfoundry/update-integration-configs-fix
Browse files Browse the repository at this point in the history
Update-integration-configs should not fail if only a wats config is provided
  • Loading branch information
vitreuz authored Aug 13, 2018
2 parents 18c15d4 + 69e2f87 commit 4bd66e4
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 4bd66e4

Please sign in to comment.