From a4b08a312beeac2f21a18a518f09686e2c921dd2 Mon Sep 17 00:00:00 2001
From: Silas Davis <silas@monax.io>
Date: Thu, 22 Feb 2018 17:01:47 +0000
Subject: [PATCH] Remove checkout_code circleci step now we are vendoring

Signed-off-by: Silas Davis <silas@monax.io>
---
 .circleci/config.yml | 40 +++++-----------------------------------
 1 file changed, 5 insertions(+), 35 deletions(-)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 24d6db7a..3f8ef966 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -16,43 +16,29 @@ setup_docker: &setup_docker
 # Start of CircleCI 2.0 config
 version: 2
 jobs:
-  checkout_code:
-    <<: *defaults
-    steps:
-      - checkout
-
-      # Just persist the entire working dir (burrow checkout)
-      - persist_to_workspace:
-          root: .
-          paths:
-            - .
   test:
     <<: *defaults
     steps:
-      - attach_workspace:
-          at: .
+      - checkout
       - run: make test
 
   test_integration:
     <<: *defaults
     steps:
-      - attach_workspace:
-          at: .
+      - checkout
       - run: sudo apt-get install libgmp3-dev
       - run: make test_integration
 
   ensure_vendor:
     <<: *defaults
     steps:
-      - attach_workspace:
-          at: .
+      - checkout
       - run: make ensure_vendor
 
   build_docker:
     <<: *defaults
     steps:
-      - attach_workspace:
-          at: .
+      - checkout
         # This allows us to perform our docker builds
       - setup_remote_docker:
           <<: *setup_docker
@@ -63,7 +49,7 @@ jobs:
       - persist_to_workspace:
           root: .
           paths:
-            - db-images.tar
+            - .
 
   # Simple smoke test to ensure burrow binary has been provisioned to container
   test_docker_smoke:
@@ -94,35 +80,19 @@ workflows:
 
   test_and_release:
     jobs:
-      - checkout_code:
-          # Rather annoyingly we need to include tags_filters on all transitive
-          # dependencies if we want the deploy job to build against a version
-          # tag.
-          # In contract jobs build against all branches by default
-          filters:
-            <<: *tags_filters
-            
       - test:
-          requires:
-            - checkout_code
           filters:
             <<: *tags_filters
 
       - test_integration:
-          requires:
-            - checkout_code
           filters:
             <<: *tags_filters
 
       - ensure_vendor:
-          requires:
-            - checkout_code
           filters:
             <<: *tags_filters
 
       - build_docker:
-          requires:
-            - checkout_code
           filters:
             <<: *tags_filters
 
-- 
GitLab