From 52c37d6facad88e8ae754c8f280cb425e0cc4b9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Maisse?= Date: Sat, 29 Aug 2020 21:24:48 +0200 Subject: [PATCH] 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` --- .circleci/config.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 944c0aaa79f..f10ed5a31c7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: