forger 3.0.1 → 3.0.2
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/.gitignore +1 -0
- data/CHANGELOG.md +3 -0
- data/README.md +2 -0
- data/lib/forger/s3/bucket.rb +2 -2
- data/lib/forger/version.rb +1 -1
- data/lib/templates/default/app/user_data/layouts/default.sh.tt +1 -1
- data/lib/templates/default/config/settings.yml.tt +1 -1
- data/lib/templates/default/config/variables/development.rb.tt +3 -0
- data/lib/templates/default/profiles/default.yml.tt +2 -2
- metadata +4 -5
- data/Gemfile.lock +0 -141
- data/lib/templates/default/config/variables/development.yml.tt +0 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4bd013f03609cf1eb83f380a614afe1bb854c7ff2fcfb1af4c34c14a795e7887
|
|
4
|
+
data.tar.gz: 1567afe2aa332f18146c2b1dc69a3d14873f5b7314d217cfc75d4f5e5b2df9f5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b4d6b1b7b1fe4f4b7f709d383c9bcf8e3c513e813fa9ff23f46e7adba7192bc50f5902fd64e8acd43a401746978427552d23473d8f8cb1d3209559e25aadd04
|
|
7
|
+
data.tar.gz: 84b67d45d264e2cec916e34b40d9111bd1eda750f1910895071f11ef6a130b82633b4f9608e8732d565d44d2d89daa80a01a02d075e044d5ccfa6e650b306311
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
|
5
5
|
|
|
6
|
+
## [3.0.2]
|
|
7
|
+
- #17 fix starter template for new cfn_status interface
|
|
8
|
+
|
|
6
9
|
## [3.0.1]
|
|
7
10
|
- edge case when reserverations not immediately found yet
|
|
8
11
|
- fix `sync_scripts_to_s3` with clean slate no forger bucket created yet
|
data/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Forger
|
|
2
2
|
|
|
3
|
+
[](https://www.boltops.com)
|
|
4
|
+
|
|
3
5
|
[](https://circleci.com/gh/tongueroo/forger)
|
|
4
6
|
|
|
5
7
|
Tool to create AWS EC2 instances consistently with pre-configured settings. The pre-configured settings are stored in the profiles folder of the current project directory.
|
data/lib/forger/s3/bucket.rb
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require "
|
|
1
|
+
require "cfn_status"
|
|
2
2
|
|
|
3
3
|
class Forger::S3
|
|
4
4
|
class Bucket
|
|
@@ -59,7 +59,7 @@ class Forger::S3
|
|
|
59
59
|
def create
|
|
60
60
|
puts "Creating #{STACK_NAME} stack with the s3 bucket"
|
|
61
61
|
cfn.create_stack(stack_name: STACK_NAME, template_body: template_body)
|
|
62
|
-
status =
|
|
62
|
+
status = CfnStatus.new(STACK_NAME)
|
|
63
63
|
status.wait
|
|
64
64
|
end
|
|
65
65
|
|
data/lib/forger/version.rb
CHANGED
|
@@ -17,8 +17,8 @@ iam_instance_profile:
|
|
|
17
17
|
# name: ExampleIamProfile
|
|
18
18
|
<% end -%>
|
|
19
19
|
# public network settings
|
|
20
|
-
security_group_ids: <%%=
|
|
21
|
-
subnet_id: <%%=
|
|
20
|
+
security_group_ids: <%%= @security_group_ids %>
|
|
21
|
+
subnet_id: <%%= @subnets.shuffle.first %>
|
|
22
22
|
# block_device_mappings:
|
|
23
23
|
# - device_name: /dev/xvda
|
|
24
24
|
# ebs:
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: forger
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tung Nguyen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-06-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -289,7 +289,6 @@ files:
|
|
|
289
289
|
- ".rspec"
|
|
290
290
|
- CHANGELOG.md
|
|
291
291
|
- Gemfile
|
|
292
|
-
- Gemfile.lock
|
|
293
292
|
- Guardfile
|
|
294
293
|
- LICENSE.txt
|
|
295
294
|
- README.md
|
|
@@ -398,7 +397,7 @@ files:
|
|
|
398
397
|
- lib/templates/default/app/user_data/bootstrap.sh.tt
|
|
399
398
|
- lib/templates/default/app/user_data/layouts/default.sh.tt
|
|
400
399
|
- lib/templates/default/config/settings.yml.tt
|
|
401
|
-
- lib/templates/default/config/variables/development.
|
|
400
|
+
- lib/templates/default/config/variables/development.rb.tt
|
|
402
401
|
- lib/templates/default/profiles/default.yml.tt
|
|
403
402
|
- spec/fixtures/demo_project/.env.test
|
|
404
403
|
- spec/fixtures/demo_project/app/user_data/bootstrap.sh
|
|
@@ -428,7 +427,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
428
427
|
- !ruby/object:Gem::Version
|
|
429
428
|
version: '0'
|
|
430
429
|
requirements: []
|
|
431
|
-
rubygems_version: 3.
|
|
430
|
+
rubygems_version: 3.1.2
|
|
432
431
|
signing_key:
|
|
433
432
|
specification_version: 4
|
|
434
433
|
summary: Create EC2 Instances with preconfigured settings
|
data/Gemfile.lock
DELETED
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
forger (3.0.0)
|
|
5
|
-
activesupport
|
|
6
|
-
aws-sdk-cloudformation
|
|
7
|
-
aws-sdk-ec2
|
|
8
|
-
aws-sdk-s3
|
|
9
|
-
cfn-status
|
|
10
|
-
dotenv
|
|
11
|
-
filesize
|
|
12
|
-
hashie
|
|
13
|
-
memoist
|
|
14
|
-
rainbow
|
|
15
|
-
render_me_pretty
|
|
16
|
-
thor
|
|
17
|
-
zeitwerk
|
|
18
|
-
|
|
19
|
-
GEM
|
|
20
|
-
remote: https://rubygems.org/
|
|
21
|
-
specs:
|
|
22
|
-
activesupport (6.0.0)
|
|
23
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
24
|
-
i18n (>= 0.7, < 2)
|
|
25
|
-
minitest (~> 5.1)
|
|
26
|
-
tzinfo (~> 1.1)
|
|
27
|
-
zeitwerk (~> 2.1, >= 2.1.8)
|
|
28
|
-
aws-eventstream (1.0.3)
|
|
29
|
-
aws-partitions (1.207.0)
|
|
30
|
-
aws-sdk-cloudformation (1.25.0)
|
|
31
|
-
aws-sdk-core (~> 3, >= 3.61.1)
|
|
32
|
-
aws-sigv4 (~> 1.1)
|
|
33
|
-
aws-sdk-core (3.65.1)
|
|
34
|
-
aws-eventstream (~> 1.0, >= 1.0.2)
|
|
35
|
-
aws-partitions (~> 1.0)
|
|
36
|
-
aws-sigv4 (~> 1.1)
|
|
37
|
-
jmespath (~> 1.0)
|
|
38
|
-
aws-sdk-ec2 (1.106.0)
|
|
39
|
-
aws-sdk-core (~> 3, >= 3.61.1)
|
|
40
|
-
aws-sigv4 (~> 1.1)
|
|
41
|
-
aws-sdk-kms (1.24.0)
|
|
42
|
-
aws-sdk-core (~> 3, >= 3.61.1)
|
|
43
|
-
aws-sigv4 (~> 1.1)
|
|
44
|
-
aws-sdk-s3 (1.48.0)
|
|
45
|
-
aws-sdk-core (~> 3, >= 3.61.1)
|
|
46
|
-
aws-sdk-kms (~> 1)
|
|
47
|
-
aws-sigv4 (~> 1.1)
|
|
48
|
-
aws-sigv4 (1.1.0)
|
|
49
|
-
aws-eventstream (~> 1.0, >= 1.0.2)
|
|
50
|
-
byebug (11.0.1)
|
|
51
|
-
cfn-status (0.2.0)
|
|
52
|
-
aws-sdk-cloudformation
|
|
53
|
-
coderay (1.1.2)
|
|
54
|
-
concurrent-ruby (1.1.5)
|
|
55
|
-
diff-lcs (1.3)
|
|
56
|
-
dotenv (2.7.5)
|
|
57
|
-
ffi (1.11.1)
|
|
58
|
-
filesize (0.2.0)
|
|
59
|
-
formatador (0.2.5)
|
|
60
|
-
guard (2.15.0)
|
|
61
|
-
formatador (>= 0.2.4)
|
|
62
|
-
listen (>= 2.7, < 4.0)
|
|
63
|
-
lumberjack (>= 1.0.12, < 2.0)
|
|
64
|
-
nenv (~> 0.1)
|
|
65
|
-
notiffany (~> 0.0)
|
|
66
|
-
pry (>= 0.9.12)
|
|
67
|
-
shellany (~> 0.0)
|
|
68
|
-
thor (>= 0.18.1)
|
|
69
|
-
guard-bundler (2.2.1)
|
|
70
|
-
bundler (>= 1.3.0, < 3)
|
|
71
|
-
guard (~> 2.2)
|
|
72
|
-
guard-compat (~> 1.1)
|
|
73
|
-
guard-compat (1.2.1)
|
|
74
|
-
guard-rspec (4.7.3)
|
|
75
|
-
guard (~> 2.1)
|
|
76
|
-
guard-compat (~> 1.1)
|
|
77
|
-
rspec (>= 2.99.0, < 4.0)
|
|
78
|
-
hashie (3.6.0)
|
|
79
|
-
i18n (1.6.0)
|
|
80
|
-
concurrent-ruby (~> 1.0)
|
|
81
|
-
jmespath (1.4.0)
|
|
82
|
-
listen (3.1.5)
|
|
83
|
-
rb-fsevent (~> 0.9, >= 0.9.4)
|
|
84
|
-
rb-inotify (~> 0.9, >= 0.9.7)
|
|
85
|
-
ruby_dep (~> 1.2)
|
|
86
|
-
lumberjack (1.0.13)
|
|
87
|
-
memoist (0.16.0)
|
|
88
|
-
method_source (0.9.2)
|
|
89
|
-
minitest (5.11.3)
|
|
90
|
-
nenv (0.3.0)
|
|
91
|
-
notiffany (0.1.3)
|
|
92
|
-
nenv (~> 0.1)
|
|
93
|
-
shellany (~> 0.0)
|
|
94
|
-
pry (0.12.2)
|
|
95
|
-
coderay (~> 1.1.0)
|
|
96
|
-
method_source (~> 0.9.0)
|
|
97
|
-
rainbow (3.0.0)
|
|
98
|
-
rake (12.3.3)
|
|
99
|
-
rb-fsevent (0.10.3)
|
|
100
|
-
rb-inotify (0.10.0)
|
|
101
|
-
ffi (~> 1.0)
|
|
102
|
-
render_me_pretty (0.8.3)
|
|
103
|
-
activesupport
|
|
104
|
-
rainbow
|
|
105
|
-
tilt
|
|
106
|
-
rspec (3.8.0)
|
|
107
|
-
rspec-core (~> 3.8.0)
|
|
108
|
-
rspec-expectations (~> 3.8.0)
|
|
109
|
-
rspec-mocks (~> 3.8.0)
|
|
110
|
-
rspec-core (3.8.2)
|
|
111
|
-
rspec-support (~> 3.8.0)
|
|
112
|
-
rspec-expectations (3.8.4)
|
|
113
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
114
|
-
rspec-support (~> 3.8.0)
|
|
115
|
-
rspec-mocks (3.8.1)
|
|
116
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
117
|
-
rspec-support (~> 3.8.0)
|
|
118
|
-
rspec-support (3.8.2)
|
|
119
|
-
ruby_dep (1.5.0)
|
|
120
|
-
shellany (0.0.1)
|
|
121
|
-
thor (0.20.3)
|
|
122
|
-
thread_safe (0.3.6)
|
|
123
|
-
tilt (2.0.9)
|
|
124
|
-
tzinfo (1.2.5)
|
|
125
|
-
thread_safe (~> 0.1)
|
|
126
|
-
zeitwerk (2.1.9)
|
|
127
|
-
|
|
128
|
-
PLATFORMS
|
|
129
|
-
ruby
|
|
130
|
-
|
|
131
|
-
DEPENDENCIES
|
|
132
|
-
bundler
|
|
133
|
-
byebug
|
|
134
|
-
forger!
|
|
135
|
-
guard
|
|
136
|
-
guard-bundler
|
|
137
|
-
guard-rspec
|
|
138
|
-
rake
|
|
139
|
-
|
|
140
|
-
BUNDLED WITH
|
|
141
|
-
2.0.2
|