jack-eb 0.0.7 → 0.0.8

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: 2fbf83ac0f3c4d636e38e82a1cf1e57572b34eb3
4
- data.tar.gz: 47dfb444cb224cda6324ee53c21fdbda9ca45676
3
+ metadata.gz: 89ef11d5cc261c03016ea406f3a90985588d491c
4
+ data.tar.gz: a8a7d7003b408913a83dbff7fb8fafd9d7933eb5
5
5
  SHA512:
6
- metadata.gz: 10fb20a0aca3f41590b81ab6158f9c94ca20dc0f2f507afbcc5401bd51301e14774bcab29b45985f1b3b0ec0a177a77a49531722563451096a1dfdec35db6ca7
7
- data.tar.gz: 3168f706b98d153714419aa989c69eeabe9f22b03cf85364d709f2e60ff4e0ac65bee7004a6f03e08614248123982ee9011e5268b437c3ebb82bbc871f433f01
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.
@@ -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).sync unless options[:noop]
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)
@@ -1,3 +1,3 @@
1
1
  module Jack
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jack-eb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen