mongodb-github-action
mongodb-github-action copied to clipboard
Use MongoDB in GitHub Actions
I know we can't specify initial user **and** use replicaset at the same time. After adding a test user, how do we restart mongo with --auth mode enabled? ``` -...
I'm trying to replace my old mongodb `services` setup with `mongodb-github-action` because it gives me an easy way to spin up a replica set. Here's my old setup: ``` services:...
How can I replicate this: ```services: mongodb: image: mongo env: MONGO_INITDB_ROOT_USERNAME: test MONGO_INITDB_ROOT_PASSWORD: password MONGO_INITDB_DATABASE: test options: >- --health-cmd mongo --health-interval 10s --health-timeout 5s --health-retries 5 ports: - 27017:27017 specifically...

Thank you for all the good work on this, highly appreciated 🙏🏾 My use case is to connect to the replica set from inside a [service container ](https://docs.github.com/en/actions/using-containerized-services/about-service-containers). I can't...
I added `supercharge/[email protected]` in my Spring project directory `.github/workflows/maven.yaml` like that: ``` ... jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Start MongoDB uses: supercharge/[email protected] with: mongodb-version: '6.0'...
We're using this step in our gh actions and it failed due to the following error. It looks like we're unauthenticated with docker when pulling the mongodb lib, and I...
Hello Team, thanks for the action to run MongoDB with the Linux servers. This action is very helpful to make integration tests with **replica sets.** Is it possible to extend...
I have a github actions workflow that executes mongodb-github-action on about 40-50 concurrent jobs in a single workflow. My setup related to mongodb-github-action is pretty simple, it's a single node...