From 95599c54e7c4f6aaf226c5c8ce087d7c5151110e Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Mon, 3 Feb 2020 12:45:49 +0100 Subject: [PATCH] Run tests in machine executor --- .circleci/config.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3f76b1e6..92799a1e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -32,12 +32,15 @@ jobs: - run: command: yarn build test: - docker: - - image: circleci/node:10 + machine: + # We can't use a containerized environment since it requires remote docker to start custom containers. + # However, we can't access the remote docker's network from the primary container. This is a + # feature, as documented in https://circleci.com/docs/2.0/building-docker-images/#separation-of-environments + # As a consequence, we cannot use the circleci CLI for this job because "You cannot use the machine + # executor in local jobs." (https://circleci.com/docs/2.0/local-cli/#limitations-of-running-jobs-locally) + image: ubuntu-1604:201903-01 steps: - checkout - - setup_remote_docker: - docker_layer_caching: false - run: name: Version information command: echo "node $(node --version)"; echo "yarn $(yarn --version)"