Skip to content

Commit

Permalink
interruptible test and build jobs (paritytech#642)
Browse files Browse the repository at this point in the history
  • Loading branch information
TriplEight authored and gavofyork committed Dec 2, 2019
1 parent abb5111 commit 67f37e7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -44,6 +45,8 @@ variables:
- runner_system_failure
- unknown_failure
- api_failure
interruptible: true
dependencies: []
tags:
- linux-docker

Expand Down Expand Up @@ -93,6 +96,7 @@ check-runtime:
GITHUB_API_PROJECT: "parity%2Finfrastructure%2Fgithub-api"
script:
- ./scripts/gitlab/check_runtime.sh
interruptible: true
allow_failure: true


Expand All @@ -104,6 +108,7 @@ check-line-width:
- /^[0-9]+$/
script:
- ./scripts/gitlab/check_line_width.sh
interruptible: true
allow_failure: true


Expand Down

0 comments on commit 67f37e7

Please sign in to comment.