From 97f1aef706ff6ee845f88b720561bed88d920820 Mon Sep 17 00:00:00 2001 From: Trezy Date: Sat, 1 Dec 2018 12:23:02 -0600 Subject: [PATCH] ci: Remove caching (temporarily) I finally figured it out. Restoring the cache was trying to restore the cache from an older build that used a different image in which the root user was the one doing all the tasks. I'm pushing a build that doesn't restore the cache, then I'll add those steps back in after the next build. --- .circleci/config.yml | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 35e2082..546eeff 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,13 +15,13 @@ jobs: <<: *defaults steps: - - restore_cache: - name: Restore Repository Cache - keys: - - repo-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }} - - repo-{{ .Branch }} - - repo-master - - repo- + # - restore_cache: + # name: Restore Repository Cache + # keys: + # - repo-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }} + # - repo-{{ .Branch }} + # - repo-master + # - repo- - checkout @@ -43,11 +43,11 @@ jobs: - attach_workspace: at: . - - restore_cache: - name: Restore npm Package Cache - keys: - - npm-{{ checksum "package-lock.json" }} - - npm- + # - restore_cache: + # name: Restore npm Package Cache + # keys: + # - npm-{{ checksum "package-lock.json" }} + # - npm- - run: name: Install Dependencies @@ -71,13 +71,13 @@ jobs: - attach_workspace: at: . - - restore_cache: - name: Restore Build Cache - keys: - - build-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }} - - build-{{ .Branch }} - - build-master - - build- + # - restore_cache: + # name: Restore Build Cache + # keys: + # - build-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }} + # - build-{{ .Branch }} + # - build-master + # - build- # - run: # name: Build the Application