Skip to content

Commit

Permalink
Update cache_key naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
d0cd committed Oct 15, 2024
1 parent 14c0826 commit 647d379
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ commands:
parameters:
cache_key:
type: string
default: v3-rust-1.81.0-snarkos-stable-cache
default: v3.0.0-rust-1.81.0-snarkos-stable-cache
steps:
- run: set -e
- run:
Expand Down Expand Up @@ -88,7 +88,7 @@ commands:
parameters:
cache_key:
type: string
default: v3-rust-1.81.0-snarkos-stable-cache
default: v3.0.0-rust-1.81.0-snarkos-stable-cache
steps:
- run: (sccache -s||true)
- run: set +e
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
steps:
- run_serial_long:
workspace_member: .integration
cache_key: v3-rust-1.81.0-integration-cache
cache_key: v3.0.0-rust-1.81.0-integration-cache

snarkos:
docker:
Expand All @@ -187,7 +187,7 @@ jobs:
steps:
- run_serial:
workspace_member: .
cache_key: v3-rust-1.81.0-stable-cache
cache_key: v3.0.0-rust-1.81.0-stable-cache

account:
docker:
Expand All @@ -196,7 +196,7 @@ jobs:
steps:
- run_serial:
workspace_member: account
cache_key: v3-rust-1.81.0-account-cache
cache_key: v3.0.0-rust-1.81.0-account-cache

cli:
docker:
Expand All @@ -205,7 +205,7 @@ jobs:
steps:
- run_serial:
workspace_member: cli
cache_key: v3-rust-1.81.0-cli-cache
cache_key: v3.0.0-rust-1.81.0-cli-cache

display:
docker:
Expand All @@ -214,7 +214,7 @@ jobs:
steps:
- run_serial:
workspace_member: display
cache_key: v3-rust-1.81.0-display-cache
cache_key: v3.0.0-rust-1.81.0-display-cache

node:
docker:
Expand All @@ -223,7 +223,7 @@ jobs:
steps:
- run_serial:
workspace_member: node
cache_key: v3-rust-1.81.0-node-cache
cache_key: v3.0.0-rust-1.81.0-node-cache

node-bft:
docker:
Expand All @@ -232,7 +232,7 @@ jobs:
steps:
- run_serial:
workspace_member: node/bft
cache_key: v3-rust-1.81.0-node-bft-cache
cache_key: v3.0.0-rust-1.81.0-node-bft-cache

node-bft-events:
docker:
Expand All @@ -241,7 +241,7 @@ jobs:
steps:
- run_serial:
workspace_member: node/bft/events
cache_key: v3-rust-1.81.0-node-bft-events-cache
cache_key: v3.0.0-rust-1.81.0-node-bft-events-cache

node-bft-ledger-service:
docker:
Expand All @@ -250,7 +250,7 @@ jobs:
steps:
- run_serial:
workspace_member: node/bft/ledger-service
cache_key: v3-rust-1.81.0-node-bft-ledger-service-cache
cache_key: v3.0.0-rust-1.81.0-node-bft-ledger-service-cache

node-bft-storage-service:
docker:
Expand All @@ -259,7 +259,7 @@ jobs:
steps:
- run_serial:
workspace_member: node/bft/storage-service
cache_key: v3-rust-1.81.0-node-bft-storage-service-cache
cache_key: v3.0.0-rust-1.81.0-node-bft-storage-service-cache

node-cdn:
docker:
Expand All @@ -268,7 +268,7 @@ jobs:
steps:
- run_serial:
workspace_member: node/cdn
cache_key: v3-rust-1.81.0-node-cdn-cache
cache_key: v3.0.0-rust-1.81.0-node-cdn-cache

node-consensus:
docker:
Expand All @@ -277,7 +277,7 @@ jobs:
steps:
- run_serial:
workspace_member: node/consensus
cache_key: v3-rust-1.81.0-node-consensus-cache
cache_key: v3.0.0-rust-1.81.0-node-consensus-cache

node-rest:
docker:
Expand All @@ -286,7 +286,7 @@ jobs:
steps:
- run_serial:
workspace_member: node/rest
cache_key: v3-rust-1.81.0-node-rest-cache
cache_key: v3.0.0-rust-1.81.0-node-rest-cache

node-router:
docker:
Expand All @@ -295,7 +295,7 @@ jobs:
steps:
- run_serial:
workspace_member: node/router
cache_key: v3-rust-1.81.0-node-router-cache
cache_key: v3.0.0-rust-1.81.0-node-router-cache

node-router-messages:
docker:
Expand All @@ -304,7 +304,7 @@ jobs:
steps:
- run_serial:
workspace_member: node/router/messages
cache_key: v3-rust-1.81.0-node-router-messages-cache
cache_key: v3.0.0-rust-1.81.0-node-router-messages-cache

node-sync:
docker:
Expand All @@ -313,7 +313,7 @@ jobs:
steps:
- run_serial:
workspace_member: node/sync
cache_key: v3-rust-1.81.0-node-sync-cache
cache_key: v3.0.0-rust-1.81.0-node-sync-cache

node-sync-communication-service:
docker:
Expand All @@ -322,7 +322,7 @@ jobs:
steps:
- run_serial:
workspace_member: node/sync/communication-service
cache_key: v3-rust-1.81.0-node-sync-communication-service-cache
cache_key: v3.0.0-rust-1.81.0-node-sync-communication-service-cache

node-sync-locators:
docker:
Expand All @@ -331,7 +331,7 @@ jobs:
steps:
- run_serial:
workspace_member: node/sync/locators
cache_key: v3-rust-1.81.0-node-sync-locators-cache
cache_key: v3.0.0-rust-1.81.0-node-sync-locators-cache

node-tcp:
docker:
Expand All @@ -340,7 +340,7 @@ jobs:
steps:
- run_serial:
workspace_member: node/tcp
cache_key: v3-rust-1.81.0-node-tcp-cache
cache_key: v3.0.0-rust-1.81.0-node-tcp-cache

check-fmt:
docker:
Expand All @@ -350,13 +350,13 @@ jobs:
- checkout
- install_rust_nightly
- setup_environment:
cache_key: v3-rust-1.81.0-fmt-cache
cache_key: v3.0.0-rust-1.81.0-fmt-cache
- run:
name: Check style
no_output_timeout: 35m
command: cargo +nightly fmt --all -- --check
- clear_environment:
cache_key: v3-rust-1.81.0-fmt-cache
cache_key: v3.0.0-rust-1.81.0-fmt-cache

check-clippy:
docker:
Expand All @@ -365,15 +365,15 @@ jobs:
steps:
- checkout
- setup_environment:
cache_key: v3-rust-1.81.0-clippy-cache
cache_key: v3.0.0-rust-1.81.0-clippy-cache
- run:
name: Check lint
no_output_timeout: 35m
command: |
cargo clippy --workspace --all-targets -- -D warnings
cargo clippy --workspace --all-targets --all-features -- -D warnings
- clear_environment:
cache_key: v3-rust-1.81.0-clippy-cache
cache_key: v3.0.0-rust-1.81.0-clippy-cache

verify-windows:
executor:
Expand Down

0 comments on commit 647d379

Please sign in to comment.