10gen / mongo-orchestration

Apache License 2.0
7 stars 11 forks source link

Starting a replica set on Travis failed #249

Closed sandrokeil closed 6 years ago

sandrokeil commented 6 years ago

I've tried different replica set config files without success. Most of the files produces the error id field not found in configuration file. Even if I set the id in the configuration file, the HTTP response is 404. Are there any examples how to start a MongoDB replica set in Travis via .travis.yml?

Here is the Travis report and here the travis.yml file.

ShaneHarvey commented 6 years ago

Hi @sandrokeil, please check out the example configurations in https://github.com/10gen/mongo-orchestration/tree/master/mongo_orchestration/configurations

You can also see how the PHP driver uses mongo-orchestration on Travis: https://github.com/mongodb/mongo-php-driver/blob/master/.travis.yml