Skip to content

Commit

Permalink
fail on error in every sh
Browse files Browse the repository at this point in the history
  • Loading branch information
abulte committed Jun 3, 2019
1 parent 5a3d100 commit 5353e0f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions process.sh
Expand Up @@ -6,6 +6,9 @@
# pour la source sélectionnée ou pour toutes les sources
#**********************************************************************

# fail on error
set -e

source=$1
step=$2
mode=$3
Expand Down
3 changes: 3 additions & 0 deletions publish-docker.sh
@@ -1,5 +1,8 @@
#!/bin/sh

# fail on error
set -e

# publish Dockerfile built image to docker hub
docker build . -t decp-rama
docker tag decp-rama etalab/decp-rama
Expand Down
3 changes: 3 additions & 0 deletions publish.sh
Expand Up @@ -9,6 +9,9 @@
# /!\ Le dataset doit avoir été créé et une ressource decp.json doit avoir été ajoutée
# à ce dataset.

# fail on error
set -e

case ${CIRCLE_BRANCH} in
*)

Expand Down

0 comments on commit 5353e0f

Please sign in to comment.