From 165d5a2547bfc5ff22cd98950bca7fcddb7dea9d Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Tue, 15 Nov 2022 16:17:59 -0500 Subject: [PATCH] build: remove out cache (#36360) Co-authored-by: Samuel Attard Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Samuel Attard --- .circleci/config/base.yml | 43 --------------------------------------- 1 file changed, 43 deletions(-) diff --git a/.circleci/config/base.yml b/.circleci/config/base.yml index 5bf539dfb618e..532b6a90311f2 100644 --- a/.circleci/config/base.yml +++ b/.circleci/config/base.yml @@ -906,14 +906,6 @@ step-maybe-restore-git-cache: &step-maybe-restore-git-cache - v1-git-cache-{{ checksum "src/electron/.circle-sync-done" }} name: Conditionally restoring git cache -step-restore-out-cache: &step-restore-out-cache - restore_cache: - paths: - - ./src/out/Default - keys: - - v10-out-cache-{{ checksum "src/electron/.depshash" }}-{{ checksum "src/electron/.depshash-target" }} - name: Restoring out cache - step-set-git-cache-path: &step-set-git-cache-path run: name: Set GIT_CACHE_PATH to make gclient to use the cache @@ -931,13 +923,6 @@ step-save-git-cache: &step-save-git-cache key: v1-git-cache-{{ checksum "src/electron/.circle-sync-done" }}-{{ checksum "src/electron/DEPS" }} name: Persisting git cache -step-save-out-cache: &step-save-out-cache - save_cache: - paths: - - ./src/out/Default - key: v10-out-cache-{{ checksum "src/electron/.depshash" }}-{{ checksum "src/electron/.depshash-target" }} - name: Persisting out cache - step-run-electron-only-hooks: &step-run-electron-only-hooks run: name: Run Electron Only Hooks @@ -1357,9 +1342,6 @@ commands: build: type: boolean default: true - use-out-cache: - type: boolean - default: true restore-src-cache: type: boolean default: true @@ -1482,10 +1464,6 @@ commands: - *step-delete-git-directories # Electron app - - when: - condition: << parameters.use-out-cache >> - steps: - - *step-restore-out-cache - *step-gn-gen-default - *step-electron-build - *step-maybe-electron-dist-strip @@ -1528,22 +1506,6 @@ commands: condition: << parameters.build >> steps: - move_and_store_all_artifacts - - run: - name: Remove the big things on macOS, this seems to be better on average - command: | - if [ "`uname`" == "Darwin" ]; then - mkdir -p src/out/Default - cd src/out/Default - find . -type f -size +50M -delete - mkdir -p gen/electron - cd gen/electron - # These files do not seem to like being in a cache, let us remove them - find . -type f -name '*_pkg_info' -delete - fi - - when: - condition: << parameters.use-out-cache >> - steps: - - *step-save-out-cache - *step-maybe-notify-slack-failure @@ -1697,7 +1659,6 @@ jobs: persist: true checkout: false checkout-and-assume-cache: true - use-out-cache: false linux-x64-testing-asan: executor: @@ -1714,7 +1675,6 @@ jobs: - electron-build: persist: true checkout: true - use-out-cache: false build-nonproprietary-ffmpeg: false linux-x64-testing-no-run-as-node: @@ -1731,7 +1691,6 @@ jobs: - electron-build: persist: false checkout: true - use-out-cache: false linux-x64-testing-gn-check: executor: @@ -1782,7 +1741,6 @@ jobs: persist: true checkout: false checkout-and-assume-cache: true - use-out-cache: false linux-arm-publish: executor: @@ -1825,7 +1783,6 @@ jobs: persist: true checkout: false checkout-and-assume-cache: true - use-out-cache: false linux-arm64-testing-gn-check: executor: