From ef77dd07b0f56ac9b771f18ab9bb36b078118bc3 Mon Sep 17 00:00:00 2001 From: Joshua Gutow Date: Thu, 9 Nov 2023 14:32:44 -0800 Subject: [PATCH 1/2] CI: Make validate-spaces quick --- .circleci/config.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1cfceec21b46..791512061bb8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -155,7 +155,11 @@ jobs: root: "." paths: - "packages/**/dist" + - "packages/contracts-bedrock/cache" + - "packages/contracts-bedrock/artifacts" - "packages/contracts-bedrock/forge-artifacts" + - "packages/contracts-bedrock/tsconfig.tsbuildinfo" + - "packages/contracts-bedrock/tsconfig.build.tsbuildinfo" docker-build: environment: @@ -450,15 +454,14 @@ jobs: contracts-bedrock-validate-spaces: docker: - image: us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest - resource_class: xlarge + resource_class: medium steps: - checkout - - attach_workspace: { at: "." } - restore_cache: name: Restore PNPM Package Cache keys: - pnpm-packages-v2-{{ checksum "pnpm-lock.yaml" }} - # populate node modules from the cache + - attach_workspace: { at: "." } - run: name: Install dependencies command: pnpm install --frozen-lockfile --prefer-offline From 09bfc795ce47e384b7c456697b4cfb0f9b32dc08 Mon Sep 17 00:00:00 2001 From: Joshua Gutow Date: Thu, 9 Nov 2023 14:34:18 -0800 Subject: [PATCH 2/2] CI: Switch to medium machines --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 791512061bb8..d18196c9af05 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -497,7 +497,7 @@ jobs: type: string docker: - image: us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest - resource_class: large + resource_class: medium steps: - checkout - attach_workspace: { at: "." } @@ -526,7 +526,7 @@ jobs: contracts-ts-tests: docker: - image: us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest - resource_class: large + resource_class: medium steps: - checkout - attach_workspace: { at: "." } @@ -548,7 +548,7 @@ jobs: sdk-next-tests: docker: - image: us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest - resource_class: large + resource_class: medium steps: - checkout - attach_workspace: { at: "." }