Skip to content

Commit

Permalink
Add set -e to scripts that didn't have it yet
Browse files Browse the repository at this point in the history
The actions in these scripts depend on successful outcome of previous
actions. We should therefore fail early.
  • Loading branch information
mtekel authored and keymon committed Dec 7, 2015
1 parent 82b21a9 commit c43aa21
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions concourse/scripts/deploy-pipeline.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e

env=${DEPLOY_ENV:-$1}
pipeline=${PIPELINE:-$2}
Expand Down
2 changes: 2 additions & 0 deletions concourse/scripts/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
set -e

SCRIPT_DIR=$(cd $(dirname $0) && pwd)

env=${DEPLOY_ENV-$1}
Expand Down
2 changes: 2 additions & 0 deletions concourse/scripts/destroy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
set -e

SCRIPT_DIR=$(cd $(dirname $0) && pwd)

env=${DEPLOY_ENV-$1}
Expand Down

0 comments on commit c43aa21

Please sign in to comment.