marathon_deploy 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b3213c4005fdc4ffb221d60f443a949c60f1c0c
4
- data.tar.gz: 30b2c173fa0ae0800f607314efdb0ad2b73b7dc1
3
+ metadata.gz: deae0efc28bdfcc4ee6b00c7d805391c6bbd068e
4
+ data.tar.gz: 945250813d47df1df6f5f11a211640da1dd444b4
5
5
  SHA512:
6
- metadata.gz: 05cf5e91997520dfae47244112b20042cb9aa108e1859bc07b567940ca0b612286eeedd1a49b5e38b44f4478382420016483ea30869735e6c26c4a585b6af69e
7
- data.tar.gz: 924f980722aadb76eb761ebf827636a9453627172654b6bf102f99ebf57fdc2a81cd97592e43c57d2d4409539cce611f0f3c531c94d50020f768dd4511557739
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
- $ deploy.rb (client program executable)
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
- deploy.rb -h
40
- Usage: deploy.rb [options]
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
- -v, --verbose Run verbosely
44
- -f, --file DEPLOYFILE Deploy file with json or yaml file extension. Default: deploy.yaml
45
- -e, --environment ENVIRONMENT Default: PREPRODUCTION
46
- -h, --help Show this message
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
@@ -1,3 +1,3 @@
1
1
  module MarathonDeploy
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -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/deploy.rb"]
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.0
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-24 00:00:00.000000000 Z
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