Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/compare-error-code' into compare…
Browse files Browse the repository at this point in the history
…-error-code
  • Loading branch information
kacpersaw committed Nov 3, 2020
2 parents 589e50d + 383a9ad commit 371322e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ jobs:
echo "Print version using version command"
/floodgate/bin/floodgate version
echo "Comare changes - clean Spinnaker"
/floodgate/bin/floodgate << parameters.floodgate_extra_params >> --config ~/floodgate.yaml compare && exit 1 || echo "Found changes"
/floodgate/bin/floodgate << parameters.floodgate_extra_params >> --config ~/floodgate.yaml compare && exit 1 || if [ $? -eq 1 ]; then echo "Found changes"; else echo "Unsupported error code: $?"; exit 1; fi
echo "Apply local resources"
/floodgate/bin/floodgate << parameters.floodgate_extra_params >> --config ~/floodgate.yaml sync
echo "Compare changes - synced resources"
Expand Down

0 comments on commit 371322e

Please sign in to comment.