capistrano-elb-autoscaling 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +26 -0
- data/.rspec +1 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +20 -0
- data/README.md +97 -0
- data/Rakefile +5 -0
- data/elbas.gemspec +31 -0
- data/lib/elbas/aws/ami.rb +71 -0
- data/lib/elbas/aws/autoscale_group.rb +52 -0
- data/lib/elbas/aws/base.rb +39 -0
- data/lib/elbas/aws/instance.rb +29 -0
- data/lib/elbas/aws/instance_collection.rb +35 -0
- data/lib/elbas/aws/launch_template.rb +39 -0
- data/lib/elbas/aws/snapshot.rb +21 -0
- data/lib/elbas/aws/taggable.rb +18 -0
- data/lib/elbas/capistrano.rb +34 -0
- data/lib/elbas/errors/no_launch_template.rb +6 -0
- data/lib/elbas/logger.rb +38 -0
- data/lib/elbas/retryable.rb +41 -0
- data/lib/elbas/tasks/elbas.rake +38 -0
- data/lib/elbas/version.rb +3 -0
- data/lib/elbas.rb +21 -0
- data/spec/aws/ami_spec.rb +140 -0
- data/spec/aws/autoscale_group_spec.rb +67 -0
- data/spec/aws/instance_collection_spec.rb +38 -0
- data/spec/aws/instance_spec.rb +30 -0
- data/spec/aws/launch_template_spec.rb +52 -0
- data/spec/aws/taggable_spec.rb +53 -0
- data/spec/capistrano_spec.rb +77 -0
- data/spec/spec_helper.rb +27 -0
- data/spec/support/stubs/CreateImage.200.xml +4 -0
- data/spec/support/stubs/CreateLaunchConfiguration.200.xml +5 -0
- data/spec/support/stubs/CreateLaunchTemplateVersion.200.xml +16 -0
- data/spec/support/stubs/CreateTags.200.xml +5 -0
- data/spec/support/stubs/DeleteLaunchConfiguration.200.xml +5 -0
- data/spec/support/stubs/DeleteSnapshot.200.xml +4 -0
- data/spec/support/stubs/DeregisterImage.200.xml +4 -0
- data/spec/support/stubs/DescribeAutoScalingGroups.200.xml +60 -0
- data/spec/support/stubs/DescribeImages.200.xml +70 -0
- data/spec/support/stubs/DescribeInstances.200.xml +231 -0
- data/spec/support/stubs/DescribeInstances_Empty.200.xml +17 -0
- data/spec/support/stubs/DescribeInstances_MultipleReservations.200.xml +243 -0
- data/spec/support/stubs/DescribeInstances_MultipleRunning.200.xml +338 -0
- data/spec/support/stubs/DescribeLaunchConfigurations.200.xml +29 -0
- data/spec/support/stubs/DescribeSnapshots.200.xml +18 -0
- data/spec/support/stubs/DescribeTags.200.xml +17 -0
- data/spec/support/stubs/UpdateAutoScalingGroup.200.xml +5 -0
- data/spec/support/stubs/security-credentials.200.json +9 -0
- metadata +243 -0
@@ -0,0 +1,338 @@
|
|
1
|
+
<DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
|
2
|
+
<requestId>fdcdcab1-ae5c-489e-9c33-4637c5dda355</requestId>
|
3
|
+
<reservationSet>
|
4
|
+
<item>
|
5
|
+
<reservationId>r-1a2b3c4d</reservationId>
|
6
|
+
<ownerId>123456789012</ownerId>
|
7
|
+
<groupSet>
|
8
|
+
<item>
|
9
|
+
<groupId>sg-1a2b3c4d</groupId>
|
10
|
+
<groupName>my-security-group</groupName>
|
11
|
+
</item>
|
12
|
+
</groupSet>
|
13
|
+
<instancesSet>
|
14
|
+
<item>
|
15
|
+
<instanceId>i-1234567890</instanceId>
|
16
|
+
<imageId>ami-1a2b3c4d</imageId>
|
17
|
+
<instanceState>
|
18
|
+
<code>16</code>
|
19
|
+
<name>running</name>
|
20
|
+
</instanceState>
|
21
|
+
<privateDnsName/>
|
22
|
+
<dnsName>ec2-1234567890.amazonaws.com</dnsName>
|
23
|
+
<reason/>
|
24
|
+
<keyName>my-key-pair</keyName>
|
25
|
+
<amiLaunchIndex>0</amiLaunchIndex>
|
26
|
+
<productCodes/>
|
27
|
+
<instanceType>c1.medium</instanceType>
|
28
|
+
<launchTime>Y2035-02-09T23:17:13Z+0000</launchTime>
|
29
|
+
<placement>
|
30
|
+
<availabilityZone>us-west-2a</availabilityZone>
|
31
|
+
<groupName/>
|
32
|
+
<tenancy>default</tenancy>
|
33
|
+
</placement>
|
34
|
+
<platform>windows</platform>
|
35
|
+
<monitoring>
|
36
|
+
<state>disabled</state>
|
37
|
+
</monitoring>
|
38
|
+
<subnetId>subnet-1a2b3c4d</subnetId>
|
39
|
+
<vpcId>vpc-1a2b3c4d</vpcId>
|
40
|
+
<privateIpAddress>10.0.0.12</privateIpAddress>
|
41
|
+
<ipAddress>46.51.219.63</ipAddress>
|
42
|
+
<sourceDestCheck>true</sourceDestCheck>
|
43
|
+
<groupSet>
|
44
|
+
<item>
|
45
|
+
<groupId>sg-1a2b3c4d</groupId>
|
46
|
+
<groupName>my-security-group</groupName>
|
47
|
+
</item>
|
48
|
+
</groupSet>
|
49
|
+
<architecture>x86_64</architecture>
|
50
|
+
<rootDeviceType>ebs</rootDeviceType>
|
51
|
+
<rootDeviceName>/dev/sda1</rootDeviceName>
|
52
|
+
<blockDeviceMapping>
|
53
|
+
<item>
|
54
|
+
<deviceName>/dev/sda1</deviceName>
|
55
|
+
<ebs>
|
56
|
+
<volumeId>vol-1a2b3c4d</volumeId>
|
57
|
+
<status>attached</status>
|
58
|
+
<attachTime>2035-02-09T23:17:13Z</attachTime>
|
59
|
+
<deleteOnTermination>true</deleteOnTermination>
|
60
|
+
</ebs>
|
61
|
+
</item>
|
62
|
+
</blockDeviceMapping>
|
63
|
+
<virtualizationType>hvm</virtualizationType>
|
64
|
+
<clientToken>ABCDE1234567890123</clientToken>
|
65
|
+
<tagSet>
|
66
|
+
<item>
|
67
|
+
<key>Name</key>
|
68
|
+
<value>Windows Instance</value>
|
69
|
+
</item>
|
70
|
+
</tagSet>
|
71
|
+
<hypervisor>xen</hypervisor>
|
72
|
+
<networkInterfaceSet>
|
73
|
+
<item>
|
74
|
+
<networkInterfaceId>eni-1a2b3c4d</networkInterfaceId>
|
75
|
+
<subnetId>subnet-1a2b3c4d</subnetId>
|
76
|
+
<vpcId>vpc-1a2b3c4d</vpcId>
|
77
|
+
<description>Primary network interface</description>
|
78
|
+
<ownerId>123456789012</ownerId>
|
79
|
+
<status>in-use</status>
|
80
|
+
<macAddress>1b:2b:3c:4d:5e:6f</macAddress>
|
81
|
+
<privateIpAddress>10.0.0.12</privateIpAddress>
|
82
|
+
<sourceDestCheck>true</sourceDestCheck>
|
83
|
+
<groupSet>
|
84
|
+
<item>
|
85
|
+
<groupId>sg-1a2b3c4d</groupId>
|
86
|
+
<groupName>my-security-group</groupName>
|
87
|
+
</item>
|
88
|
+
</groupSet>
|
89
|
+
<attachment>
|
90
|
+
<attachmentId>eni-attach-1a2b3c4d</attachmentId>
|
91
|
+
<deviceIndex>0</deviceIndex>
|
92
|
+
<status>attached</status>
|
93
|
+
<attachTime>2035-02-09T23:17:13Z</attachTime>
|
94
|
+
<deleteOnTermination>true</deleteOnTermination>
|
95
|
+
</attachment>
|
96
|
+
<association>
|
97
|
+
<publicIp>198.51.100.63</publicIp>
|
98
|
+
<ipOwnerId>123456789012</ipOwnerId>
|
99
|
+
</association>
|
100
|
+
<privateIpAddressesSet>
|
101
|
+
<item>
|
102
|
+
<privateIpAddress>10.0.0.12</privateIpAddress>
|
103
|
+
<primary>true</primary>
|
104
|
+
<association>
|
105
|
+
<publicIp>198.51.100.63</publicIp>
|
106
|
+
<ipOwnerId>123456789012</ipOwnerId>
|
107
|
+
</association>
|
108
|
+
</item>
|
109
|
+
<item>
|
110
|
+
<privateIpAddress>10.0.0.14</privateIpAddress>
|
111
|
+
<primary>false</primary>
|
112
|
+
<association>
|
113
|
+
<publicIp>198.51.100.177</publicIp>
|
114
|
+
<ipOwnerId>123456789012</ipOwnerId>
|
115
|
+
</association>
|
116
|
+
</item>
|
117
|
+
</privateIpAddressesSet>
|
118
|
+
</item>
|
119
|
+
</networkInterfaceSet>
|
120
|
+
</item>
|
121
|
+
<item>
|
122
|
+
<instanceId>i-1122334455</instanceId>
|
123
|
+
<imageId>ami-1a2b3c4d</imageId>
|
124
|
+
<instanceState>
|
125
|
+
<code>16</code>
|
126
|
+
<name>running</name>
|
127
|
+
</instanceState>
|
128
|
+
<privateDnsName/>
|
129
|
+
<dnsName>ec2-1122334455.amazonaws.com</dnsName>
|
130
|
+
<reason/>
|
131
|
+
<keyName>my-key-pair</keyName>
|
132
|
+
<amiLaunchIndex>0</amiLaunchIndex>
|
133
|
+
<productCodes/>
|
134
|
+
<instanceType>c1.medium</instanceType>
|
135
|
+
<launchTime>Y2035-02-09T23:17:13Z+0000</launchTime>
|
136
|
+
<placement>
|
137
|
+
<availabilityZone>us-west-2a</availabilityZone>
|
138
|
+
<groupName/>
|
139
|
+
<tenancy>default</tenancy>
|
140
|
+
</placement>
|
141
|
+
<platform>windows</platform>
|
142
|
+
<monitoring>
|
143
|
+
<state>disabled</state>
|
144
|
+
</monitoring>
|
145
|
+
<subnetId>subnet-1a2b3c4d</subnetId>
|
146
|
+
<vpcId>vpc-1a2b3c4d</vpcId>
|
147
|
+
<privateIpAddress>10.0.0.12</privateIpAddress>
|
148
|
+
<ipAddress>46.51.219.63</ipAddress>
|
149
|
+
<sourceDestCheck>true</sourceDestCheck>
|
150
|
+
<groupSet>
|
151
|
+
<item>
|
152
|
+
<groupId>sg-1a2b3c4d</groupId>
|
153
|
+
<groupName>my-security-group</groupName>
|
154
|
+
</item>
|
155
|
+
</groupSet>
|
156
|
+
<architecture>x86_64</architecture>
|
157
|
+
<rootDeviceType>ebs</rootDeviceType>
|
158
|
+
<rootDeviceName>/dev/sda1</rootDeviceName>
|
159
|
+
<blockDeviceMapping>
|
160
|
+
<item>
|
161
|
+
<deviceName>/dev/sda1</deviceName>
|
162
|
+
<ebs>
|
163
|
+
<volumeId>vol-1a2b3c4d</volumeId>
|
164
|
+
<status>attached</status>
|
165
|
+
<attachTime>2035-02-09T23:17:13Z</attachTime>
|
166
|
+
<deleteOnTermination>true</deleteOnTermination>
|
167
|
+
</ebs>
|
168
|
+
</item>
|
169
|
+
</blockDeviceMapping>
|
170
|
+
<virtualizationType>hvm</virtualizationType>
|
171
|
+
<clientToken>ABCDE1234567890123</clientToken>
|
172
|
+
<tagSet>
|
173
|
+
<item>
|
174
|
+
<key>Name</key>
|
175
|
+
<value>Windows Instance</value>
|
176
|
+
</item>
|
177
|
+
</tagSet>
|
178
|
+
<hypervisor>xen</hypervisor>
|
179
|
+
<networkInterfaceSet>
|
180
|
+
<item>
|
181
|
+
<networkInterfaceId>eni-1a2b3c4d</networkInterfaceId>
|
182
|
+
<subnetId>subnet-1a2b3c4d</subnetId>
|
183
|
+
<vpcId>vpc-1a2b3c4d</vpcId>
|
184
|
+
<description>Primary network interface</description>
|
185
|
+
<ownerId>123456789012</ownerId>
|
186
|
+
<status>in-use</status>
|
187
|
+
<macAddress>1b:2b:3c:4d:5e:6f</macAddress>
|
188
|
+
<privateIpAddress>10.0.0.12</privateIpAddress>
|
189
|
+
<sourceDestCheck>true</sourceDestCheck>
|
190
|
+
<groupSet>
|
191
|
+
<item>
|
192
|
+
<groupId>sg-1a2b3c4d</groupId>
|
193
|
+
<groupName>my-security-group</groupName>
|
194
|
+
</item>
|
195
|
+
</groupSet>
|
196
|
+
<attachment>
|
197
|
+
<attachmentId>eni-attach-1a2b3c4d</attachmentId>
|
198
|
+
<deviceIndex>0</deviceIndex>
|
199
|
+
<status>attached</status>
|
200
|
+
<attachTime>2035-02-09T23:17:13Z</attachTime>
|
201
|
+
<deleteOnTermination>true</deleteOnTermination>
|
202
|
+
</attachment>
|
203
|
+
<association>
|
204
|
+
<publicIp>198.51.100.63</publicIp>
|
205
|
+
<ipOwnerId>123456789012</ipOwnerId>
|
206
|
+
</association>
|
207
|
+
<privateIpAddressesSet>
|
208
|
+
<item>
|
209
|
+
<privateIpAddress>10.0.0.12</privateIpAddress>
|
210
|
+
<primary>true</primary>
|
211
|
+
<association>
|
212
|
+
<publicIp>198.51.100.63</publicIp>
|
213
|
+
<ipOwnerId>123456789012</ipOwnerId>
|
214
|
+
</association>
|
215
|
+
</item>
|
216
|
+
<item>
|
217
|
+
<privateIpAddress>10.0.0.14</privateIpAddress>
|
218
|
+
<primary>false</primary>
|
219
|
+
<association>
|
220
|
+
<publicIp>198.51.100.177</publicIp>
|
221
|
+
<ipOwnerId>123456789012</ipOwnerId>
|
222
|
+
</association>
|
223
|
+
</item>
|
224
|
+
</privateIpAddressesSet>
|
225
|
+
</item>
|
226
|
+
</networkInterfaceSet>
|
227
|
+
</item>
|
228
|
+
<item>
|
229
|
+
<instanceId>i-500</instanceId>
|
230
|
+
<imageId>ami-1a2b3c4d</imageId>
|
231
|
+
<instanceState>
|
232
|
+
<code>32</code>
|
233
|
+
<name>shutting-down</name>
|
234
|
+
</instanceState>
|
235
|
+
<privateDnsName/>
|
236
|
+
<dnsName>ec2-500.amazonaws.com</dnsName>
|
237
|
+
<reason/>
|
238
|
+
<keyName>my-key-pair</keyName>
|
239
|
+
<amiLaunchIndex>0</amiLaunchIndex>
|
240
|
+
<productCodes/>
|
241
|
+
<instanceType>c1.medium</instanceType>
|
242
|
+
<launchTime>Y2035-02-09T23:17:13Z+0000</launchTime>
|
243
|
+
<placement>
|
244
|
+
<availabilityZone>us-west-2a</availabilityZone>
|
245
|
+
<groupName/>
|
246
|
+
<tenancy>default</tenancy>
|
247
|
+
</placement>
|
248
|
+
<platform>windows</platform>
|
249
|
+
<monitoring>
|
250
|
+
<state>disabled</state>
|
251
|
+
</monitoring>
|
252
|
+
<subnetId>subnet-1a2b3c4d</subnetId>
|
253
|
+
<vpcId>vpc-1a2b3c4d</vpcId>
|
254
|
+
<privateIpAddress>10.0.0.12</privateIpAddress>
|
255
|
+
<ipAddress>46.51.219.63</ipAddress>
|
256
|
+
<sourceDestCheck>true</sourceDestCheck>
|
257
|
+
<groupSet>
|
258
|
+
<item>
|
259
|
+
<groupId>sg-1a2b3c4d</groupId>
|
260
|
+
<groupName>my-security-group</groupName>
|
261
|
+
</item>
|
262
|
+
</groupSet>
|
263
|
+
<architecture>x86_64</architecture>
|
264
|
+
<rootDeviceType>ebs</rootDeviceType>
|
265
|
+
<rootDeviceName>/dev/sda1</rootDeviceName>
|
266
|
+
<blockDeviceMapping>
|
267
|
+
<item>
|
268
|
+
<deviceName>/dev/sda1</deviceName>
|
269
|
+
<ebs>
|
270
|
+
<volumeId>vol-1a2b3c4d</volumeId>
|
271
|
+
<status>attached</status>
|
272
|
+
<attachTime>2035-02-09T23:17:13Z</attachTime>
|
273
|
+
<deleteOnTermination>true</deleteOnTermination>
|
274
|
+
</ebs>
|
275
|
+
</item>
|
276
|
+
</blockDeviceMapping>
|
277
|
+
<virtualizationType>hvm</virtualizationType>
|
278
|
+
<clientToken>ABCDE1234567890123</clientToken>
|
279
|
+
<tagSet>
|
280
|
+
<item>
|
281
|
+
<key>Name</key>
|
282
|
+
<value>Windows Instance</value>
|
283
|
+
</item>
|
284
|
+
</tagSet>
|
285
|
+
<hypervisor>xen</hypervisor>
|
286
|
+
<networkInterfaceSet>
|
287
|
+
<item>
|
288
|
+
<networkInterfaceId>eni-1a2b3c4d</networkInterfaceId>
|
289
|
+
<subnetId>subnet-1a2b3c4d</subnetId>
|
290
|
+
<vpcId>vpc-1a2b3c4d</vpcId>
|
291
|
+
<description>Primary network interface</description>
|
292
|
+
<ownerId>123456789012</ownerId>
|
293
|
+
<status>in-use</status>
|
294
|
+
<macAddress>1b:2b:3c:4d:5e:6f</macAddress>
|
295
|
+
<privateIpAddress>10.0.0.12</privateIpAddress>
|
296
|
+
<sourceDestCheck>true</sourceDestCheck>
|
297
|
+
<groupSet>
|
298
|
+
<item>
|
299
|
+
<groupId>sg-1a2b3c4d</groupId>
|
300
|
+
<groupName>my-security-group</groupName>
|
301
|
+
</item>
|
302
|
+
</groupSet>
|
303
|
+
<attachment>
|
304
|
+
<attachmentId>eni-attach-1a2b3c4d</attachmentId>
|
305
|
+
<deviceIndex>0</deviceIndex>
|
306
|
+
<status>attached</status>
|
307
|
+
<attachTime>2035-02-09T23:17:13Z</attachTime>
|
308
|
+
<deleteOnTermination>true</deleteOnTermination>
|
309
|
+
</attachment>
|
310
|
+
<association>
|
311
|
+
<publicIp>198.51.100.63</publicIp>
|
312
|
+
<ipOwnerId>123456789012</ipOwnerId>
|
313
|
+
</association>
|
314
|
+
<privateIpAddressesSet>
|
315
|
+
<item>
|
316
|
+
<privateIpAddress>10.0.0.12</privateIpAddress>
|
317
|
+
<primary>true</primary>
|
318
|
+
<association>
|
319
|
+
<publicIp>198.51.100.63</publicIp>
|
320
|
+
<ipOwnerId>123456789012</ipOwnerId>
|
321
|
+
</association>
|
322
|
+
</item>
|
323
|
+
<item>
|
324
|
+
<privateIpAddress>10.0.0.14</privateIpAddress>
|
325
|
+
<primary>false</primary>
|
326
|
+
<association>
|
327
|
+
<publicIp>198.51.100.177</publicIp>
|
328
|
+
<ipOwnerId>123456789012</ipOwnerId>
|
329
|
+
</association>
|
330
|
+
</item>
|
331
|
+
</privateIpAddressesSet>
|
332
|
+
</item>
|
333
|
+
</networkInterfaceSet>
|
334
|
+
</item>
|
335
|
+
</instancesSet>
|
336
|
+
</item>
|
337
|
+
</reservationSet>
|
338
|
+
</DescribeInstancesResponse>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<DescribeLaunchConfigurationsResponse xmlns="http://autoscaling.amazonaws.com/doc/2011-01-01/">
|
2
|
+
<DescribeLaunchConfigurationsResult>
|
3
|
+
<LaunchConfigurations>
|
4
|
+
<member>
|
5
|
+
<AssociatePublicIpAddress>true</AssociatePublicIpAddress>
|
6
|
+
<SecurityGroups/>
|
7
|
+
<PlacementTenancy>dedicated</PlacementTenancy>
|
8
|
+
<CreatedTime>2013-01-21T23:04:42.200Z</CreatedTime>
|
9
|
+
<KernelId/>
|
10
|
+
<LaunchConfigurationName>ELBAS-production-production-LC-1234567890</LaunchConfigurationName>
|
11
|
+
<UserData/>
|
12
|
+
<InstanceType>m1.small</InstanceType>
|
13
|
+
<LaunchConfigurationARN>arn:aws:autoscaling:us-east-1:803981987763:launchConfiguration:
|
14
|
+
9dbbbf87-6141-428a-a409-0752edbe6cad:launchConfigurationName/my-test-lc</LaunchConfigurationARN>
|
15
|
+
<BlockDeviceMappings/>
|
16
|
+
<ImageId>ami-514ac838</ImageId>
|
17
|
+
<KeyName/>
|
18
|
+
<RamdiskId/>
|
19
|
+
<InstanceMonitoring>
|
20
|
+
<Enabled>true</Enabled>
|
21
|
+
</InstanceMonitoring>
|
22
|
+
<EbsOptimized>false</EbsOptimized>
|
23
|
+
</member>
|
24
|
+
</LaunchConfigurations>
|
25
|
+
</DescribeLaunchConfigurationsResult>
|
26
|
+
<ResponseMetadata>
|
27
|
+
<RequestId>d05a22f8-b690-11e2-bf8e-2113fEXAMPLE</RequestId>
|
28
|
+
</ResponseMetadata>
|
29
|
+
</DescribeLaunchConfigurationsResponse>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<DescribeSnapshotsResponse xmlns="http://ec2.amazonaws.com/doc/2016-09-15/">
|
2
|
+
<requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
|
3
|
+
<snapshotSet>
|
4
|
+
<item>
|
5
|
+
<snapshotId>snap-1a2b3c4d</snapshotId>
|
6
|
+
<volumeId>vol-1234567890abcdef0</volumeId>
|
7
|
+
<status>pending</status>
|
8
|
+
<startTime>2013-01-21T23:04:42.200Z</startTime>
|
9
|
+
<progress>80%</progress>
|
10
|
+
<ownerId>111122223333</ownerId>
|
11
|
+
<volumeSize>15</volumeSize>
|
12
|
+
<description>Daily Backup</description>
|
13
|
+
<encrypted>true</encrypted>
|
14
|
+
<kmsKeyId>arn:aws:kms:us-east-1:123456789012:key/6876fb1b-example</kmsKeyId>
|
15
|
+
<tagSet/>
|
16
|
+
</item>
|
17
|
+
</snapshotSet>
|
18
|
+
</DescribeSnapshotsResponse>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<DescribeTagsResponse xmlns="http://ec2.amazonaws.com/doc/2014-10-01/">
|
2
|
+
<requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>
|
3
|
+
<tagSet>
|
4
|
+
<item>
|
5
|
+
<resourceId>ami-1a2b3c4d</resourceId>
|
6
|
+
<resourceType>image</resourceType>
|
7
|
+
<key>Deployed-with</key>
|
8
|
+
<value>ELBAS</value>
|
9
|
+
</item>
|
10
|
+
<item>
|
11
|
+
<resourceId>ami-1a2b3c4d</resourceId>
|
12
|
+
<resourceType>image</resourceType>
|
13
|
+
<key>ELBAS-Deploy-group</key>
|
14
|
+
<value>production</value>
|
15
|
+
</item>
|
16
|
+
</tagSet>
|
17
|
+
</DescribeTagsResponse>
|
metadata
ADDED
@@ -0,0 +1,243 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: capistrano-elb-autoscaling
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Heng Gek
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-09-07 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: byebug
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: webmock
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: webmock-rspec-helper
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: aws-sdk-autoscaling
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: aws-sdk-ec2
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: capistrano
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '3'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '3'
|
139
|
+
description: Capistrano plugin for deploying to AWS Auto Scaling Group.
|
140
|
+
email:
|
141
|
+
- tanhengegk@gmail.com
|
142
|
+
executables: []
|
143
|
+
extensions: []
|
144
|
+
extra_rdoc_files: []
|
145
|
+
files:
|
146
|
+
- ".gitignore"
|
147
|
+
- ".rspec"
|
148
|
+
- Gemfile
|
149
|
+
- LICENSE.txt
|
150
|
+
- README.md
|
151
|
+
- Rakefile
|
152
|
+
- elbas.gemspec
|
153
|
+
- lib/elbas.rb
|
154
|
+
- lib/elbas/aws/ami.rb
|
155
|
+
- lib/elbas/aws/autoscale_group.rb
|
156
|
+
- lib/elbas/aws/base.rb
|
157
|
+
- lib/elbas/aws/instance.rb
|
158
|
+
- lib/elbas/aws/instance_collection.rb
|
159
|
+
- lib/elbas/aws/launch_template.rb
|
160
|
+
- lib/elbas/aws/snapshot.rb
|
161
|
+
- lib/elbas/aws/taggable.rb
|
162
|
+
- lib/elbas/capistrano.rb
|
163
|
+
- lib/elbas/errors/no_launch_template.rb
|
164
|
+
- lib/elbas/logger.rb
|
165
|
+
- lib/elbas/retryable.rb
|
166
|
+
- lib/elbas/tasks/elbas.rake
|
167
|
+
- lib/elbas/version.rb
|
168
|
+
- spec/aws/ami_spec.rb
|
169
|
+
- spec/aws/autoscale_group_spec.rb
|
170
|
+
- spec/aws/instance_collection_spec.rb
|
171
|
+
- spec/aws/instance_spec.rb
|
172
|
+
- spec/aws/launch_template_spec.rb
|
173
|
+
- spec/aws/taggable_spec.rb
|
174
|
+
- spec/capistrano_spec.rb
|
175
|
+
- spec/spec_helper.rb
|
176
|
+
- spec/support/stubs/CreateImage.200.xml
|
177
|
+
- spec/support/stubs/CreateLaunchConfiguration.200.xml
|
178
|
+
- spec/support/stubs/CreateLaunchTemplateVersion.200.xml
|
179
|
+
- spec/support/stubs/CreateTags.200.xml
|
180
|
+
- spec/support/stubs/DeleteLaunchConfiguration.200.xml
|
181
|
+
- spec/support/stubs/DeleteSnapshot.200.xml
|
182
|
+
- spec/support/stubs/DeregisterImage.200.xml
|
183
|
+
- spec/support/stubs/DescribeAutoScalingGroups.200.xml
|
184
|
+
- spec/support/stubs/DescribeImages.200.xml
|
185
|
+
- spec/support/stubs/DescribeInstances.200.xml
|
186
|
+
- spec/support/stubs/DescribeInstances_Empty.200.xml
|
187
|
+
- spec/support/stubs/DescribeInstances_MultipleReservations.200.xml
|
188
|
+
- spec/support/stubs/DescribeInstances_MultipleRunning.200.xml
|
189
|
+
- spec/support/stubs/DescribeLaunchConfigurations.200.xml
|
190
|
+
- spec/support/stubs/DescribeSnapshots.200.xml
|
191
|
+
- spec/support/stubs/DescribeTags.200.xml
|
192
|
+
- spec/support/stubs/UpdateAutoScalingGroup.200.xml
|
193
|
+
- spec/support/stubs/security-credentials.200.json
|
194
|
+
homepage: https://github.com/tanhenggek/capistrano-elb-autoscaling
|
195
|
+
licenses:
|
196
|
+
- MIT
|
197
|
+
metadata: {}
|
198
|
+
post_install_message:
|
199
|
+
rdoc_options: []
|
200
|
+
require_paths:
|
201
|
+
- lib
|
202
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - ">="
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: '0'
|
207
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
208
|
+
requirements:
|
209
|
+
- - ">="
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: '0'
|
212
|
+
requirements: []
|
213
|
+
rubygems_version: 3.3.7
|
214
|
+
signing_key:
|
215
|
+
specification_version: 4
|
216
|
+
summary: Capistrano plugin for deploying to AWS Auto Scaling Group.
|
217
|
+
test_files:
|
218
|
+
- spec/aws/ami_spec.rb
|
219
|
+
- spec/aws/autoscale_group_spec.rb
|
220
|
+
- spec/aws/instance_collection_spec.rb
|
221
|
+
- spec/aws/instance_spec.rb
|
222
|
+
- spec/aws/launch_template_spec.rb
|
223
|
+
- spec/aws/taggable_spec.rb
|
224
|
+
- spec/capistrano_spec.rb
|
225
|
+
- spec/spec_helper.rb
|
226
|
+
- spec/support/stubs/CreateImage.200.xml
|
227
|
+
- spec/support/stubs/CreateLaunchConfiguration.200.xml
|
228
|
+
- spec/support/stubs/CreateLaunchTemplateVersion.200.xml
|
229
|
+
- spec/support/stubs/CreateTags.200.xml
|
230
|
+
- spec/support/stubs/DeleteLaunchConfiguration.200.xml
|
231
|
+
- spec/support/stubs/DeleteSnapshot.200.xml
|
232
|
+
- spec/support/stubs/DeregisterImage.200.xml
|
233
|
+
- spec/support/stubs/DescribeAutoScalingGroups.200.xml
|
234
|
+
- spec/support/stubs/DescribeImages.200.xml
|
235
|
+
- spec/support/stubs/DescribeInstances.200.xml
|
236
|
+
- spec/support/stubs/DescribeInstances_Empty.200.xml
|
237
|
+
- spec/support/stubs/DescribeInstances_MultipleReservations.200.xml
|
238
|
+
- spec/support/stubs/DescribeInstances_MultipleRunning.200.xml
|
239
|
+
- spec/support/stubs/DescribeLaunchConfigurations.200.xml
|
240
|
+
- spec/support/stubs/DescribeSnapshots.200.xml
|
241
|
+
- spec/support/stubs/DescribeTags.200.xml
|
242
|
+
- spec/support/stubs/UpdateAutoScalingGroup.200.xml
|
243
|
+
- spec/support/stubs/security-credentials.200.json
|