Install git in before_script, run script with -e flag to catch failures
This commit is contained in:
@@ -9,11 +9,11 @@ stages:
|
|||||||
- publish
|
- publish
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apk add bash
|
- apk add bash git
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
script: /bin/bash .utilities/build.sh
|
script: /bin/bash -e .utilities/build.sh
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
- schedules
|
- schedules
|
||||||
@@ -24,7 +24,7 @@ build:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
script: /bin/bash .utilities/test.sh
|
script: /bin/bash -e .utilities/test.sh
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
- schedules
|
- schedules
|
||||||
@@ -35,7 +35,7 @@ test:
|
|||||||
|
|
||||||
publish:
|
publish:
|
||||||
stage: publish
|
stage: publish
|
||||||
script: /bin/bash .utilities/publish.sh
|
script: /bin/bash -e .utilities/publish.sh
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
- schedules
|
- schedules
|
||||||
@@ -45,6 +45,6 @@ publish:
|
|||||||
|
|
||||||
update_docker_hub_full_description:
|
update_docker_hub_full_description:
|
||||||
stage: publish
|
stage: publish
|
||||||
script: /bin/bash .utilities/update-docker-hub-full-description.sh
|
script: /bin/bash -e .utilities/update-docker-hub-full-description.sh
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|||||||
Reference in New Issue
Block a user