mcrain 0.8.3 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mcrain/configuration.rb +2 -2
- data/lib/mcrain/version.rb +1 -1
- metadata +3 -4
- data/.circleci/config.yml +0 -57
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 339765a35beeab2ffad8a971e16f3cc8e21460374e5b663f87c2d6d455d12a44
|
4
|
+
data.tar.gz: ddb34c0413484a816e2c65b2720de44aea4a89f14f3752df1b3caea5f8f15c84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cf9ebd19c312d03d73f02e952761ea81b4a28863ef9962465e5b7ff1144e75a46b510376f91599a36a54aafc3e6432d82fae211f7240800eeca6aa2b6d854a8
|
7
|
+
data.tar.gz: 5165fd35e975cf2017c137eb660ab14f986f9c84278c058abd662abfa4b16a269e136fb0a6e1aba89ac4b1bbd2b60b6bc3600189366793f0524cbda3b2e47282
|
data/lib/mcrain/configuration.rb
CHANGED
@@ -5,8 +5,8 @@ module Mcrain
|
|
5
5
|
class Configuration
|
6
6
|
DEFAULT_IMAGES = {
|
7
7
|
mysql: "mysql:5.5",
|
8
|
-
redis: "redis:2.8
|
9
|
-
rabbitmq: "rabbitmq:3.
|
8
|
+
redis: "redis:2.8",
|
9
|
+
rabbitmq: "rabbitmq:3.5-management",
|
10
10
|
riak: "hectcastro/riak",
|
11
11
|
hbase: "nerdammer/hbase:latest",
|
12
12
|
}.freeze
|
data/lib/mcrain/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mcrain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- akm
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logger_pipe
|
@@ -102,7 +102,6 @@ executables:
|
|
102
102
|
extensions: []
|
103
103
|
extra_rdoc_files: []
|
104
104
|
files:
|
105
|
-
- ".circleci/config.yml"
|
106
105
|
- ".gitignore"
|
107
106
|
- ".gitmodules"
|
108
107
|
- ".rspec"
|
@@ -147,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
146
|
- !ruby/object:Gem::Version
|
148
147
|
version: '0'
|
149
148
|
requirements: []
|
150
|
-
rubygems_version: 3.1.
|
149
|
+
rubygems_version: 3.1.4
|
151
150
|
signing_key:
|
152
151
|
specification_version: 4
|
153
152
|
summary: mcrain supports to run docker container for test.
|
data/.circleci/config.yml
DELETED
@@ -1,57 +0,0 @@
|
|
1
|
-
version: 2
|
2
|
-
jobs:
|
3
|
-
build:
|
4
|
-
working_directory: ~/mcrain
|
5
|
-
|
6
|
-
## see https://circleci.com/docs/2.0/executor-types/#machine-executor-overview
|
7
|
-
machine:
|
8
|
-
image: circleci/classic:201711-01
|
9
|
-
|
10
|
-
steps:
|
11
|
-
- checkout
|
12
|
-
|
13
|
-
- run:
|
14
|
-
name: Check docker version
|
15
|
-
command: |
|
16
|
-
set -x
|
17
|
-
docker version
|
18
|
-
docker info
|
19
|
-
|
20
|
-
- run:
|
21
|
-
name: Check ruby version
|
22
|
-
command: |
|
23
|
-
set -x
|
24
|
-
rvm version
|
25
|
-
rvm list
|
26
|
-
ruby -v
|
27
|
-
gem --version
|
28
|
-
gem env
|
29
|
-
bundle --version
|
30
|
-
|
31
|
-
- run:
|
32
|
-
name: Install dependencies
|
33
|
-
command: |
|
34
|
-
sudo apt-get update
|
35
|
-
sudo apt-get install -y --no-install-recommends libmysqlclient-dev
|
36
|
-
|
37
|
-
- run:
|
38
|
-
name: Open docker TCP port
|
39
|
-
command: |
|
40
|
-
set -x
|
41
|
-
echo 'DOCKER_OPTS="$DOCKER_OPTS -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock"' | sudo tee -a /etc/default/docker
|
42
|
-
sudo service docker restart
|
43
|
-
|
44
|
-
- run: docker pull mysql:5.5
|
45
|
-
- run: docker pull redis:2.8.19
|
46
|
-
- run: docker pull rabbitmq:3.4.4-management
|
47
|
-
- run: docker pull hectcastro/riak:latest
|
48
|
-
|
49
|
-
- run: bundle install --jobs=4 --path=vendor/bundle
|
50
|
-
|
51
|
-
- run:
|
52
|
-
name: test
|
53
|
-
command: bundle exec rake spec
|
54
|
-
environment:
|
55
|
-
DOCKER_HOST: tcp://127.0.0.1:2375
|
56
|
-
|
57
|
-
|