baha 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitignore +15 -0
- data/.travis.yml +11 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +156 -0
- data/Rakefile +21 -0
- data/baha.gemspec +31 -0
- data/bin/baha +5 -0
- data/example/.gitignore +1 -0
- data/example/base/init.sh.erb +11 -0
- data/example/base/test-template.erb +22 -0
- data/example/example.yml +54 -0
- data/example/rvm/image.yml +33 -0
- data/example/rvm/init.sh.erb +12 -0
- data/lib/baha/builder.rb +130 -0
- data/lib/baha/cli.rb +69 -0
- data/lib/baha/config.rb +142 -0
- data/lib/baha/container_options/cmd.rb +33 -0
- data/lib/baha/container_options/entrypoint.rb +10 -0
- data/lib/baha/container_options/env.rb +21 -0
- data/lib/baha/container_options/exposed_ports.rb +35 -0
- data/lib/baha/container_options/invalid_option_error.rb +15 -0
- data/lib/baha/container_options/option.rb +59 -0
- data/lib/baha/container_options/volumes.rb +24 -0
- data/lib/baha/container_options.rb +38 -0
- data/lib/baha/image.rb +154 -0
- data/lib/baha/log.rb +80 -0
- data/lib/baha/pre_build/command.rb +51 -0
- data/lib/baha/pre_build/download.rb +28 -0
- data/lib/baha/pre_build/template.rb +48 -0
- data/lib/baha/pre_build.rb +47 -0
- data/lib/baha/version.rb +3 -0
- data/lib/baha/workspace.rb +13 -0
- data/lib/baha.rb +5 -0
- data/spec/builder_spec.rb +103 -0
- data/spec/config_spec.rb +93 -0
- data/spec/container_options/cmd_spec.rb +46 -0
- data/spec/container_options/entrypoint_spec.rb +32 -0
- data/spec/container_options/env_spec.rb +26 -0
- data/spec/container_options/exposed_ports_spec.rb +32 -0
- data/spec/container_options/option_spec.rb +43 -0
- data/spec/container_options/volumes_spec.rb +25 -0
- data/spec/fixtures/base_image.yml +5 -0
- data/spec/fixtures/config_build.yml +12 -0
- data/spec/fixtures/config_build_image.yml +10 -0
- data/spec/fixtures/config_eachimage.yml +12 -0
- data/spec/fixtures/config_embedded.yml +11 -0
- data/spec/fixtures/config_include.yml +7 -0
- data/spec/fixtures/config_ssl.yml +13 -0
- data/spec/fixtures/config_sslpath.yml +11 -0
- data/spec/helpers/docker_helpers.rb +31 -0
- data/spec/image_spec.rb +167 -0
- data/spec/log_spec.rb +89 -0
- data/spec/options_spec.rb +52 -0
- data/spec/pre_build/command_spec.rb +69 -0
- data/spec/pre_build/download_spec.rb +43 -0
- data/spec/pre_build/template_spec.rb +55 -0
- data/spec/pre_build_spec.rb +29 -0
- data/spec/spec_helper.rb +39 -0
- metadata +255 -0
metadata
ADDED
@@ -0,0 +1,255 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: baha
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Justen Walker
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-11-30 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: thor
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.19.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.19.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: docker-api
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.14.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.14.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: json
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.8.1
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.8.1
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.7'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.7'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '10.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '10.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 3.1.0
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 3.1.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec-mocks
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ~>
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 3.1.3
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ~>
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 3.1.3
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec-its
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ~>
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.1.0
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ~>
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.1.0
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: simplecov
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ~>
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.9.1
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ~>
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.9.1
|
139
|
+
description: Baha - A tool for describing image builds for Docker
|
140
|
+
email:
|
141
|
+
- justen.walker+github@gmail.com
|
142
|
+
executables:
|
143
|
+
- baha
|
144
|
+
extensions: []
|
145
|
+
extra_rdoc_files: []
|
146
|
+
files:
|
147
|
+
- .gitignore
|
148
|
+
- .travis.yml
|
149
|
+
- Gemfile
|
150
|
+
- LICENSE.txt
|
151
|
+
- README.md
|
152
|
+
- Rakefile
|
153
|
+
- baha.gemspec
|
154
|
+
- bin/baha
|
155
|
+
- example/.gitignore
|
156
|
+
- example/base/init.sh.erb
|
157
|
+
- example/base/test-template.erb
|
158
|
+
- example/example.yml
|
159
|
+
- example/rvm/image.yml
|
160
|
+
- example/rvm/init.sh.erb
|
161
|
+
- lib/baha.rb
|
162
|
+
- lib/baha/builder.rb
|
163
|
+
- lib/baha/cli.rb
|
164
|
+
- lib/baha/config.rb
|
165
|
+
- lib/baha/container_options.rb
|
166
|
+
- lib/baha/container_options/cmd.rb
|
167
|
+
- lib/baha/container_options/entrypoint.rb
|
168
|
+
- lib/baha/container_options/env.rb
|
169
|
+
- lib/baha/container_options/exposed_ports.rb
|
170
|
+
- lib/baha/container_options/invalid_option_error.rb
|
171
|
+
- lib/baha/container_options/option.rb
|
172
|
+
- lib/baha/container_options/volumes.rb
|
173
|
+
- lib/baha/image.rb
|
174
|
+
- lib/baha/log.rb
|
175
|
+
- lib/baha/pre_build.rb
|
176
|
+
- lib/baha/pre_build/command.rb
|
177
|
+
- lib/baha/pre_build/download.rb
|
178
|
+
- lib/baha/pre_build/template.rb
|
179
|
+
- lib/baha/version.rb
|
180
|
+
- lib/baha/workspace.rb
|
181
|
+
- spec/builder_spec.rb
|
182
|
+
- spec/config_spec.rb
|
183
|
+
- spec/container_options/cmd_spec.rb
|
184
|
+
- spec/container_options/entrypoint_spec.rb
|
185
|
+
- spec/container_options/env_spec.rb
|
186
|
+
- spec/container_options/exposed_ports_spec.rb
|
187
|
+
- spec/container_options/option_spec.rb
|
188
|
+
- spec/container_options/volumes_spec.rb
|
189
|
+
- spec/fixtures/base_image.yml
|
190
|
+
- spec/fixtures/config_build.yml
|
191
|
+
- spec/fixtures/config_build_image.yml
|
192
|
+
- spec/fixtures/config_eachimage.yml
|
193
|
+
- spec/fixtures/config_embedded.yml
|
194
|
+
- spec/fixtures/config_include.yml
|
195
|
+
- spec/fixtures/config_ssl.yml
|
196
|
+
- spec/fixtures/config_sslpath.yml
|
197
|
+
- spec/helpers/docker_helpers.rb
|
198
|
+
- spec/image_spec.rb
|
199
|
+
- spec/log_spec.rb
|
200
|
+
- spec/options_spec.rb
|
201
|
+
- spec/pre_build/command_spec.rb
|
202
|
+
- spec/pre_build/download_spec.rb
|
203
|
+
- spec/pre_build/template_spec.rb
|
204
|
+
- spec/pre_build_spec.rb
|
205
|
+
- spec/spec_helper.rb
|
206
|
+
homepage: ''
|
207
|
+
licenses:
|
208
|
+
- MIT
|
209
|
+
metadata: {}
|
210
|
+
post_install_message:
|
211
|
+
rdoc_options: []
|
212
|
+
require_paths:
|
213
|
+
- lib
|
214
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
215
|
+
requirements:
|
216
|
+
- - ! '>='
|
217
|
+
- !ruby/object:Gem::Version
|
218
|
+
version: '0'
|
219
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
220
|
+
requirements:
|
221
|
+
- - ! '>='
|
222
|
+
- !ruby/object:Gem::Version
|
223
|
+
version: '0'
|
224
|
+
requirements: []
|
225
|
+
rubyforge_project:
|
226
|
+
rubygems_version: 2.1.11
|
227
|
+
signing_key:
|
228
|
+
specification_version: 4
|
229
|
+
summary: Baha - A tool for describing image builds for Docker
|
230
|
+
test_files:
|
231
|
+
- spec/builder_spec.rb
|
232
|
+
- spec/config_spec.rb
|
233
|
+
- spec/container_options/cmd_spec.rb
|
234
|
+
- spec/container_options/entrypoint_spec.rb
|
235
|
+
- spec/container_options/env_spec.rb
|
236
|
+
- spec/container_options/exposed_ports_spec.rb
|
237
|
+
- spec/container_options/option_spec.rb
|
238
|
+
- spec/container_options/volumes_spec.rb
|
239
|
+
- spec/fixtures/base_image.yml
|
240
|
+
- spec/fixtures/config_build.yml
|
241
|
+
- spec/fixtures/config_build_image.yml
|
242
|
+
- spec/fixtures/config_eachimage.yml
|
243
|
+
- spec/fixtures/config_embedded.yml
|
244
|
+
- spec/fixtures/config_include.yml
|
245
|
+
- spec/fixtures/config_ssl.yml
|
246
|
+
- spec/fixtures/config_sslpath.yml
|
247
|
+
- spec/helpers/docker_helpers.rb
|
248
|
+
- spec/image_spec.rb
|
249
|
+
- spec/log_spec.rb
|
250
|
+
- spec/options_spec.rb
|
251
|
+
- spec/pre_build/command_spec.rb
|
252
|
+
- spec/pre_build/download_spec.rb
|
253
|
+
- spec/pre_build/template_spec.rb
|
254
|
+
- spec/pre_build_spec.rb
|
255
|
+
- spec/spec_helper.rb
|