jack-eb 0.0.7 → 0.0.8
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 +7 -0
- data/lib/jack/config/download.rb +3 -2
- data/lib/jack/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: 89ef11d5cc261c03016ea406f3a90985588d491c
|
4
|
+
data.tar.gz: a8a7d7003b408913a83dbff7fb8fafd9d7933eb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65b1a0320df3a79fd4d11ea60ba1a9a5f9b5ee3a15af96891e1522c46bb1410653d9a1b2e9334dd8cc9b63b093927dbc242c8b0aa3eb2f9941a33fa8cc9ecdea
|
7
|
+
data.tar.gz: 49c4370e2097e95f78faff19d9560a2c2fe49777f016a3b7ce6787379713f8d4d87ed99d999c82c84dbd07e41b8ef5b9df4426a7e068ad7c5c797df3685604fe
|
data/README.md
CHANGED
@@ -71,6 +71,13 @@ $ jack config download -c myconfig stag-rails-app-s1
|
|
71
71
|
|
72
72
|
Results in a saved jack/cfg/myconfig.cfg.yml template configuration file.
|
73
73
|
|
74
|
+
#### Configuration Templates
|
75
|
+
|
76
|
+
Configuration templates hold all the options and settings that we can set for an EB environment. Elastic Beanstalk surfaces a portion of all the settings actually available on the underlying AWS Resources that we are allowed to configured. These includes the some of the ELB behavior, VPC, LaunchConfiguration, Autoscaling settings, hard drive size, environment variables, etc.
|
77
|
+
|
78
|
+
* [Here](https://gist.github.com/tongueroo/acc421c5ec998f238b4b) is an example of all the settings available.
|
79
|
+
* [Here](https://gist.github.com/tongueroo/f22bbae7864ecec41ff3) is an example of what you would tyically see when you download the initial saved configuration.
|
80
|
+
|
74
81
|
### Creating Environments
|
75
82
|
|
76
83
|
The purpose of the jack/cfg configs is allow us to be able to create environments with a codified configuration file that can be versioned controlled.
|
data/lib/jack/config/download.rb
CHANGED
@@ -12,7 +12,8 @@ module Jack
|
|
12
12
|
super
|
13
13
|
@current_path = "#{@saved_configs}/current-#{timestamp}.cfg.yml"
|
14
14
|
@current_name = extract_name(@current_path)
|
15
|
-
EbConfig::Update.new(env_name: @env_name)
|
15
|
+
@updater = EbConfig::Update.new(env_name: @env_name)
|
16
|
+
@updater.sync unless options[:noop]
|
16
17
|
end
|
17
18
|
|
18
19
|
def run
|
@@ -56,7 +57,7 @@ module Jack
|
|
56
57
|
return if @options[:dirty]
|
57
58
|
UI.say "Cleaning up eb remote config and local files" unless silent
|
58
59
|
eb.delete_configuration_template(
|
59
|
-
application_name: @app_name,
|
60
|
+
application_name: @updater.app_name,
|
60
61
|
template_name: current_name
|
61
62
|
) unless @options[:noop]
|
62
63
|
FileUtils.rm_f(@current_path)
|
data/lib/jack/version.rb
CHANGED