diff options
author | cyberta <cyberta@riseup.net> | 2017-10-13 13:34:39 +0000 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2017-10-13 13:34:39 +0000 |
commit | 0b146ea7ce6b628c7ff56a20318e7495960dfb7c (patch) | |
tree | ff97faa119a4b0dd180e841a8118536444df9c42 /.gitlab-ci.yml | |
parent | ef91d9235cccbd4dcd9e120c8fff910e0d448022 (diff) | |
parent | ca6a6bab5412dd13ab19f7043f320efe14a72dbd (diff) |
Merge branch '8755_reduce_logs_during_image_creation' into 'master'
8755 redirect logs during docker image creation to an artifact file
See merge request leap/bitmask_android!12
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bddbc547..5819f343 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,7 +24,13 @@ variables: script: - docker --version - docker info - - .gitlab/build.sh ${DOCKER_IMAGE} + - if ! .gitlab/build.sh ${DOCKER_IMAGE} >> dockerbuild.log 2>&1; then echo "Image build failed. Please check dockerbuild.log."; exit 1; fi; + allow_failure: false + artifacts: + when: on_failure + expire_in: 31d + paths: + - dockerbuild.log docker_image:sdk: stage: docker_image_sdk |