ci: reduce resource classes

This commit is contained in:
Charles Lyding 2020-01-23 12:45:30 -05:00 committed by Keen Yee Liau
parent 9bbc7c785f
commit 4cd8e9157e

View File

@ -44,6 +44,7 @@ executors:
docker: docker:
- image: circleci/node:<< parameters.nodeversion >> - image: circleci/node:<< parameters.nodeversion >>
working_directory: ~/ng working_directory: ~/ng
resource_class: small
test-executor: test-executor:
parameters: parameters:
@ -55,7 +56,7 @@ executors:
working_directory: ~/ng working_directory: ~/ng
environment: environment:
NPM_CONFIG_PREFIX: ~/.npm-global NPM_CONFIG_PREFIX: ~/.npm-global
resource_class: xlarge resource_class: large
windows-executor: windows-executor:
# Same as https://circleci.com/orbs/registry/orb/circleci/windows, but named. # Same as https://circleci.com/orbs/registry/orb/circleci/windows, but named.
@ -114,6 +115,7 @@ commands:
jobs: jobs:
setup: setup:
executor: action-executor executor: action-executor
resource_class: medium
steps: steps:
- checkout - checkout
- run: - run:
@ -174,7 +176,6 @@ jobs:
type: string type: string
default: "" default: ""
executor: test-executor executor: test-executor
resource_class: large
parallelism: 4 parallelism: 4
steps: steps:
- custom_attach_workspace - custom_attach_workspace
@ -190,7 +191,7 @@ jobs:
type: boolean type: boolean
default: false default: false
executor: test-executor executor: test-executor
parallelism: 4 parallelism: 6
steps: steps:
- custom_attach_workspace - custom_attach_workspace
- run: - run:
@ -220,6 +221,7 @@ jobs:
name: test-executor name: test-executor
environment: environment:
E2E_BROWSERS: true E2E_BROWSERS: true
resource_class: medium
steps: steps:
- custom_attach_workspace - custom_attach_workspace
- run: - run:
@ -258,7 +260,7 @@ jobs:
build-bazel: build-bazel:
executor: action-executor executor: action-executor
resource_class: xlarge resource_class: large
steps: steps:
- custom_attach_workspace - custom_attach_workspace
- setup_bazel_rbe - setup_bazel_rbe
@ -267,6 +269,7 @@ jobs:
snapshot_publish: snapshot_publish:
executor: action-executor executor: action-executor
resource_class: medium
steps: steps:
- custom_attach_workspace - custom_attach_workspace
- run: - run: