Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuki-inoue/gem-dockerci
https://github.com/yuki-inoue/gem-dockerci
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/yuki-inoue/gem-dockerci
- Owner: Yuki-Inoue
- Created: 2019-03-24T08:03:03.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-15T04:25:44.000Z (over 5 years ago)
- Last Synced: 2024-12-30T08:11:48.625Z (15 days ago)
- Language: Ruby
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dockerci
Read configuration of `config/database.yml`, use that information to launch a circleci mysql docker image.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'dockerci'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install dockerci
## Usage
Simply run:
```terminal
bundle exec rake dockerci:mysql
```It will load your env's database.yml, and using that information, launches the circleci/mysql image.
If you want to specify the launching version, then in your `config/application.rb`, put following code:
```ruby
config.dockerci_mysql_version = '5.7'
```## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/Yuki-Inoue/dockerci.