Skip to content
Snippets Groups Projects
Commit 1194e681 authored by Denis_P's avatar Denis_P :field_hockey:
Browse files

CI optomizations

parent 1418b842
No related merge requests found
......@@ -11,22 +11,17 @@ stages:
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"
CARGO_INCREMENTAL: 0
CI_SERVER_NAME: "GitLab CI"
.collect-artifacts: &collect-artifacts
artifacts:
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
when: on_success
expire_in: 7 days
paths:
- artifacts/
.docker-env: &docker-env
image: parity/rust-builder:latest
before_script:
- cargo -vV
- rustc -vV
- rustup show
- cargo --version
- sccache -s
......@@ -36,9 +31,11 @@ variables:
- schedules
- web
- /^[0-9]+$/ # PRs
dependencies: []
interruptible: true
retry:
max: 2
when:
when:
- runner_system_failure
- unknown_failure
- api_failure
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment