Skip to content

Commit

Permalink
ci: Adding node-linux-medium executor (#25476)
Browse files Browse the repository at this point in the history
We want to monitor these changes over the next week(s) to make sure we are not increasing the runtime of CI jobs
  • Loading branch information
vthomas13 authored Jun 24, 2024
1 parent b4b06da commit 230dec7
Showing 1 changed file with 34 additions and 28 deletions.
62 changes: 34 additions & 28 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ executors:
resource_class: medium
environment:
NODE_OPTIONS: --max_old_space_size=3072
node-linux-medium:
machine:
image: ubuntu-2404:2024.05.1
resource_class: medium #// linux medium: 2 CPUs, 7.5 GB RAM, 10 credits/min
environment:
NODE_OPTIONS: --max_old_space_size=6144
node-browsers-medium-plus:
docker:
- image: cimg/node:20.11-browsers
Expand Down Expand Up @@ -497,10 +503,10 @@ jobs:
command: .circleci/scripts/check-working-tree.sh

prep-build:
executor: node-browsers-medium-plus
executor: node-linux-medium
steps:
- run: *shallow-git-clone
- run: sudo corepack enable
- run: corepack enable
- attach_workspace:
at: .
- when:
Expand Down Expand Up @@ -534,10 +540,10 @@ jobs:
- builds

prep-build-mv2:
executor: node-browsers-medium-plus
executor: node-linux-medium
steps:
- run: *shallow-git-clone
- run: sudo corepack enable
- run: corepack enable
- attach_workspace:
at: .
- when:
Expand Down Expand Up @@ -577,10 +583,10 @@ jobs:
- builds-mv2

prep-build-mmi:
executor: node-browsers-medium-plus
executor: node-linux-medium
steps:
- run: *shallow-git-clone
- run: sudo corepack enable
- run: corepack enable
- attach_workspace:
at: .
- when:
Expand Down Expand Up @@ -621,10 +627,10 @@ jobs:
destination: builds-mmi

prep-build-flask:
executor: node-browsers-medium-plus
executor: node-linux-medium
steps:
- run: *shallow-git-clone
- run: sudo corepack enable
- run: corepack enable
- attach_workspace:
at: .
- when:
Expand Down Expand Up @@ -662,10 +668,10 @@ jobs:
- builds-flask

prep-build-flask-mv2:
executor: node-browsers-medium-plus
executor: node-linux-medium
steps:
- run: *shallow-git-clone
- run: sudo corepack enable
- run: corepack enable
- attach_workspace:
at: .
- when:
Expand Down Expand Up @@ -703,10 +709,10 @@ jobs:
- builds-flask-mv2

prep-build-test-flask:
executor: node-browsers-medium-plus
executor: node-linux-medium
steps:
- run: *shallow-git-clone
- run: sudo corepack enable
- run: corepack enable
- attach_workspace:
at: .
- run:
Expand All @@ -725,10 +731,10 @@ jobs:
- builds-test-flask

prep-build-test-flask-mv2:
executor: node-browsers-medium-plus
executor: node-linux-medium
steps:
- run: *shallow-git-clone
- run: sudo corepack enable
- run: corepack enable
- attach_workspace:
at: .
- run:
Expand All @@ -747,10 +753,10 @@ jobs:
- builds-test-flask-mv2

prep-build-test-mmi:
executor: node-browsers-medium-plus
executor: node-linux-medium
steps:
- run: *shallow-git-clone
- run: sudo corepack enable
- run: corepack enable
- attach_workspace:
at: .
- run:
Expand All @@ -769,10 +775,10 @@ jobs:
- builds-test-mmi

prep-build-test-mmi-playwright:
executor: node-browsers-medium-plus
executor: node-linux-medium
steps:
- run: *shallow-git-clone
- run: sudo corepack enable
- run: corepack enable
- attach_workspace:
at: .
- run: *check-mmi-optional
Expand All @@ -798,10 +804,10 @@ jobs:
destination: builds-test-mmi-playwright

prep-build-test:
executor: node-browsers-medium-plus
executor: node-linux-medium
steps:
- run: *shallow-git-clone
- run: sudo corepack enable
- run: corepack enable
- attach_workspace:
at: .
- run:
Expand All @@ -822,10 +828,10 @@ jobs:
- builds-test

prep-build-test-mv2:
executor: node-browsers-medium-plus
executor: node-linux-medium
steps:
- run: *shallow-git-clone
- run: sudo corepack enable
- run: corepack enable
- attach_workspace:
at: .
- run:
Expand All @@ -846,10 +852,10 @@ jobs:
- builds-test-mv2

prep-build-confirmation-redesign-test:
executor: node-browsers-medium-plus
executor: node-linux-medium
steps:
- run: *shallow-git-clone
- run: sudo corepack enable
- run: corepack enable
- attach_workspace:
at: .
- run:
Expand All @@ -868,10 +874,10 @@ jobs:
- builds-test-confirmations

prep-build-confirmation-redesign-test-mv2:
executor: node-browsers-medium-plus
executor: node-linux-medium
steps:
- run: *shallow-git-clone
- run: sudo corepack enable
- run: corepack enable
- attach_workspace:
at: .
- run:
Expand All @@ -890,10 +896,10 @@ jobs:
- builds-test-confirmations-mv2

prep-build-storybook:
executor: node-browsers-medium-plus
executor: node-linux-medium
steps:
- run: *shallow-git-clone
- run: sudo corepack enable
- run: corepack enable
- attach_workspace:
at: .
- run:
Expand Down

0 comments on commit 230dec7

Please sign in to comment.