From f2783a04b3f1a4081e10ed449b545e1c2f7580d0 Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Mon, 6 Jan 2020 23:29:22 +0100 Subject: [PATCH] Install git in before_script, run script with -e flag to catch failures --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b58578a..eadb103 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,11 +9,11 @@ stages: - publish before_script: - - apk add bash + - apk add bash git build: stage: build - script: /bin/bash .utilities/build.sh + script: /bin/bash -e .utilities/build.sh only: - tags - schedules @@ -24,7 +24,7 @@ build: test: stage: test - script: /bin/bash .utilities/test.sh + script: /bin/bash -e .utilities/test.sh only: - tags - schedules @@ -35,7 +35,7 @@ test: publish: stage: publish - script: /bin/bash .utilities/publish.sh + script: /bin/bash -e .utilities/publish.sh only: - tags - schedules @@ -45,6 +45,6 @@ publish: update_docker_hub_full_description: stage: publish - script: /bin/bash .utilities/update-docker-hub-full-description.sh + script: /bin/bash -e .utilities/update-docker-hub-full-description.sh only: - master