beaker-docker 1.4.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.editorconfig +10 -0
- data/.github/workflows/test.yml +30 -60
- data/.gitignore +1 -0
- data/.rubocop.yml +5 -25
- data/.rubocop_todo.yml +9 -706
- data/.simplecov +2 -0
- data/CHANGELOG.md +51 -1
- data/Gemfile +3 -5
- data/Rakefile +37 -137
- data/acceptance/tests/00_default_spec.rb +5 -4
- data/beaker-docker.gemspec +21 -20
- data/bin/beaker-docker +8 -10
- data/lib/beaker/hypervisor/docker.rb +190 -217
- data/lib/beaker-docker/version.rb +3 -1
- data/lib/beaker-docker.rb +1 -0
- data/spec/beaker/hypervisor/docker_spec.rb +371 -389
- data/spec/spec_helper.rb +6 -5
- metadata +34 -38
- data/Gemfile.local +0 -3
data/spec/spec_helper.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
2
3
|
require 'beaker'
|
3
4
|
|
4
5
|
begin
|
@@ -6,17 +7,17 @@ begin
|
|
6
7
|
require 'simplecov-console'
|
7
8
|
require 'codecov'
|
8
9
|
rescue LoadError
|
10
|
+
# Do nothing if no required gem installed
|
9
11
|
else
|
10
12
|
SimpleCov.start do
|
11
13
|
track_files 'lib/**/*.rb'
|
12
14
|
|
13
15
|
add_filter '/spec'
|
14
|
-
|
15
|
-
enable_coverage :branch
|
16
|
-
|
17
16
|
# do not track vendored files
|
18
17
|
add_filter '/vendor'
|
19
18
|
add_filter '/.vendor'
|
19
|
+
|
20
|
+
enable_coverage :branch
|
20
21
|
end
|
21
22
|
|
22
23
|
SimpleCov.formatters = [
|
@@ -25,7 +26,7 @@ else
|
|
25
26
|
]
|
26
27
|
end
|
27
28
|
|
28
|
-
Dir
|
29
|
+
Dir['./lib/beaker/hypervisor/*.rb'].sort.each { |file| require file }
|
29
30
|
|
30
31
|
# setup & require beaker's spec_helper.rb
|
31
32
|
beaker_gem_spec = Gem::Specification.find_by_name('beaker')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker-docker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vox Pupuli
|
@@ -11,78 +11,70 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2023-03-
|
14
|
+
date: 2023-03-28 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
|
-
name:
|
17
|
+
name: fakefs
|
18
18
|
requirement: !ruby/object:Gem::Requirement
|
19
19
|
requirements:
|
20
|
-
- - "
|
20
|
+
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '3
|
23
|
-
|
24
|
-
prerelease: false
|
25
|
-
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
requirements:
|
27
|
-
- - "~>"
|
22
|
+
version: '1.3'
|
23
|
+
- - "<"
|
28
24
|
- !ruby/object:Gem::Version
|
29
25
|
version: '3.0'
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: rspec-its
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
requirements:
|
34
|
-
- - "~>"
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: '1.3'
|
37
26
|
type: :development
|
38
27
|
prerelease: false
|
39
28
|
version_requirements: !ruby/object:Gem::Requirement
|
40
29
|
requirements:
|
41
|
-
- - "
|
30
|
+
- - ">="
|
42
31
|
- !ruby/object:Gem::Version
|
43
32
|
version: '1.3'
|
33
|
+
- - "<"
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '3.0'
|
44
36
|
- !ruby/object:Gem::Dependency
|
45
|
-
name:
|
37
|
+
name: rake
|
46
38
|
requirement: !ruby/object:Gem::Requirement
|
47
39
|
requirements:
|
48
40
|
- - "~>"
|
49
41
|
- !ruby/object:Gem::Version
|
50
|
-
version: '
|
42
|
+
version: '13.0'
|
51
43
|
type: :development
|
52
44
|
prerelease: false
|
53
45
|
version_requirements: !ruby/object:Gem::Requirement
|
54
46
|
requirements:
|
55
47
|
- - "~>"
|
56
48
|
- !ruby/object:Gem::Version
|
57
|
-
version: '
|
49
|
+
version: '13.0'
|
58
50
|
- !ruby/object:Gem::Dependency
|
59
|
-
name:
|
51
|
+
name: rspec
|
60
52
|
requirement: !ruby/object:Gem::Requirement
|
61
53
|
requirements:
|
62
54
|
- - "~>"
|
63
55
|
- !ruby/object:Gem::Version
|
64
|
-
version: '
|
56
|
+
version: '3.0'
|
65
57
|
type: :development
|
66
58
|
prerelease: false
|
67
59
|
version_requirements: !ruby/object:Gem::Requirement
|
68
60
|
requirements:
|
69
61
|
- - "~>"
|
70
62
|
- !ruby/object:Gem::Version
|
71
|
-
version: '
|
63
|
+
version: '3.0'
|
72
64
|
- !ruby/object:Gem::Dependency
|
73
65
|
name: rubocop
|
74
66
|
requirement: !ruby/object:Gem::Requirement
|
75
67
|
requirements:
|
76
68
|
- - "~>"
|
77
69
|
- !ruby/object:Gem::Version
|
78
|
-
version: 1.
|
70
|
+
version: 1.48.1
|
79
71
|
type: :development
|
80
72
|
prerelease: false
|
81
73
|
version_requirements: !ruby/object:Gem::Requirement
|
82
74
|
requirements:
|
83
75
|
- - "~>"
|
84
76
|
- !ruby/object:Gem::Version
|
85
|
-
version: 1.
|
77
|
+
version: 1.48.1
|
86
78
|
- !ruby/object:Gem::Dependency
|
87
79
|
name: rubocop-performance
|
88
80
|
requirement: !ruby/object:Gem::Requirement
|
@@ -126,19 +118,19 @@ dependencies:
|
|
126
118
|
- !ruby/object:Gem::Version
|
127
119
|
version: '1.44'
|
128
120
|
- !ruby/object:Gem::Dependency
|
129
|
-
name:
|
121
|
+
name: beaker
|
130
122
|
requirement: !ruby/object:Gem::Requirement
|
131
123
|
requirements:
|
132
124
|
- - "~>"
|
133
125
|
- !ruby/object:Gem::Version
|
134
|
-
version:
|
126
|
+
version: '5.0'
|
135
127
|
type: :runtime
|
136
128
|
prerelease: false
|
137
129
|
version_requirements: !ruby/object:Gem::Requirement
|
138
130
|
requirements:
|
139
131
|
- - "~>"
|
140
132
|
- !ruby/object:Gem::Version
|
141
|
-
version:
|
133
|
+
version: '5.0'
|
142
134
|
- !ruby/object:Gem::Dependency
|
143
135
|
name: docker-api
|
144
136
|
requirement: !ruby/object:Gem::Requirement
|
@@ -154,20 +146,20 @@ dependencies:
|
|
154
146
|
- !ruby/object:Gem::Version
|
155
147
|
version: '2.1'
|
156
148
|
- !ruby/object:Gem::Dependency
|
157
|
-
name:
|
149
|
+
name: stringify-hash
|
158
150
|
requirement: !ruby/object:Gem::Requirement
|
159
151
|
requirements:
|
160
|
-
- - "
|
152
|
+
- - "~>"
|
161
153
|
- !ruby/object:Gem::Version
|
162
|
-
version:
|
154
|
+
version: 0.0.0
|
163
155
|
type: :runtime
|
164
156
|
prerelease: false
|
165
157
|
version_requirements: !ruby/object:Gem::Requirement
|
166
158
|
requirements:
|
167
|
-
- - "
|
159
|
+
- - "~>"
|
168
160
|
- !ruby/object:Gem::Version
|
169
|
-
version:
|
170
|
-
description:
|
161
|
+
version: 0.0.0
|
162
|
+
description: Allows running Beaker tests using Docker
|
171
163
|
email:
|
172
164
|
- voxpupuli@groups.io
|
173
165
|
executables:
|
@@ -175,6 +167,7 @@ executables:
|
|
175
167
|
extensions: []
|
176
168
|
extra_rdoc_files: []
|
177
169
|
files:
|
170
|
+
- ".editorconfig"
|
178
171
|
- ".github/dependabot.yml"
|
179
172
|
- ".github/workflows/release.yml"
|
180
173
|
- ".github/workflows/test.yml"
|
@@ -184,7 +177,6 @@ files:
|
|
184
177
|
- ".simplecov"
|
185
178
|
- CHANGELOG.md
|
186
179
|
- Gemfile
|
187
|
-
- Gemfile.local
|
188
180
|
- LICENSE
|
189
181
|
- README.md
|
190
182
|
- Rakefile
|
@@ -193,6 +185,7 @@ files:
|
|
193
185
|
- beaker-docker.gemspec
|
194
186
|
- bin/beaker-docker
|
195
187
|
- docker.md
|
188
|
+
- lib/beaker-docker.rb
|
196
189
|
- lib/beaker-docker/version.rb
|
197
190
|
- lib/beaker/hypervisor/docker.rb
|
198
191
|
- spec/beaker/hypervisor/docker_spec.rb
|
@@ -209,7 +202,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
209
202
|
requirements:
|
210
203
|
- - ">="
|
211
204
|
- !ruby/object:Gem::Version
|
212
|
-
version: '
|
205
|
+
version: '2.7'
|
206
|
+
- - "<"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '4'
|
213
209
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
214
210
|
requirements:
|
215
211
|
- - ">="
|
@@ -219,5 +215,5 @@ requirements: []
|
|
219
215
|
rubygems_version: 3.2.33
|
220
216
|
signing_key:
|
221
217
|
specification_version: 4
|
222
|
-
summary: Beaker
|
218
|
+
summary: Docker hypervisor for Beaker acceptance testing framework
|
223
219
|
test_files: []
|
data/Gemfile.local
DELETED