Skip to content

Commit

Permalink
Update CircleCI resource classes
Browse files Browse the repository at this point in the history
  • Loading branch information
zosorock authored Jun 10, 2024
1 parent 81ca9cf commit 1491411
Showing 1 changed file with 33 additions and 22 deletions.
55 changes: 33 additions & 22 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
version: 2.1

parameters:
large:
type: string
default: aleonet/large
xlarge:
type: string
default: aleonet/xlarge
twoxlarge:
type: string
default: aleonet/2xlarge

orbs:
windows: circleci/[email protected]

Expand Down Expand Up @@ -160,7 +171,7 @@ jobs:
integration:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/2xlarge
resource_class: << pipeline.parameters.twoxlarge >>
steps:
- run_serial_long:
workspace_member: .integration
Expand All @@ -169,7 +180,7 @@ jobs:
snarkos:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/2xlarge
resource_class: << pipeline.parameters.twoxlarge >>
steps:
- run_serial:
workspace_member: .
Expand All @@ -178,7 +189,7 @@ jobs:
account:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
resource_class: << pipeline.parameters.xlarge >>
steps:
- run_serial:
workspace_member: account
Expand All @@ -187,7 +198,7 @@ jobs:
cli:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
resource_class: << pipeline.parameters.xlarge >>
steps:
- run_serial:
workspace_member: cli
Expand All @@ -196,7 +207,7 @@ jobs:
display:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
resource_class: << pipeline.parameters.xlarge >>
steps:
- run_serial:
workspace_member: display
Expand All @@ -205,7 +216,7 @@ jobs:
node:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/2xlarge
resource_class: << pipeline.parameters.twoxlarge >>
steps:
- run_serial:
workspace_member: node
Expand All @@ -214,7 +225,7 @@ jobs:
node-bft:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/2xlarge
resource_class: << pipeline.parameters.twoxlarge >>
steps:
- run_serial:
workspace_member: node/bft
Expand All @@ -223,7 +234,7 @@ jobs:
node-bft-events:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/2xlarge
resource_class: << pipeline.parameters.twoxlarge >>
steps:
- run_serial:
workspace_member: node/bft/events
Expand All @@ -232,7 +243,7 @@ jobs:
node-bft-ledger-service:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
resource_class: << pipeline.parameters.xlarge >>
steps:
- run_serial:
workspace_member: node/bft/ledger-service
Expand All @@ -241,7 +252,7 @@ jobs:
node-bft-storage-service:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
resource_class: << pipeline.parameters.xlarge >>
steps:
- run_serial:
workspace_member: node/bft/storage-service
Expand All @@ -250,7 +261,7 @@ jobs:
node-cdn:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
resource_class: << pipeline.parameters.xlarge >>
steps:
- run_serial:
workspace_member: node/cdn
Expand All @@ -259,7 +270,7 @@ jobs:
node-consensus:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/2xlarge
resource_class: << pipeline.parameters.twoxlarge >>
steps:
- run_serial:
workspace_member: node/consensus
Expand All @@ -268,7 +279,7 @@ jobs:
node-rest:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
resource_class: << pipeline.parameters.xlarge >>
steps:
- run_serial:
workspace_member: node/rest
Expand All @@ -277,7 +288,7 @@ jobs:
node-router:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
resource_class: << pipeline.parameters.xlarge >>
steps:
- run_serial:
workspace_member: node/router
Expand All @@ -286,7 +297,7 @@ jobs:
node-router-messages:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
resource_class: << pipeline.parameters.xlarge >>
steps:
- run_serial:
workspace_member: node/router/messages
Expand All @@ -295,7 +306,7 @@ jobs:
node-sync:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
resource_class: << pipeline.parameters.xlarge >>
steps:
- run_serial:
workspace_member: node/sync
Expand All @@ -304,7 +315,7 @@ jobs:
node-sync-communication-service:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
resource_class: << pipeline.parameters.xlarge >>
steps:
- run_serial:
workspace_member: node/sync/communication-service
Expand All @@ -313,7 +324,7 @@ jobs:
node-sync-locators:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
resource_class: << pipeline.parameters.xlarge >>
steps:
- run_serial:
workspace_member: node/sync/locators
Expand All @@ -322,7 +333,7 @@ jobs:
node-tcp:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
resource_class: << pipeline.parameters.xlarge >>
steps:
- run_serial:
workspace_member: node/tcp
Expand All @@ -331,7 +342,7 @@ jobs:
check-fmt:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
resource_class: << pipeline.parameters.xlarge >>
steps:
- checkout
- install_rust_nightly
Expand All @@ -347,7 +358,7 @@ jobs:
check-clippy:
docker:
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/2xlarge
resource_class: << pipeline.parameters.twoxlarge >>
steps:
- checkout
- setup_environment:
Expand Down Expand Up @@ -421,4 +432,4 @@ workflows:
only:
- mainnet
jobs:
- integration
- integration

0 comments on commit 1491411

Please sign in to comment.