gordon 0.0.14 → 0.0.15
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 +5 -4
- data/lib/gordon/cooker.rb +8 -1
- data/lib/gordon/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77d003b8301e3fdf10dc46f8c3478d5f8f5be391
|
4
|
+
data.tar.gz: 82eb02e41d6f36a1307abbe12c06ff2c1fd9664b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b126c87ef02e08e4d812d61d56d62e710ceed461a7907080096083f135240d38c4ef11f71d7f46532fe0886e1b5e2de778b5aefc2938a5f88b087bb977dbabd
|
7
|
+
data.tar.gz: d60e21e5a6933bc1b4a4dda5f4d4b4a1a42f308d013b90fb0b051c19394c2e338d1a14fbd3f4e9ccc16adccb469ef1ef44db8c106af5953723f077a0f65649de
|
data/README.md
CHANGED
@@ -88,10 +88,11 @@ Sounds good?
|
|
88
88
|
|
89
89
|
First, generate war files. After, do the following steps:
|
90
90
|
|
91
|
-
* Set
|
92
|
-
* Set
|
93
|
-
* Set
|
94
|
-
*
|
91
|
+
* Set `--app-source` with the path of war file;
|
92
|
+
* Set `--runtime-name` to java-oracle (only for CentOS platform at this time) or java-openjdk;
|
93
|
+
* Set `--runtime-version` (1.7.0_60, 1.8.0_31; Gordon checks and inject correct version into package metadata).
|
94
|
+
* Set `--web-server-type` to `tomcat` or `jetty`;
|
95
|
+
* You can avoid `--init-type` because war files are handled by application server of choice (Tomcat or Jetty).
|
95
96
|
|
96
97
|
## Why you not use Omnibus or Heroku buildpacks?
|
97
98
|
|
data/lib/gordon/cooker.rb
CHANGED
@@ -42,7 +42,6 @@ module Gordon
|
|
42
42
|
cook_args << "--debug" if options.debug
|
43
43
|
|
44
44
|
cook_args << "--target #{options.package_type}"
|
45
|
-
# cook_args << "--platform #{recipe.platform}" if recipe.requires_platform?
|
46
45
|
cook_args << "--pkg-dir #{File.expand_path(options.output_dir)}"
|
47
46
|
cook_args << "--cache-dir #{File.expand_path(FPM_COOKERY_CACHE_DIR)}"
|
48
47
|
cook_args << "--tmp-root #{File.expand_path(FPM_COOKERY_BUILD_DIR)}"
|
@@ -62,9 +61,17 @@ module Gordon
|
|
62
61
|
end
|
63
62
|
|
64
63
|
def debug(command)
|
64
|
+
STDOUT.puts '*' * 80
|
65
|
+
STDOUT.puts ''
|
66
|
+
STDOUT.puts 'Gordon will run the following command:'
|
65
67
|
STDOUT.puts ''
|
66
68
|
STDOUT.puts command
|
67
69
|
STDOUT.puts ''
|
70
|
+
STDOUT.puts 'With these environment variables:'
|
71
|
+
STDOUT.puts ''
|
72
|
+
STDOUT.puts ENV.sort.map { |k, v| "#{k} = #{v}" }.join "\n"
|
73
|
+
STDOUT.puts ''
|
74
|
+
STDOUT.puts '*' * 80
|
68
75
|
end
|
69
76
|
end
|
70
77
|
end
|
data/lib/gordon/version.rb
CHANGED