mirror of
https://github.com/facebook/react-native.git
synced 2024-11-22 06:29:46 +00:00
Bumping the resource class for Analyze-pr to Medium (#39504)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39504 We are receiving "killed" signals in CircleCI for the analyze_pr jobs. Looking at the doc, it seems that it is due to us allocating to much memory. As a mitigation, let's bumpt the executor to Medium. ## Changelog: [Internal] - Bump executors for Analyze-PR to Medium to avoid choking ## Facebook: Small machines consume 5 cred/min. Medium consume 10. On average, the job takes 7 min to complete. So we are paying 35 credits per job. We will be paying 70 creds. The upper bound cost is $ 0.042 per execution. In the past month we were running 1820 jobs. We will be spending 1820 * 0.042 = $76.44 per month, rather than $38.22. This is roughly $500/year. We can fix the script with a different approach in the future. Reviewed By: cortinico, dmytrorykun Differential Revision: D49368118 fbshipit-source-id: 7e04e4be79b0f07d02338834e543b707c93c4363
This commit is contained in:
parent
a24990c878
commit
47de1f6e56
@ -18,6 +18,11 @@ executors:
|
||||
docker:
|
||||
- image: *nodelts_browser_image
|
||||
resource_class: "small"
|
||||
node-browsers-medium:
|
||||
<<: *defaults
|
||||
docker:
|
||||
- image: *nodelts_browser_image
|
||||
resource_class: "medium"
|
||||
reactnativeandroid-xlarge:
|
||||
<<: *android-defaults
|
||||
resource_class: "xlarge"
|
||||
|
@ -9,7 +9,7 @@ jobs:
|
||||
# Issues will be posted to the PR itself via GitHub bots.
|
||||
# This workflow should only fail if the bots fail to run.
|
||||
analyze_pr:
|
||||
executor: node-browsers-small
|
||||
executor: node-browsers-medium
|
||||
steps:
|
||||
- checkout
|
||||
- run_yarn
|
||||
|
Loading…
Reference in New Issue
Block a user