capistrano-docker-compose 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 63f05415365aec9658b68807764c09c84d37fc0a
4
- data.tar.gz: 3e53240f770d534d5f00c7891c9bdb0897077227
3
+ metadata.gz: 1256939c6a2f2a0d207b0773732327c3b6b5ad68
4
+ data.tar.gz: 6effdd8fc0b450427f7dddd6eeba36a58540a96e
5
5
  SHA512:
6
- metadata.gz: b7c3ad3309267609ffda2ef36b99837ca512337a70d19c12d403a1a4d5442155949971fe4f12ec67c0c16069033b69964b3065f6e4a3d13b4644c6f3a63783be
7
- data.tar.gz: a797edcc2a1eeb7c75c29fc18edf0605dd962a538e227a42c374b7d6e12547375a81c1c4347c116b6e03b70738c7afb92703d1d32c59abb65e07598d26a0e278
6
+ metadata.gz: 25d305c46e8411b4e1e9b6564f2a6b91f2ab57562ac40661fff6ffd7cdb23dd348249b6276c0c8400239297fae11fd743d707e03087a780433b1257525cf464c
7
+ data.tar.gz: 19904c112ef2426a435eda4239ada70e512c25632c7f28f81ffa2eaffa56c35c1730488beab1527d63b30e88e4043e75d4665dc5e639fc73511007497634156d
data/README.md CHANGED
@@ -33,7 +33,7 @@ Create Docker Compose descriptors for each environment leaving `docker-compose.y
33
33
  - `docker-compose-staging.yml`
34
34
  - `docker-compose-production.yml`
35
35
 
36
- Make Compose YAML dynamic with following environment variables:
36
+ Make Compose YAML with `web` service using following environment variables:
37
37
 
38
38
  - `CAP_DOCKER_COMPOSE_ROOT_PATH` for shared path
39
39
  - `CAP_DOCKER_COMPOSE_PORT` for port range
@@ -1,7 +1,7 @@
1
1
  module Capistrano
2
2
  module Docker
3
3
  module Compose
4
- VERSION = "0.1.4"
4
+ VERSION = "0.1.5"
5
5
  end
6
6
  end
7
7
  end
@@ -22,6 +22,9 @@ namespace :deploy do
22
22
  within release_path do
23
23
  with cap_docker_compose_root_path: fetch(:deploy_to), cap_docker_compose_port: detect_available_port do
24
24
  execute :'docker-compose', '-f', "docker-compose-#{fetch(:rails_env)}.yml", 'up', '-d'
25
+ # Give services 3s to come up
26
+ # TODO: implement flexibly into options
27
+ sleep 3
25
28
  end
26
29
  end
27
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-docker-compose
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ain Tohvri
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-25 00:00:00.000000000 Z
11
+ date: 2016-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano