Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Adding node-linux-medium executor #25476

Merged
merged 3 commits into from
Jun 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious that we're allowing for a larger heap here than on medium+. I guess there should be adequate room though, as long as we're not running multiple Node.js processes in one job.

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