Skip to content

Commit

Permalink
Chore: Attempt to upgrade to mongo 7 (#2422)
Browse files Browse the repository at this point in the history
* Chore: Attempt to upgrade to mongo 7

* Chore: Update configuration
  • Loading branch information
carlosmondra authored Nov 12, 2024
1 parent f63f542 commit 7718f16
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: |
Expand Down

0 comments on commit 7718f16

Please sign in to comment.