theofidry / AliceDataFixtures

Nelmio Alice extension to persist the loaded fixtures.
MIT License
307 stars 70 forks source link

ci: Migrate from mongo to mongosh #245

Closed theofidry closed 9 months ago

theofidry commented 9 months ago

Starting from Mongodb version 6.0 mongo was replaced by mongosh

ghostwriter commented 9 months ago

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 commented 9 months ago

Thanks @ghostwriter