dockly 0.0.7 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +7 -8
  2. data/lib/dockly/version.rb +1 -1
  3. 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://dockly-bucket-name/base-image.tar.gz'
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 && echo "1.0-1" > VERSION && echo "#{Dockly.git_sha}" >> VERSION
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'
@@ -1,3 +1,3 @@
1
1
  module Dockly
2
- VERSION = '0.0.7'
2
+ VERSION = '1.0.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dockly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 1.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: