Details
-
Improvement
-
Resolution: Unresolved
-
Unknown
-
None
-
None
-
Not Needed
Description
(I'm not sure if DRIVERS is the appropriate JIRA, but raising here as a starter.)
Summary
Github has launched Github Actions which is rapidly becoming the #1 CI platform for open source, replacing Travis CI and many others.
Github Actions introduces the concept of "Marketplace Actions" in which you can perform a pre-test setup, such as initializing your database.
It would be great if MongoDB supported an official, open source GH Action. Currently people seem to be using this one:
https://github.com/supercharge/mongodb-github-action
As one example, Ruby is providing official Ruby actions here:
https://github.com/ruby/setup-ruby
Requirements
The action should support env variables to configure:
- MongoDB version (3.6, 4.0, etc). Note that as this is for open source projects which often must maintain legacy support, having order versions is highly desirable.
- Various topologies (standalone, replica set, sharded cluster)
In addition, it should work on various Linux, Windows, and Mac OS platforms.
The aforementioned links provide a good model of what & how to support.
Who would benefit?
- Anyone building an open-source project on top of MongoDB. There are 1000s of such projects today.
- Closed-source users using Github as their CI