dockly 0.0.7 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -8
- data/lib/dockly/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -132,6 +132,8 @@ In addition to the above attributes, `docker` has the following references:
|
|
132
132
|
- class: `Dockly::BuildCache`
|
133
133
|
- description: a caching system to stop rebuilding/compiling the same files every time
|
134
134
|
|
135
|
+
Need finer control of Docker packages? We also wrote [docker-api](https://github.com/swipely/docker-api).
|
136
|
+
|
135
137
|
`foreman`
|
136
138
|
---------
|
137
139
|
|
@@ -197,6 +199,9 @@ The `deb` DSL is used to define Debian packages. It has the following attributes
|
|
197
199
|
- required: `false`
|
198
200
|
- default: `nil`
|
199
201
|
- description: the s3 bucket the package is uploaded to
|
202
|
+
- `file SOURCE DEST`
|
203
|
+
- required: `false`
|
204
|
+
- description: places SOURCE at DEST in the Debian package (can have multiple of these)
|
200
205
|
|
201
206
|
In addition to the above attributes, `deb` has the following references:
|
202
207
|
|
@@ -211,19 +216,16 @@ In addition to the above attributes, `deb` has the following references:
|
|
211
216
|
- class: `Dockly::Foreman`
|
212
217
|
- description: any Foreman scripts used in the deb
|
213
218
|
|
214
|
-
|
215
219
|
Demo
|
216
220
|
===
|
217
221
|
|
218
222
|
```ruby
|
219
223
|
deb :dockly_package do
|
220
224
|
package_name 'dockly_package'
|
221
|
-
version '1.0'
|
222
|
-
release '1'
|
223
225
|
|
224
226
|
docker do
|
225
227
|
name :dockly_docker
|
226
|
-
import 's3
|
228
|
+
import 's3://.../base-image.tar.gz'
|
227
229
|
git_archive '/app'
|
228
230
|
timeout 120
|
229
231
|
|
@@ -237,17 +239,14 @@ deb :dockly_package do
|
|
237
239
|
end
|
238
240
|
|
239
241
|
build <<-EOF
|
240
|
-
run cd /app &&
|
242
|
+
run cd /app && ./configure && make
|
241
243
|
EOF
|
242
|
-
# git_sha is available from Dockly
|
243
244
|
end
|
244
245
|
|
245
246
|
foreman do
|
246
247
|
name 'dockly'
|
247
248
|
procfile 'Procfile'
|
248
|
-
prefix 'source /etc/dockly_env '
|
249
249
|
log_dir '/data/logs'
|
250
|
-
user 'ubuntu'
|
251
250
|
end
|
252
251
|
|
253
252
|
s3_bucket 'dockly-bucket-name'
|
data/lib/dockly/version.rb
CHANGED