Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Migrate from mongo to mongosh #245

Merged
merged 9 commits into from
Dec 3, 2023
Merged

ci: Migrate from mongo to mongosh #245

merged 9 commits into from
Dec 3, 2023

Conversation

theofidry
Copy link
Owner

Starting from Mongodb version 6.0 mongo was replaced by mongosh

@ghostwriter
Copy link

Ubuntu removed mongo from their default installed database packages on Ubuntu 22.04

    - name: Install mongosh
        run: |
          sudo apt-get update
          sudo apt-get install -y wget gnupg
          wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | sudo apt-key add -
          echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list
          sudo apt-get update
          sudo apt-get install -y mongodb-mongosh

@theofidry
Copy link
Owner Author

Thanks @ghostwriter

@theofidry theofidry merged commit a0354bd into master Dec 3, 2023
3 checks passed
@theofidry theofidry deleted the ci/mongo-cmd branch December 3, 2023 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants