open-dock 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +8 -7
- data/lib/open-dock/commands/exec_host.rb +1 -1
- data/lib/open-dock/commands/ship_host.rb +1 -1
- data/lib/open-dock/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3cefa81ff88689e2b88ead2007ee092742f5d46
|
4
|
+
data.tar.gz: 3fd0a0a696267642a7986654dbe01174f1fa3504
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12ad80c138774601ff0215550827ffc516d0302e517f8c11fc96fc32ccdd57b88acc1141800671b421ca94f38c17f1ad9be9d1d82c0046883a41de5ed760637b
|
7
|
+
data.tar.gz: a94147e0c43f7b7b79ca7ff07a62d224907608af3de1f2c3ea64b5fd7a150041f34ad8313b9fba72476aafa35abd6072c243c5aa5ab5a2a70684d3ff6704f2d8
|
data/README.md
CHANGED
@@ -61,13 +61,12 @@ TODO: `ops init` to create this structure
|
|
61
61
|
Structure:
|
62
62
|
|
63
63
|
```
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
example.com.yml
|
64
|
+
providers
|
65
|
+
digitalocean.yml
|
66
|
+
hosts
|
67
|
+
example.com.yml
|
68
|
+
containers
|
69
|
+
example.com.yml
|
71
70
|
```
|
72
71
|
|
73
72
|
#### Provider file syntax
|
@@ -80,6 +79,8 @@ For a Digital Ocean provider create a file (ops/providers/digitalocean.yml) with
|
|
80
79
|
token: a206ae60dda6bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcf0cbf41
|
81
80
|
```
|
82
81
|
|
82
|
+
Token can be activated in your DigitaOcean console > Apps & API > Generate new token. Be sure to give write premissions.
|
83
|
+
|
83
84
|
#### Host file syntax
|
84
85
|
|
85
86
|
For a Digital Ocean host we can make the following file (ops/hosts/example.com.yml):
|
@@ -1,4 +1,4 @@
|
|
1
|
-
command :
|
1
|
+
command :ship do |c|
|
2
2
|
c.summary = 'Create Docker containers defined in ops/containers/[host_name].yml'
|
3
3
|
c.syntax = 'ops ship host [host_name]'
|
4
4
|
c.description = "Create all docker containers described in #{Ops::CONTAINERS_DIR}/[host_name].yml"
|
data/lib/open-dock/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: open-dock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Lebrijo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|