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 e4a5354
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,11 @@ default:
- !reference [.rusty-cachier, before_script]
- !reference [.pipeline-stopper-vars, 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 +127,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 e4a5354

Please sign in to comment.