ci: tune executor config to reduce CI overhaul running time

Use `xlarge` executor for bottleneck steps: `build` and `publish`
Use `small` executor for side-running steps: `packtracker` and `smoke-tests`
This commit is contained in:
Gaëtan Maisse 2020-08-29 21:24:48 +02:00
parent 0181230051
commit 52c37d6fac
No known key found for this signature in database
GPG Key ID: D934C0EF3714A8A8

View File

@ -41,7 +41,9 @@ jobs:
- app
- lib
build:
executor: sb_node
executor:
class: xlarge
name: sb_node
steps:
- checkout
- attach_workspace:
@ -69,7 +71,9 @@ jobs:
command: |
yarn run-chromatics
packtracker:
executor: sb_node
executor:
class: small
name: sb_node
steps:
- checkout
- attach_workspace:
@ -95,7 +99,9 @@ jobs:
paths:
- built-storybooks
publish:
executor: sb_node
executor:
class: xlarge
name: sb_node
steps:
- checkout
- attach_workspace:
@ -108,6 +114,9 @@ jobs:
paths:
- .verdaccio-cache
examples-v2:
executor:
class: xlarge
name: sb_node
docker:
- image: cypress/included:4.7.0
environment:
@ -192,7 +201,9 @@ jobs:
destination: cypress
smoke-tests:
executor: sb_node
executor:
class: small
name: sb_node
steps:
- checkout
- attach_workspace: