enscalator 0.4.2 → 0.4.3

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: 0667af42b5aac0271d02bf42430650aa5a93f373
4
- data.tar.gz: d7b24f0970217d0e5b63ffa4f32958d0ee93382f
3
+ metadata.gz: 7d093f307bc236b207253c06defc7b838116e262
4
+ data.tar.gz: 46adf6ac4d4f1309a02104c2670901eb8edae096
5
5
  SHA512:
6
- metadata.gz: a9dd91fd6be9c2870b97b9dc5ce53e8f2453ae9b1db9909118c73eb13164b9386be68822b80a7fb20e4eec3fac4d57add173651fd47fce5c18fb82552218d6c8
7
- data.tar.gz: 8fabd06e5e6b7a1c4cd8585934187cacf9cf3ef2f0dcda298c3d5ea76d52c10cff67d0035e4fb9fb7aa4370ea96e3810a4320f34ec47d44fabde7824b2442c64
6
+ metadata.gz: d8804bb7d0b06cbd2d8e8052592ec163717261ea564748adc066b74ae225c74281951d5f4bd01eba6c19d2527f902d4d9a3e5b9d65f2a90ccab3d878a82025fe
7
+ data.tar.gz: 4f5446cbc6177aef97da0294db7e88a1d6181eea9535b7ce760e3052fc7933f78ac67d131f9575d839bca2f124f22d644c118dd0e7ca7848a7bced2bc123015b
data/.logo.svg ADDED
@@ -0,0 +1,99 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 21.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 1150 1190" style="enable-background:new 0 0 1150 1190;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#FFFFFF;}
7
+ </style>
8
+ <path d="M911.8,937.7H236.4c-13.9,0-25.1-11.3-25.1-25.1V237.1c0-13.9,11.3-25.1,25.1-25.1h675.4c13.9,0,25.1,11.3,25.1,25.1v675.4
9
+ C937,926.4,925.7,937.7,911.8,937.7z M236.4,235.9c-0.7,0-1.3,0.6-1.3,1.3v675.4c0,0.7,0.6,1.3,1.3,1.3h675.4c0.7,0,1.3-0.6,1.3-1.3
10
+ V237.1c0-0.7-0.6-1.3-1.3-1.3H236.4z"/>
11
+ <path d="M435,592.3c-2.8,2.8-6.4,4.5-10.3,4.8h-57.3c-37.7,0-68.4,30.7-68.4,68.4c0,37.7,30.7,68.4,68.4,68.4h91.1
12
+ c18.3,0,35.4-7.1,48.4-20L711.8,509c2.8-2.8,6.4-4.5,10.4-4.8h57.2c37.7,0,68.4-30.7,68.4-68.4c0-18.3-7.1-35.5-20-48.4
13
+ c-12.9-12.9-30.1-20-48.4-20l0,0h-91.1c-18.3,0-35.5,7.1-48.4,20L435,592.3z M611,449.3l45.4-45.4c8.5-8.5,19.8-13.2,31.9-13.2h91.1
14
+ c12,0,23.3,4.7,31.9,13.2c8.5,8.5,13.2,19.8,13.2,31.9c0,24.8-20.2,45.1-45,45.1l-55.8-0.1c-10.7,0-20.7,4.2-28.3,11.7L490.4,697.4
15
+ c-8.5,8.5-19.8,13.2-31.9,13.2h-91.1c-24.8,0-45.1-20.2-45.1-45.1c0-24.8,20.2-45,45.1-45l55.7,0.1c10.7,0,20.8-4.2,28.3-11.7
16
+ L611,449.3z"/>
17
+ <ellipse transform="matrix(0.7071 -0.7071 0.7071 0.7071 -190.1387 407.0481)" cx="396.3" cy="433" rx="29.7" ry="29.7"/>
18
+ <path d="M428.7,495.9L372.6,552c-14.3,14.3-33-4.3-18.6-18.6l56-56l30.5-30.4l69.3-69.2l95.1-95.1c6.4-6.4,16.8-6.4,23.3,0
19
+ c6.4,6.4,6.4,16.8,0,23.3L539,395l8.3,8.3l89.1-89.1c6.4-6.4,16.8-6.4,23.3,0c6.4,6.4,6.4,16.8,0,23.3l-93.6,93.6l-68.6,68.6
20
+ l-17.3,17.3c-8.4,8.4-22.2,8.4-30.6,0l-17.3-17.3L428.7,495.9z"/>
21
+ <g>
22
+ <path d="M899.8,777c-68.2,0-130.6-40.1-158.8-102.2c-19.3-42.4-20.9-89.7-4.5-133.3c16.3-43.6,48.7-78.2,91.1-97.5
23
+ c22.9-10.4,47.1-15.7,72-15.7c68.2,0,130.6,40.1,158.8,102.2c39.8,87.5,1,191-86.5,230.8C949,771.7,924.7,777,899.8,777z"/>
24
+ <g>
25
+ <path class="st0" d="M899.6,437.6c31.3,0,61.8,8.8,88.3,25.6c27.2,17.2,48.6,41.8,62,71.2c18.2,40.1,19.8,84.9,4.3,126.2
26
+ c-15.5,41.3-46.1,74-86.2,92.3c-21.7,9.8-44.6,14.8-68.2,14.8c-31.3,0-61.8-8.8-88.3-25.6c-27.2-17.2-48.6-41.8-62-71.2
27
+ c-18.2-40.1-19.8-84.9-4.3-126.2c15.5-41.3,46.1-74,86.2-92.3C853.1,442.6,876,437.6,899.6,437.6L899.6,437.6 M899.6,418.9
28
+ c-25.4,0-51.2,5.3-75.9,16.5c-92.3,42-133.2,150.9-91.2,243.2c30.8,67.7,97.5,107.7,167.3,107.7c25.4,0,51.2-5.3,75.9-16.5
29
+ c92.3-42,133.2-150.9,91.2-243.2C1036.1,458.9,969.4,418.9,899.6,418.9L899.6,418.9z"/>
30
+ </g>
31
+ </g>
32
+ <g>
33
+ <g>
34
+ <g>
35
+ <path class="st0" d="M844.4,705.9l19.7-9l-7.5-23.1l20.9-9.5l12.6,20.8l19.9-9.1l-76-127l-35.8,16.3L844.4,705.9z M849.9,653.1
36
+ l-28.5-83.4l45.4,75.7L849.9,653.1z"/>
37
+ </g>
38
+ </g>
39
+ <g>
40
+ <g>
41
+
42
+ <rect x="889.3" y="526.3" transform="matrix(0.9103 -0.4138 0.4138 0.9103 -167.527 426.3034)" class="st0" width="21.7" height="147"/>
43
+ </g>
44
+ </g>
45
+ <g>
46
+ <g>
47
+ <path class="st0" d="M956,655.2l19.9-9.1l-29.6-65.2l6.6-3c2.4-1.1,4.4-1.2,6-0.3c1.6,0.9,3.1,2.9,4.6,6l25.7,56.5l19.9-9.1
48
+ l-24.9-54.8l-0.2-0.4c-3.9-8.6-9.6-11.7-17.1-9.4c3.5-3.3,5.5-6.4,5.9-9.4c0.4-3-0.7-7.3-3.2-12.8l-12.2-26.9
49
+ c-1.7-3.7-3-6.2-4.1-7.7c-1-1.4-2.5-2.8-4.5-4c-2.7-1.7-5.6-2.5-8.5-2.5c-1.6-0.1-3.1,0.1-4.7,0.5c-1.6,0.4-3.1,0.9-4.5,1.4
50
+ l-5.7,2.6l-30.3,13.8L956,655.2z M938.3,563.5l-14.9-32.8l6.8-3.1c2.8-1.3,4.9-1.3,6.4,0c1.5,1.2,3.3,4.3,5.5,9.1l6.9,15.2
51
+ c1.7,3.8,0.1,6.8-4.8,9L938.3,563.5z"/>
52
+ </g>
53
+ </g>
54
+ </g>
55
+ <g>
56
+ <path d="M393,795.8c3.5,1.6,6.3,4,8.6,7.4c2,3,3.4,6.4,4,10.3c0.4,2.3,0.5,5.6,0.4,9.9h-36.3c0.2,5,1.9,8.5,5.2,10.5
57
+ c2,1.2,4.4,1.9,7.2,1.9c3,0,5.4-0.8,7.2-2.3c1-0.8,1.9-2,2.7-3.4h13.3c-0.4,3-2,6-4.8,9c-4.5,4.8-10.7,7.3-18.7,7.3
58
+ c-6.6,0-12.5-2-17.5-6.1c-5.1-4.1-7.6-10.7-7.6-19.9c0-8.6,2.3-15.2,6.9-19.8c4.6-4.6,10.5-6.9,17.8-6.9
59
+ C385.7,793.4,389.6,794.2,393,795.8z M373.6,807c-1.8,1.9-3,4.5-3.5,7.7h22.4c-0.2-3.5-1.4-6.1-3.5-7.9c-2.1-1.8-4.6-2.7-7.7-2.7
60
+ C378,804.2,375.4,805.1,373.6,807z"/>
61
+ <path d="M451.1,797.6c3.3,2.7,4.9,7.2,4.9,13.4v33.5h-13.3v-30.3c0-2.6-0.3-4.6-1-6c-1.3-2.6-3.7-3.8-7.3-3.8c-4.4,0-7.4,1.9-9,5.6
62
+ c-0.8,2-1.3,4.5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6,827,757.5,833.3,753.3,838.4z M742.9,831.3
93
+ c2-2.7,3.1-6.6,3.1-11.5c0-5-1-8.8-3.1-11.5c-2-2.7-5-4-8.8-4c-3.8,0-6.7,1.3-8.8,4c-2.1,2.7-3.1,6.5-3.1,11.5c0,5,1,8.8,3.1,11.5
94
+ c2.1,2.7,5,4.1,8.8,4.1C737.9,835.3,740.8,834,742.9,831.3z"/>
95
+ <path d="M792.9,793.6c0.2,0,0.5,0,1.1,0.1V807c-0.8-0.1-1.6-0.2-2.2-0.2c-0.6,0-1.2,0-1.6,0c-5.2,0-8.8,1.7-10.5,5.1
96
+ c-1,1.9-1.5,4.9-1.5,8.9v23.8h-13.1v-49.8h12.4v8.7c2-3.3,3.8-5.6,5.3-6.8c2.4-2,5.6-3.1,9.5-3.1
97
+ C792.5,793.6,792.7,793.6,792.9,793.6z"/>
98
+ </g>
99
+ </svg>
data/.travis.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  language: ruby
2
2
  cache: bundler
