marathon_deploy 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -7
- data/bin/{deploy.rb → marathon_deploy} +0 -0
- data/lib/marathon_deploy/version.rb +1 -1
- data/marathon_deploy.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: deae0efc28bdfcc4ee6b00c7d805391c6bbd068e
|
4
|
+
data.tar.gz: 945250813d47df1df6f5f11a211640da1dd444b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de8c8701e33974df12defcd5b1307d56ba2a6bfd1ba1e7773af274e4b09458432200f4d3ba06664769b2f28e8a874718c180a624b9c7da4c8483e276e64d4edd
|
7
|
+
data.tar.gz: 8533154bdf46bbb920136e3cbbd588e15668b4f86437fabecc7535a463e2b6bc0491523b3a91fdb37df43e2924729fe36b951a41d843e9ca9be684f83ce21a1a
|
data/README.md
CHANGED
@@ -15,6 +15,7 @@ A [Marathon](https://mesosphere.github.io/marathon/) command-line deployment too
|
|
15
15
|
### Roadmap Features
|
16
16
|
* Record actions and json payload to a database (for rollback, history, auditing)
|
17
17
|
* Deploy a deployment descriptor containing multiple applications
|
18
|
+
* Specify deployment strategy (using minimumHealthCapacity) as an option. See [Marathon Deployment document](https://mesosphere.github.io/marathon/docs/deployments.html)
|
18
19
|
|
19
20
|
|
20
21
|
## Installation
|
@@ -27,7 +28,7 @@ $ gem install marathon_deploy
|
|
27
28
|
|
28
29
|
Executables from this gem (automatically added to your $PATH):
|
29
30
|
|
30
|
-
$
|
31
|
+
$ marathon_deploy (client program executable)
|
31
32
|
$ json2yaml.rb (convenience utility for converting json to yaml)
|
32
33
|
$ expand_macros.rb (expands all macros in the form %%MACRO%% with value of ENV[MACRO])
|
33
34
|
|
@@ -36,14 +37,15 @@ Executables from this gem (automatically added to your $PATH):
|
|
36
37
|
|
37
38
|
### Help
|
38
39
|
```
|
39
|
-
|
40
|
-
Usage:
|
40
|
+
>marathon_deploy -h
|
41
|
+
Usage: bin/marathon_deploy [options]
|
41
42
|
-u, --url MARATHON_URL(S) Default: ["http://localhost:8080"]
|
42
43
|
-l, --logfile LOGFILE Default: STDOUT
|
43
|
-
-
|
44
|
-
-
|
45
|
-
-
|
46
|
-
-
|
44
|
+
-d, --debug Run in debug mode
|
45
|
+
-v, --version Version info
|
46
|
+
-f, --force Force deployment when sending same deploy JSON to Marathon
|
47
|
+
-n, --noop No action. Just display what would be performed.
|
48
|
+
-e, --environment ENVIRONMENT Default: PREPRODUC
|
47
49
|
```
|
48
50
|
|
49
51
|
### Example Deployfile
|
File without changes
|
data/marathon_deploy.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
17
|
-
spec.files << ["bin/
|
17
|
+
spec.files << ["bin/marathon_deploy"]
|
18
18
|
spec.files << ["bin/json2yaml.rb"]
|
19
19
|
spec.files << ["bin/expand_macros.rb"]
|
20
20
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: marathon_deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Colby
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logger
|
@@ -70,9 +70,9 @@ description: Pushes a yaml or json file to the Marathon API.
|
|
70
70
|
email:
|
71
71
|
- jcolby@team.mobile.de
|
72
72
|
executables:
|
73
|
-
- deploy.rb
|
74
73
|
- expand_macros.rb
|
75
74
|
- json2yaml.rb
|
75
|
+
- marathon_deploy
|
76
76
|
extensions: []
|
77
77
|
extra_rdoc_files: []
|
78
78
|
files:
|
@@ -83,9 +83,9 @@ files:
|
|
83
83
|
- README.md
|
84
84
|
- Rakefile
|
85
85
|
- TODO
|
86
|
-
- bin/deploy.rb
|
87
86
|
- bin/expand_macros.rb
|
88
87
|
- bin/json2yaml.rb
|
88
|
+
- bin/marathon_deploy
|
89
89
|
- examples/deploy.json
|
90
90
|
- examples/deploy.yaml
|
91
91
|
- examples/jondeploy.yaml
|