From 7718f1611008e3778dc0c5e7fe72784d2856e74b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Daniel=20Mondrag=C3=B3n=20Chapa?= Date: Tue, 12 Nov 2024 12:02:42 -0500 Subject: [PATCH] Chore: Attempt to upgrade to mongo 7 (#2422) * Chore: Attempt to upgrade to mongo 7 * Chore: Update configuration --- .circleci/config.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f8af9d2ed..7ce1737b5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,7 +19,7 @@ jobs: docker: - image: cimg/python:3.10.13-node - image: cimg/redis:6.2.6 - - image: mongo:6.0 + - image: mongo:7.0 command: [ --replSet, rs0 ] - image: docker.elastic.co/elasticsearch/elasticsearch:7.7.0 environment: @@ -31,12 +31,13 @@ jobs: name: Initialize replica set command: | sudo apt-get install gnupg curl - curl -fsSL https://pgp.mongodb.com/server-6.0.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-6.0.gpg --dearmor - echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-6.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list + curl -fsSL https://pgp.mongodb.com/server-7.0.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg --dearmor + echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list sudo apt-get update sudo apt-get upgrade -y - sudo apt-get install -y mongodb-org=6.0.7 + sudo apt-get install -y mongodb-org=7.0.0 mongosh mongodb://localhost:27017 --eval "rs.initiate()" + - run: name: Install openreview-py command: |