This is an automated email from the ASF dual-hosted git repository.
hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-mongodb-adapter.git
The following commit(s) were added to refs/heads/master by this push:
new 4ffc5b6 ci: use MongoDB 7.0 since 8.0 refuses to start on the runner
kernel
4ffc5b6 is described below
commit 4ffc5b6002e7e33f5ab38be31108cb6816968cd3
Author: Yang Luo <[email protected]>
AuthorDate: Thu Nov 5 01:17:24 2026 +0800
ci: use MongoDB 7.0 since 8.0 refuses to start on the runner kernel
---
.github/workflows/ci.yml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ee75d76..eb4d984 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -10,9 +10,11 @@ jobs:
test:
runs-on: ubuntu-latest
+ # MongoDB 8.0 refuses to start on the runner's Linux kernel (6.19+),
+ # see https://jira.mongodb.org/browse/SERVER-121912.
services:
mongodb:
- image: mongo:8.0
+ image: mongo:7.0
ports:
- 27017:27017
@@ -31,7 +33,7 @@ jobs:
- name: Start MongoDB replica set
run: |
set -euo pipefail
- docker run -d --name mongo-rs -p 42069:42069 mongo:8.0 \
+ docker run -d --name mongo-rs -p 42069:42069 mongo:7.0 \
mongod --replSet test-rs --port 42069 --bind_ip_all
echo "Waiting for mongod to accept connections..."
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]