From e5ebe0e32a1e01738b332f08fbc5de0066569993 Mon Sep 17 00:00:00 2001 From: Gabriel Engel Date: Tue, 13 Nov 2018 18:59:00 -0200 Subject: [PATCH] Test using mongo 4.0 (#12618) [IMPROVE] CircleCI to use MongoDB 4.0 for testing --- .circleci/config.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 65979bbdf961..5256cce9b9a2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -136,8 +136,8 @@ jobs: <<: *defaults docker: - image: circleci/node:8.9-browsers - - image: mongo:3.4 - command: [mongod, --nojournal, --noprealloc, --smallfiles, --replSet=rs0] + - image: mongo:4.0 + command: [mongod, --noprealloc, --smallfiles, --replSet=rs0] environment: TEST_MODE: "true" @@ -154,9 +154,9 @@ jobs: name: Install dependencies command: | wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - - sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 + sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4 echo "deb [ arch=amd64 ] http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google.list - echo "deb [ arch=amd64 ] http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list + echo "deb [ arch=amd64 ] http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list sudo apt-get update sudo apt-get install -y mongodb-org-shell google-chrome-stable @@ -183,7 +183,7 @@ jobs: <<: *defaults docker: - image: circleci/node:8.9-browsers - - image: circleci/mongo:3.4 + - image: circleci/mongo:4.0 environment: TEST_MODE: "true" @@ -199,9 +199,9 @@ jobs: name: Install dependencies command: | wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - - sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 + sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4 echo "deb [ arch=amd64 ] http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google.list - echo "deb [ arch=amd64 ] http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list + echo "deb [ arch=amd64 ] http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list sudo apt-get update sudo apt-get install -y mongodb-org-shell google-chrome-stable