Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boly38/action-mongo-tools
add mongo shell and/or mongo tools to github action (Ubuntu-2204 runner)
https://github.com/boly38/action-mongo-tools
Last synced: about 1 month ago
JSON representation
add mongo shell and/or mongo tools to github action (Ubuntu-2204 runner)
- Host: GitHub
- URL: https://github.com/boly38/action-mongo-tools
- Owner: boly38
- License: mit
- Created: 2022-12-11T12:29:50.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-11T14:31:49.000Z (almost 2 years ago)
- Last Synced: 2024-10-14T09:43:24.784Z (about 1 month ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# action-mongo-tools
Add mongo shell and/or mongo tools to github actions- Ubuntu-22.04 [runner](https://github.com/actions/runner-images/tree/main/images/linux) comes without mongo binaries.
In order to add mongosh and mongodump/mongorestore, you could add this action.
Example:
```yaml
- name: Setup mongo tools
uses: boly38/action-mongo-tools@stable
```You could select which one to install using parameters:
Example that will install `mongosh` only
```yaml
- name: Setup mongo tools - only shell
uses: boly38/action-mongo-tools@stable
with:
mongo-shell: "true"
mongo-tools: "false"
```
NB: `true` is default value for parameters so could be omitted.Another working sample: cf. [examples](./.github/workflows/)
# contributing
PRs extending the functionality are welcome and will be reviewed.