interruptible test and build jobs (#642)

This commit is contained in:
Denis Pisarev
2019-12-02 17:20:03 +01:00
committed by Gavin Wood
parent 7832ad93cd
commit 675ca2e258
+5
View File
@@ -16,6 +16,7 @@ image: parity/rust-builder:latest
variables:
GIT_STRATEGY: fetch
GIT_DEPTH: 3
CARGO_HOME: "/ci-cache/${CI_PROJECT_NAME}/cargo/${CI_JOB_NAME}"
SCCACHE_DIR: "/ci-cache/${CI_PROJECT_NAME}/sccache"
CI_SERVER_NAME: "GitLab CI"
@@ -44,6 +45,8 @@ variables:
- runner_system_failure
- unknown_failure
- api_failure
interruptible: true
dependencies: []
tags:
- linux-docker
@@ -93,6 +96,7 @@ check-runtime:
GITHUB_API_PROJECT: "parity%2Finfrastructure%2Fgithub-api"
script:
- ./scripts/gitlab/check_runtime.sh
interruptible: true
allow_failure: true
@@ -104,6 +108,7 @@ check-line-width:
- /^[0-9]+$/
script:
- ./scripts/gitlab/check_line_width.sh
interruptible: true
allow_failure: true