3
3
  rvm:
4
- - 2.2.1
4
+ - 2.3.4
5
5
  script: bundle exec rake test
6
6
  notifications:
7
7
  email: false
data/README.md CHANGED
@@ -1,14 +1,17 @@
1
- # Enscalator
1
+ <a href="https://github.com/en-japan-air/enscalator">
2
+ <img height="300" width="100%" src="https://cdn.rawgit.com/en-japan-air/enscalator/84f0b3f/.logo.svg">
3
+ </a>
2
4
 
3
5
  [![Build Status](https://travis-ci.org/en-japan-air/enscalator.svg?branch=master)](https://travis-ci.org/en-japan-air/enscalator)
4
6
  [![Gem](https://img.shields.io/gem/v/enscalator.svg)](https://rubygems.org/gems/enscalator/)
5
7
  [![Coverage Status](https://coveralls.io/repos/github/en-japan-air/enscalator/badge.svg?branch=master)](https://coveralls.io/github/en-japan-air/enscalator?branch=master)
6
8
  [![Inline docs](http://inch-ci.org/github/en-japan-air/enscalator.svg?branch=master)](http://inch-ci.org/github/en-japan-air/enscalator)
7
9
 
10
+ # What is enscalator?
11
+
8
12
  Enscalator is based on [bazaarvoice/cloudformation-ruby-dsl](https://github.com/bazaarvoice/cloudformation-ruby-dsl)
9
13
  and helps cloudforming applications created by AIR at en-japan inc.
10
14
 
11
-
12
15
  ## Installation
13
16
 
14
17
  Add this line to your application's Gemfile:
data/enscalator.gemspec CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.add_development_dependency 'pry', '~> 0.10.1'
29
29
  spec.add_development_dependency 'pry-byebug', '~> 3.4.0'
30
30
  spec.add_development_dependency 'awesome_print', '~> 1.6.1'
31
- spec.add_development_dependency 'looksee', '~> 3.1.0'
31
+ spec.add_development_dependency 'looksee', '~> 4.0.0'
32
32
  spec.add_development_dependency 'yard', '~> 0.8.7.6'
33
33
  spec.add_development_dependency 'vcr', '~> 2.9.3'
34
34
  spec.add_development_dependency 'webmock', '~> 1.21.0'
@@ -65,9 +65,38 @@ module Enscalator
65
65
  Properties: properties
66
66
  end
67
67
 
68
- # [RESERVED] Create new hosted zone
69
- def create_hosted_zone
70
- fail('method "create_hosted_zone" is not implemented yet')
68
+ # Create new public hosted zone
69
+ def create_public_hosted_zone(app_name, stack_name, name, comment, tags: [])
70
+ properties = {
71
+ Name: name
72
+ }
73
+
74
+ properties[:HostedZoneConfig] = {
75
+ Comment: comment
76
+ } unless comment.blank?
77
+
78
+ properties[:HostedZoneTags] = [
79
+ {
80
+ Key: 'Application',
81
+ Value: app_name
82
+ },
83
+ {
84
+ Key: 'Stack',
85
+ Value: stack_name
86
+ }
87
+ ]
88
+ properties[:HostedZoneTags].concat(tags) unless tags.blank?
89
+
90
+ resource_name = "#{app_name}HostedZone"
91
+ resource resource_name,
92
+ Type: 'AWS::Route53::HostedZone',
93
+ Properties: properties
94
+ resource_name
95
+ end
96
+
97
+ # [RESERVED] Create new private hosted zone
98
+ def create_private_hosted_zone
99
+ fail('method "create_private_hosted_zone" is not implemented')
71
100
  end
72
101
 
73
102
  # TODO: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset.html
@@ -89,16 +89,16 @@ module Enscalator
89
89
 
90
90
  # Get a list of availability zones for the given region
91
91
  def read_availability_zones
92
- az = @options[:availability_zone].to_sym
92
+ az = @options[:availability_zone]
93
93
  supported_az = ec2_client(region).describe_availability_zones.availability_zones
94
94
  alive_az = supported_az.select { |zone| zone.state == 'available' }
95
95
  az_list = alive_az.collect(&:zone_name).map { |n| [n.last.to_sym, n] }.to_h
96
96
 
97
97
  # use all zones, specific one, or fail if zone is not supported in given region
98
- if az.equal?(:all)
98
+ if az == 'all'
99
99
  az_list
100
- elsif az_list.keys.include?(az.to_sym)
101
- az_list.select { |k, _| k == az }
100
+ elsif az.split(',').map(&:to_sym).all?{|x| az_list.include?(x)}
101
+ az_list.select { |k, _| az.split(',').map(&:to_sym).include?(k) }
102
102
  else
103
103
  fail("Requested zone #{az} is not supported in #{region}, supported ones are #{az_list.keys.join(',')}")
104
104
  end
@@ -205,5 +205,19 @@ module Enscalator
205
205
  resp = cfn_client(region).send(action, options)
206
206
  resp.stack_id
207
207
  end
208
+
209
+ def has_multiple_envs
210
+ @deployment_env_param = 'DeploymentEnv'
211
+ parameter @deployment_env_param, {
212
+ Description: 'Environment parameters to configure stack resources (production, staging or development)',
213
+ Type: 'String',
214
+ AllowedValues: %w(production staging development),
215
+ Default: 'staging'
216
+ }
217
+ end
218
+
219
+ def deployment_env
220
+ parameters[@deployment_env_param]
221
+ end
208
222
  end # class RichTemplateDSL
209
223
  end # module Enscalator
@@ -1,5 +1,5 @@
1
1
  # Enscalator
2
2
  module Enscalator
3
3
  # Current version
4
- VERSION = '0.4.2'
4
+ VERSION = '0.4.3'
5
5
  end
data/lib/enscalator.rb CHANGED
@@ -56,7 +56,7 @@ module Enscalator
56
56
 
57
57
  if opts[:availability_zone_given]
58
58
  valid_values = ('a'..'e').to_a << 'all'
59
- unless valid_values.include? opts[:availability_zone]
59
+ unless opts[:availability_zone].split(',').all?{|x| valid_values.include?(x)}
60
60
  STDERR.puts %(Availability zone can be only one off "#{valid_values.join(',')}")
61
61
  exit
62
62
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enscalator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ugo Bataillard
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: exe
14
14
  cert_chain: []
15
- date: 2017-02-15 00:00:00.000000000 Z
15
+ date: 2017-09-13 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: bundler
@@ -90,14 +90,14 @@ dependencies:
90
90
  requirements:
91
91
  - - "~>"
92
92
  - !ruby/object:Gem::Version
93
- version: 3.1.0
93
+ version: 4.0.0
94
94
  type: :development
95
95
  prerelease: false
96
96
  version_requirements: !ruby/object:Gem::Requirement
97
97
  requirements:
98
98
  - - "~>"
99
99
  - !ruby/object:Gem::Version
100
- version: 3.1.0
100
+ version: 4.0.0
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: yard
103
103
  requirement: !ruby/object:Gem::Requirement
@@ -349,6 +349,7 @@ extensions: []
349
349
  extra_rdoc_files: []
350
350
  files:
351
351
  - ".gitignore"
352
+ - ".logo.svg"
352
353
  - ".rubocop.yml"
353
354
  - ".rubocop_todo.yml"
354
355
  - ".travis.yml"
@@ -420,7 +421,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
420
421
  version: '0'
421
422
  requirements: []
422
423
  rubyforge_project:
423
- rubygems_version: 2.4.6
424
+ rubygems_version: 2.6.13
424
425
  signing_key:
425
426
  specification_version: 4
426
427
  summary: Make apps created by AIR at en-japan inc. really webscale.