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 |
||
|---|---|---|
| .. | ||
| before_script.sh | ||
| before_script_docker.sh | ||
| before_script_server_3.6.x.sh | ||
| install_mongodb.sh | ||