rebi 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rebi/version.rb +1 -1
  3. data/sample/rebi.yml +42 -0
  4. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e86f234a1a4dcdb347b576c07f449d68f4ef0918
4
- data.tar.gz: 26fc0b37540c17cc4008f3bafb278db933591e01
3
+ metadata.gz: 15e43d433bd3e212251ba2971bb307e898f74898
4
+ data.tar.gz: f25063b1ab680279ca1cb763be884cb456de9643
5
5
  SHA512:
6
- metadata.gz: 0b3818bc2410ee9b0bfb567b8ee76f6c98ffd312f11b806837dc21c4766c9428f5fb7c6c6cb4cbe7d8a4f49641aeada918c43c9557112c791676f1aecf9accf1
7
- data.tar.gz: 14f13a7ced8fcec217bbff5149f86b18914a5b63b3a27444253631b57174a45dedd13c04d6ca897eb9b60f197074968276cc2bc36db00d7cfc4b8e22e139bc80
6
+ metadata.gz: b6cc89e7c4a3efccaa4c8dc2244cf2805a7dd67ebcde47767e509d1e246d3aa4acbce639211463412c32314082be8d4c3d00828ec5b1c35b1d45783ad0aa80d6
7
+ data.tar.gz: c13e7ed5ff97672b3d270bc951d8b7614b5fc3c49f3d937e0a1cfe2b8568c159a681da88f7086357655d3410eb4600503d2db5713773d1c8fb8870377342a45f
data/lib/rebi/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rebi
2
- VERSION = '0.1.6'
2
+ VERSION = '0.1.7'
3
3
  end
data/sample/rebi.yml ADDED
@@ -0,0 +1,42 @@
1
+ app_name: App_name # Required
2
+ app_description: Description # Optional
3
+
4
+ stages: #Required: Hash
5
+ development: #Stage name
6
+ web: # Env name
7
+ name: web01 # Optional, default: #{stage_name}-#{env_name}
8
+ description: Description # Optional,
9
+ cname_prefix: prefix # Optional
10
+ tier: web or worker # Optional, default: web
11
+ instance_type: t2.small # Optional, default: t2.small
12
+ instance_num: # Optional: min 1 max 1
13
+ min: 1
14
+ max: 1
15
+ key_name: # Optional, if not set you cannot ssh into ec2 instances
16
+ service_role: role # Optional, default: aws-elasticbeanstalk-service-role
17
+ solution_stack_name: Ruby # Optional: default: "64bit Amazon Linux 2017.03 v2.4.1 running Ruby 2.3 (Puma)"
18
+ env_file: .env.development # Optional
19
+ environment_variables: # Optional, nil will be deleted when update,
20
+ # Use `rebi get_env stage --from-config` to get env settings
21
+ # This will be merged into variables from env_file and cfg_file
22
+ # Nil env will be deleted when deploy
23
+
24
+ - TIER: web
25
+ ebextensions: ebextension folders # Optional: String or Array of Strings
26
+ # .ebextensions will be added automatically if not exists
27
+ # The below one will be merge in to be above one
28
+ # Example: .ebextensions has 01.config, web_extensions, 02.config, web1_extensions 02.config and 03.config
29
+ # ebextensions:
30
+ # - web_extensions
31
+ # - web1_extensions
32
+ # Result will has 01.config, 02.config(from web1_extensions) and 03.config
33
+ cfg_file: File path or cfg name # Optional
34
+
35
+ worker:
36
+ # ...
37
+
38
+ staging:
39
+ # ...
40
+
41
+ production:
42
+ # ...
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rebi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - KhiemNS
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-08 00:00:00.000000000 Z
11
+ date: 2017-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip
@@ -117,6 +117,7 @@ files:
117
117
  - lib/rebi/version.rb
118
118
  - lib/rebi/zip_helper.rb
119
119
  - lib/tasks/rebi.rake
120
+ - sample/rebi.yml
120
121
  homepage: https://github.com/khiemns54/rebi
121
122
  licenses:
122
123
  - MIT