Skip to content

Commit

Permalink
paritytech/ci_cd#860: testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Plakida committed Aug 29, 2023
1 parent e3f3b6f commit e60791f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,14 @@ default:
- !reference [.rust-info-script, script]
- !reference [.rusty-cachier, before_script]
- !reference [.pipeline-stopper-vars, script]
after_script:
- !reference [.rusty-cachier, after_script]
cache:
key: cargo-$CI_COMMIT_REF_SLUG-$CI_JOB_NAME_SLUG
key: Cargo.lock
fallback_keys:
- cargo-$CI_DEFAULT_BRANCH-$CI_JOB_NAME_SLUG
paths:
- cargo_home
- cargo_target_dir
- dependencies.tar
policy: pull-push
tags:
- linux-docker-vm-c2
Expand All @@ -128,6 +129,10 @@ default:
- git restore-mtime
- rusty-cachier --version
- rusty-cachier project touch-changed
- "[ -f dependencies.tar ] && (tar xf dependencies.tar || echo Ignoring error while extracting dependencies.tar...)"
after_script:
- tar cfW dependencies.tar $CARGO_HOME $CARGO_TARGET_DIR


.common-refs:
rules:
Expand Down

0 comments on commit e60791f

Please sign in to comment.