quelist
705f4d6f47
Add MongoDB shell version detection to before scripts
...
Update before_script.sh and before_script_docker.sh to automatically detect and use the appropriate MongoDB shell command (mongo or mongosh) based on availability. This ensures compatibility with both:
- Legacy MongoDB versions using 'mongo' shell
- Modern MongoDB versions (5.0+) using 'mongosh'
The scripts now:
- Check for command availability
- Use the appropriate shell
- Exit with helpful error if no shell is found
2024-11-28 12:54:54 +05:30
Daniel Fitzpatrick
999f6ddd9b
add docker support
2022-10-25 11:43:05 -05:00
Michael Klishin
3a94b2a805
Move the sleep to .travis.yml
...
Since it's only really necessary in CI scenarios.
2018-12-10 15:21:42 +03:00
Chris Broome
8102c42888
TravisCI: change dist to xenial
...
- Change distribution to `xenial`
- Remove custom mongodb 4.0 installation since xenial ships with 4.0
- Increase wait time from 5 to 15 seconds
2018-12-04 23:03:14 -05:00
Michael Klishin
3757c6d915
Add a 3.6.x-compatible test seed script
2018-12-02 21:42:29 +03:00
Michael Klishin
a153eb8116
Travis: provision MongoDB 4.x
2018-12-02 21:38:56 +03:00
Michael Klishin
8879e552ef
Make before_script.sh compatible with MongoDB 4.0
...
Note that MongoDB 3.6 doesn't recognize the mechanisms field.
2018-12-02 21:38:17 +03:00
冯忠孝
c35545a97a
update sudo apt-key adv
2017-11-18 12:46:53 +08:00
冯忠孝
15831490d9
mongodb 3.4 repo url repair
2017-11-18 12:43:22 +08:00
冯忠孝
993bb038d9
ci test tip
...
No command 'lein2' found, did you mean:
test mongodb version up to 3.5
2017-11-18 12:14:55 +08:00
Michael Klishin
f24ee77730
Make this script executable
2015-09-25 01:44:48 +03:00
Michael Klishin
9928652b79
MongoDB installation script
2015-09-25 01:44:24 +03:00
Michael Klishin
49cb195e5a
Adapt before_script.sh to createUser in 3.0 GA
2015-05-11 00:04:31 +03:00
Michael Klishin
7c31e98cf3
addUser is superceded by createUser
2015-02-22 19:28:11 +03:00
Michael Klishin
5c39babf69
Attempt to fix the build
2014-11-15 20:11:08 +03:00
Michael S. Klishin
d2408faea6
Introduce monger.core/authenticate
2012-02-02 09:53:26 +04:00