marathon_deploy 0.1.16 → 0.1.17

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: 3736662fd87e158bf3d5fecdff15c4a77731e901
4
- data.tar.gz: 861afb34bd02892b8da74f5e471c3d4b309a7075
3
+ metadata.gz: 5d62a4cd536881a4d0f65dde8dc422b91f85b312
4
+ data.tar.gz: b6b97438d7d6f6b2f48cc6f4c5c5be87a7a6b59d
5
5
  SHA512:
6
- metadata.gz: 724bc252726a9bd7ce3c33b1be70324c1dd1ab0a77c71ed786f5c22e5df7d1a3093893e19792fc05af046b52d91bce26266de0151fd155e990bc2dd2f9e44af8
7
- data.tar.gz: fdaee19a8ffe931d5475e1fe5f671db00cec4b759715fca8f6f16ba5ace5e291e25c49f29b563eb0d76c9f838453c2aabf5d0c2862ee51ced2b1ea8814840c7a
6
+ metadata.gz: e9156d23f9cfbf3eed44c4c9eafb24c973915fd75af1287e2738bebf4bf97e31730731edfccc734d6329e27d220de118bddae4254adeb833891a5a5545096da3
7
+ data.tar.gz: 8c25bc4a90e734f95474df498ef01ccb83ff2845955c337738fde6c07b90b945782b33393cd71d49d95f36d40b0515e6d371f1a93d140a15d58dcab4d3277d02
data/README.md CHANGED
@@ -29,11 +29,11 @@ Ensure Ruby (1.9+) and gem are installed on you system, then run:
29
29
  $ gem install marathon_deploy
30
30
  ```
31
31
 
32
- Executables from this gem (automatically added to your $PATH):
32
+ Executables from this gem:
33
33
 
34
- $ marathon_deploy (client program executable)
35
- $ json2yaml.rb (convenience utility for converting json to yaml)
36
- $ expand_macros.rb (expands all macros in the form %%MACRO%% with value of ENV[MACRO])
34
+ $ marathon_deploy (client program executable, automatically added to $PATH)
35
+ $ extra/json2yaml (convenience utility for converting json to yaml)
36
+ $ extra/expand_macros (expands all macros in the form %%MACRO%% with value of ENV[MACRO])
37
37
 
38
38
 
39
39
  ## Usage
@@ -52,7 +52,7 @@ Usage: bin/marathon_deploy [options]
52
52
  ```
53
53
 
54
54
  ### Example Deployfile
55
- By default, a file called 'deploy.yaml' is searched for in the current directory where deploy.rb is run from. An alternative file name can be provided with the -f parameter.
55
+ By default, a file called 'deploy.yml' is searched for in the current directory where deploy.rb is run from. An alternative file name can be provided with the -f parameter.
56
56
 
57
57
  The file format must conform to the [Marathon API specification](https://mesosphere.github.io/marathon/docs/rest-api.html#post-/v2/apps)
58
58
 
@@ -97,7 +97,7 @@ healthChecks:
97
97
  As a convenience, the provided json2yaml.rb script can convert a JSON file to the arguably more human-readable YAML format:
98
98
 
99
99
  ```
100
- $json2yaml.rb marathon-webapp.json > marathon-webapp.yaml
100
+ $json2yaml marathon-webapp.json > marathon-webapp.yaml
101
101
  ```
102
102
 
103
103
  ### Parsing a file with macro expansion from ENV variables
@@ -105,7 +105,7 @@ $json2yaml.rb marathon-webapp.json > marathon-webapp.yaml
105
105
  A helper script which takes a file and replaces all macros having the format %%MACRO%% with the values from ENV variables. Script will fail if there are no ENV values for macro names contained in the template.
106
106
 
107
107
  ```
108
- $expand_macros.rb -h
108
+ $expand_macros -h
109
109
  Usage: bin/expand_macros.rb [options]
110
110
  -o, --outfile OUTFILE Default: STDOUT
111
111
  -l, --logfile LOGFILE Default: STDOUT
@@ -1,3 +1,3 @@
1
1
  module MarathonDeploy
2
- VERSION = "0.1.16"
2
+ VERSION = "0.1.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marathon_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Colby