aws-codedeploy-agent 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. data/aws-codedeploy-agent.gemspec +5 -5
  2. data/certs/host-agent-deployment-signer-ca-chain.pem +30 -0
  3. data/conf/codedeployagent.yml +0 -1
  4. data/lib/instance_agent.rb +1 -13
  5. data/lib/instance_agent/agent/base.rb +38 -12
  6. data/lib/instance_agent/agent/plugin.rb +21 -0
  7. data/lib/instance_agent/config.rb +2 -1
  8. data/lib/instance_agent/platform/linux_util.rb +4 -0
  9. data/lib/instance_agent/plugins/codedeploy/application_specification/ace_info.rb +133 -0
  10. data/lib/instance_agent/plugins/codedeploy/application_specification/acl_info.rb +163 -0
  11. data/lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb +143 -0
  12. data/lib/instance_agent/plugins/codedeploy/application_specification/context_info.rb +23 -0
  13. data/lib/instance_agent/plugins/codedeploy/application_specification/file_info.rb +23 -0
  14. data/lib/instance_agent/plugins/codedeploy/application_specification/linux_permission_info.rb +121 -0
  15. data/lib/instance_agent/plugins/codedeploy/application_specification/mode_info.rb +66 -0
  16. data/lib/instance_agent/plugins/codedeploy/application_specification/range_info.rb +134 -0
  17. data/lib/instance_agent/plugins/codedeploy/application_specification/script_info.rb +27 -0
  18. data/lib/instance_agent/plugins/codedeploy/codedeploy_control.rb +100 -0
  19. data/lib/instance_agent/plugins/codedeploy/command_executor.rb +359 -0
  20. data/lib/instance_agent/plugins/codedeploy/command_poller.rb +178 -0
  21. data/lib/instance_agent/plugins/codedeploy/deployment_specification.rb +161 -0
  22. data/lib/instance_agent/plugins/codedeploy/hook_executor.rb +226 -0
  23. data/lib/instance_agent/plugins/codedeploy/install_instruction.rb +389 -0
  24. data/lib/instance_agent/plugins/codedeploy/installer.rb +147 -0
  25. data/lib/instance_agent/plugins/codedeploy/onpremise_config.rb +42 -0
  26. data/lib/instance_agent/plugins/codedeploy/register_plugin.rb +17 -0
  27. data/lib/instance_agent/runner/child.rb +20 -5
  28. data/lib/instance_agent/runner/master.rb +2 -15
  29. data/lib/instance_metadata.rb +2 -2
  30. data/test/certificate_helper.rb +1 -1
  31. data/test/helpers/instance_agent_helper.rb +1 -0
  32. data/test/instance_agent/agent/base_test.rb +16 -3
  33. data/test/instance_agent/config_test.rb +2 -1
  34. data/test/instance_agent/plugins/codedeploy/application_specification_test.rb +1713 -0
  35. data/test/instance_agent/{codedeploy_plugin → plugins/codedeploy}/codedeploy_control_test.rb +1 -1
  36. data/test/instance_agent/{codedeploy_plugin → plugins/codedeploy}/command_executor_test.rb +32 -9
  37. data/test/instance_agent/{codedeploy_plugin → plugins/codedeploy}/command_poller_test.rb +13 -14
  38. data/test/instance_agent/{codedeploy_plugin → plugins/codedeploy}/deployment_specification_test.rb +98 -25
  39. data/test/instance_agent/{codedeploy_plugin → plugins/codedeploy}/hook_executor_test.rb +83 -15
  40. data/test/instance_agent/plugins/codedeploy/install_instruction_test.rb +568 -0
  41. data/test/instance_agent/{codedeploy_plugin → plugins/codedeploy}/installer_test.rb +12 -9
  42. data/test/instance_agent/plugins/codedeploy/onpremise_config_test.rb +72 -0
  43. data/test/instance_agent/runner/child_test.rb +1 -1
  44. data/vendor/gems/.codedeploy-commands-1.0.0.created.rid +1 -1
  45. data/vendor/gems/codedeploy-commands/lib/aws/plugins/deploy_control_endpoint.rb +4 -0
  46. data/vendor/gems/jmespath-1.0.1/lib/jmespath.rb +41 -0
  47. data/vendor/gems/jmespath-1.0.1/lib/jmespath/caching_parser.rb +30 -0
  48. data/vendor/gems/jmespath-1.0.1/lib/jmespath/errors.rb +17 -0
  49. data/vendor/gems/jmespath-1.0.1/lib/jmespath/expr_node.rb +15 -0
  50. data/vendor/gems/jmespath-1.0.1/lib/jmespath/lexer.rb +116 -0
  51. data/vendor/gems/jmespath-1.0.1/lib/jmespath/parser.rb +347 -0
  52. data/vendor/gems/jmespath-1.0.1/lib/jmespath/runtime.rb +71 -0
  53. data/vendor/gems/jmespath-1.0.1/lib/jmespath/token.rb +41 -0
  54. data/vendor/gems/jmespath-1.0.1/lib/jmespath/token_stream.rb +60 -0
  55. data/vendor/gems/jmespath-1.0.1/lib/jmespath/tree_interpreter.rb +523 -0
  56. data/vendor/gems/jmespath-1.0.1/lib/jmespath/version.rb +3 -0
  57. data/vendor/gems/process_manager/lib/process_manager/master.rb +16 -5
  58. data/vendor/specifications/{aws-sdk-core-2.0.5.gemspec → aws-sdk-core-2.0.42.gemspec} +9 -11
  59. data/vendor/specifications/builder-3.2.2.gemspec +1 -1
  60. data/vendor/specifications/codedeploy-commands-1.0.0.gemspec +7 -6
  61. data/vendor/specifications/gli-2.5.6.gemspec +1 -1
  62. data/vendor/specifications/jmespath-1.0.1.gemspec +29 -0
  63. data/vendor/specifications/little-plugger-1.1.3.gemspec +1 -1
  64. data/vendor/specifications/logging-1.8.1.gemspec +1 -1
  65. data/vendor/specifications/multi_json-1.7.7.gemspec +1 -1
  66. data/vendor/specifications/multi_json-1.8.4.gemspec +1 -1
  67. data/vendor/specifications/multi_xml-0.5.5.gemspec +1 -1
  68. data/vendor/specifications/process_manager-0.0.13.gemspec +1 -1
  69. data/vendor/specifications/simple_pid-0.2.1.gemspec +1 -1
  70. metadata +76 -63
  71. data/lib/instance_agent/codedeploy_plugin/application_specification/ace_info.rb +0 -133
  72. data/lib/instance_agent/codedeploy_plugin/application_specification/acl_info.rb +0 -163
  73. data/lib/instance_agent/codedeploy_plugin/application_specification/application_specification.rb +0 -142
  74. data/lib/instance_agent/codedeploy_plugin/application_specification/context_info.rb +0 -23
  75. data/lib/instance_agent/codedeploy_plugin/application_specification/file_info.rb +0 -23
  76. data/lib/instance_agent/codedeploy_plugin/application_specification/linux_permission_info.rb +0 -121
  77. data/lib/instance_agent/codedeploy_plugin/application_specification/mode_info.rb +0 -66
  78. data/lib/instance_agent/codedeploy_plugin/application_specification/range_info.rb +0 -134
  79. data/lib/instance_agent/codedeploy_plugin/application_specification/script_info.rb +0 -27
  80. data/lib/instance_agent/codedeploy_plugin/codedeploy_control.rb +0 -72
  81. data/lib/instance_agent/codedeploy_plugin/command_executor.rb +0 -357
  82. data/lib/instance_agent/codedeploy_plugin/command_poller.rb +0 -170
  83. data/lib/instance_agent/codedeploy_plugin/deployment_specification.rb +0 -150
  84. data/lib/instance_agent/codedeploy_plugin/hook_executor.rb +0 -206
  85. data/lib/instance_agent/codedeploy_plugin/install_instruction.rb +0 -374
  86. data/lib/instance_agent/codedeploy_plugin/installer.rb +0 -143
  87. data/lib/instance_agent/codedeploy_plugin/request_helper.rb +0 -28
  88. data/test/instance_agent/codedeploy_plugin/application_specification_test.rb +0 -1710
  89. data/test/instance_agent/codedeploy_plugin/install_instruction_test.rb +0 -566
  90. data/test/instance_agent/codedeploy_plugin/request_helper_test.rb +0 -37
  91. data/vendor/specifications/jamespath-0.5.1.gemspec +0 -35
@@ -0,0 +1,3 @@
1
+ module JMESPath
2
+ VERSION = '1.0.1'
3
+ end
@@ -125,6 +125,7 @@ module ProcessManager
125
125
  end
126
126
 
127
127
  def start
128
+ @kill_signal_received=0;
128
129
  handle_pid_file
129
130
  validate_ssl_config
130
131
  trap_signals
@@ -136,6 +137,13 @@ module ProcessManager
136
137
  loop do
137
138
  # master does nothing apart from replacing dead children
138
139
  # and forwarding signals
140
+ # To do that, it observes a kill_sig_received flag in every loop iteration
141
+ if @kill_signal_received != 0
142
+ ProcessManager::Log.info "#{description}: Received #{@kill_signal_received} - stopping children and shutting down"
143
+ kill_children(@kill_signal_received)
144
+ @kill_signal_received=0
145
+ cleanup_and_exit
146
+ end
139
147
  sleep 1
140
148
  end
141
149
  end
@@ -155,7 +163,7 @@ module ProcessManager
155
163
 
156
164
  def handle_pid_file
157
165
  @file_lock ||= File.open(pid_lock_file, File::RDWR|File::CREAT, 0644)
158
- lock_aquired = @file_lock.flock(File::LOCK_EX|File::LOCK_NB)
166
+ lock_aquired = @file_lock.flock(File::LOCK_EX | File::LOCK_NB)
159
167
 
160
168
  if lock_aquired == false
161
169
  ProcessManager::Log.info("Could not aquire lock on #{pid_lock_file} - aborting start!")
@@ -186,6 +194,7 @@ module ProcessManager
186
194
  def spawn_child(index)
187
195
  master_pid = $$ # need to store in order to pass down to child
188
196
  child_pid = fork do
197
+ @file_lock.close
189
198
  child_class.new(index, master_pid).start
190
199
  end
191
200
  children[index] = child_pid
@@ -197,9 +206,7 @@ module ProcessManager
197
206
  # The master shuts down immediately and forwards the signal to each child
198
207
  [:INT, :QUIT, :TERM].each do |sig|
199
208
  trap(sig) do
200
- ProcessManager::Log.info "#{description}: Received #{sig} - stopping children and shutting down"
201
- kill_children(sig)
202
- cleanup_and_exit
209
+ @kill_signal_received=sig
203
210
  end
204
211
  end
205
212
 
@@ -262,7 +269,11 @@ module ProcessManager
262
269
  if children.has_key?(i)
263
270
  ProcessManager::Log.debug "#{description}: child #{i+1}/#{ProcessManager::Config.config[:children]} is still there"
264
271
  else
265
- spawn_child(i)
272
+ Thread.new(i) do
273
+ # Sleep for 5 seconds before spawning a new child. That way we can avoid fork storm due to child process bootstrap issues.
274
+ sleep(5)
275
+ spawn_child(i)
276
+ end
266
277
  end
267
278
  end
268
279
  else
@@ -2,18 +2,19 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "aws-sdk-core"
5
- s.version = "2.0.5"
5
+ s.version = "2.0.42"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Amazon Web Services"]
9
- s.date = "2014-10-23"
10
- s.description = "Provides API clients for AWS."
9
+ s.date = "2015-05-07"
10
+ s.description = "Provides API clients for AWS. This gem is part of the official AWS SDK for Ruby."
11
+ s.email = ["trevrowe@amazon.com"]
11
12
  s.executables = ["aws.rb"]
12
13
  s.files = ["bin/aws.rb"]
13
- s.homepage = "http://github.com/aws/aws-sdk-core-ruby"
14
+ s.homepage = "http://github.com/aws/aws-sdk-ruby"
14
15
  s.licenses = ["Apache 2.0"]
15
16
  s.require_paths = ["lib"]
16
- s.rubygems_version = "1.8.23"
17
+ s.rubygems_version = "1.8.23.2"
17
18
  s.summary = "AWS SDK for Ruby - Core"
18
19
 
19
20
  if s.respond_to? :specification_version then
@@ -21,19 +22,16 @@ Gem::Specification.new do |s|
21
22
 
22
23
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
23
24
  s.add_runtime_dependency(%q<multi_json>, ["~> 1.0"])
24
- s.add_runtime_dependency(%q<multi_xml>, ["~> 0.5"])
25
25
  s.add_runtime_dependency(%q<builder>, ["~> 3.0"])
26
- s.add_runtime_dependency(%q<jamespath>, [">= 0.5.1"])
26
+ s.add_runtime_dependency(%q<jmespath>, ["~> 1.0"])
27
27
  else
28
28
  s.add_dependency(%q<multi_json>, ["~> 1.0"])
29
- s.add_dependency(%q<multi_xml>, ["~> 0.5"])
30
29
  s.add_dependency(%q<builder>, ["~> 3.0"])
31
- s.add_dependency(%q<jamespath>, [">= 0.5.1"])
30
+ s.add_dependency(%q<jmespath>, ["~> 1.0"])
32
31
  end
33
32
  else
34
33
  s.add_dependency(%q<multi_json>, ["~> 1.0"])
35
- s.add_dependency(%q<multi_xml>, ["~> 0.5"])
36
34
  s.add_dependency(%q<builder>, ["~> 3.0"])
37
- s.add_dependency(%q<jamespath>, [">= 0.5.1"])
35
+ s.add_dependency(%q<jmespath>, ["~> 1.0"])
38
36
  end
39
37
  end
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
  s.licenses = ["MIT"]
16
16
  s.rdoc_options = ["--title", "Builder -- Easy XML Building", "--main", "README.rdoc", "--line-numbers"]
17
17
  s.require_paths = ["lib"]
18
- s.rubygems_version = "1.8.23"
18
+ s.rubygems_version = "1.8.23.2"
19
19
  s.summary = "Builders for MarkUp."
20
20
 
21
21
  if s.respond_to? :specification_version then
@@ -6,23 +6,24 @@ Gem::Specification.new do |s|
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Amazon Web Services"]
9
- s.date = "2014-11-04"
9
+ s.date = "2015-06-30"
10
10
  s.description = "Provides client libraries for CodeDeploy Command."
11
- s.files = ["lib/aws/codedeploy_commands.rb", "lib/aws/plugins/deploy_control_endpoint.rb", "lib/aws/plugins/certificate_authority.rb", "apis/CodeDeployCommand.api.json"]
11
+ s.files = ["lib/aws/plugins/deploy_control_endpoint.rb", "lib/aws/plugins/certificate_authority.rb", "lib/aws/codedeploy_commands.rb", "apis/CodeDeployCommand.api.json"]
12
+ s.homepage = "https://github.com/aws/aws-codedeploy-agent"
12
13
  s.licenses = ["Apache 2.0"]
13
14
  s.require_paths = ["lib"]
14
- s.rubygems_version = "1.8.23"
15
+ s.rubygems_version = "1.8.23.2"
15
16
  s.summary = "Deploy Control Ruby SDK"
16
17
 
17
18
  if s.respond_to? :specification_version then
18
19
  s.specification_version = 3
19
20
 
20
21
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
21
- s.add_runtime_dependency(%q<aws-sdk-core>, ["= 2.0.5"])
22
+ s.add_runtime_dependency(%q<aws-sdk-core>, ["= 2.0.42"])
22
23
  else
23
- s.add_dependency(%q<aws-sdk-core>, ["= 2.0.5"])
24
+ s.add_dependency(%q<aws-sdk-core>, ["= 2.0.42"])
24
25
  end
25
26
  else
26
- s.add_dependency(%q<aws-sdk-core>, ["= 2.0.5"])
27
+ s.add_dependency(%q<aws-sdk-core>, ["= 2.0.42"])
27
28
  end
28
29
  end
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.rdoc_options = ["--title", "Git Like Interface", "--main", "README.rdoc"]
17
17
  s.require_paths = ["lib"]
18
18
  s.rubyforge_project = "gli"
19
- s.rubygems_version = "1.8.23"
19
+ s.rubygems_version = "1.8.23.2"
20
20
  s.summary = "Build command-suite CLI apps that are awesome."
21
21
 
22
22
  if s.respond_to? :specification_version then
@@ -0,0 +1,29 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = "jmespath"
5
+ s.version = "1.0.1"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Trevor Rowe"]
9
+ s.date = "2014-10-28"
10
+ s.description = "Implementes JMESPath for Ruby"
11
+ s.email = "trevorrowe@gmail.com"
12
+ s.homepage = "http://github.com/trevorrowe/jmespath.rb"
13
+ s.licenses = ["Apache 2.0"]
14
+ s.require_paths = ["lib"]
15
+ s.rubygems_version = "1.8.23.2"
16
+ s.summary = "JMESPath - Ruby Edition"
17
+
18
+ if s.respond_to? :specification_version then
19
+ s.specification_version = 4
20
+
21
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
22
+ s.add_runtime_dependency(%q<multi_json>, ["~> 1.0"])
23
+ else
24
+ s.add_dependency(%q<multi_json>, ["~> 1.0"])
25
+ end
26
+ else
27
+ s.add_dependency(%q<multi_json>, ["~> 1.0"])
28
+ end
29
+ end
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
  s.rdoc_options = ["--main", "README.rdoc"]
16
16
  s.require_paths = ["lib"]
17
17
  s.rubyforge_project = "little-plugger"
18
- s.rubygems_version = "1.8.23"
18
+ s.rubygems_version = "1.8.23.2"
19
19
  s.summary = "LittlePlugger is a module that provides Gem based plugin management."
20
20
 
21
21
  if s.respond_to? :specification_version then
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
  s.rdoc_options = ["--main", "README.rdoc"]
16
16
  s.require_paths = ["lib"]
17
17
  s.rubyforge_project = "logging"
18
- s.rubygems_version = "1.8.23"
18
+ s.rubygems_version = "1.8.23.2"
19
19
  s.summary = "A flexible and extendable logging library for Ruby"
20
20
 
21
21
  if s.respond_to? :specification_version then
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.homepage = "http://github.com/intridea/multi_json"
14
14
  s.licenses = ["MIT"]
15
15
  s.require_paths = ["lib"]
16
- s.rubygems_version = "1.8.23"
16
+ s.rubygems_version = "1.8.23.2"
17
17
  s.summary = "A common interface to multiple JSON libraries."
18
18
 
19
19
  if s.respond_to? :specification_version then
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.homepage = "http://github.com/intridea/multi_json"
14
14
  s.licenses = ["MIT"]
15
15
  s.require_paths = ["lib"]
16
- s.rubygems_version = "1.8.23"
16
+ s.rubygems_version = "1.8.23.2"
17
17
  s.summary = "A common interface to multiple JSON libraries."
18
18
 
19
19
  if s.respond_to? :specification_version then
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.homepage = "https://github.com/sferik/multi_xml"
14
14
  s.licenses = ["MIT"]
15
15
  s.require_paths = ["lib"]
16
- s.rubygems_version = "1.8.23"
16
+ s.rubygems_version = "1.8.23.2"
17
17
  s.summary = "A generic swappable back-end for XML parsing"
18
18
 
19
19
  if s.respond_to? :specification_version then
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.files = ["README.md"]
14
14
  s.homepage = "http://github.com/scalarium/process_manager"
15
15
  s.require_paths = ["lib"]
16
- s.rubygems_version = "1.8.23"
16
+ s.rubygems_version = "1.8.23.2"
17
17
  s.summary = "A framework to manage processes"
18
18
 
19
19
  if s.respond_to? :specification_version then
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
14
14
  s.homepage = "http://github.com/watsonian/simple_pid"
15
15
  s.rdoc_options = ["--charset=UTF-8"]
16
16
  s.require_paths = ["lib"]
17
- s.rubygems_version = "1.8.23"
17
+ s.rubygems_version = "1.8.23.2"
18
18
  s.summary = "A simple, but complete library for managing pidfiles."
19
19
 
20
20
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-codedeploy-agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,40 +10,40 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-05-18 00:00:00.000000000 Z
13
+ date: 2015-07-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: json
16
+ name: json_pure
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
- - - ! '>='
20
+ - - ~>
21
21
  - !ruby/object:Gem::Version
22
- version: '0'
22
+ version: '1.6'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  none: false
27
27
  requirements:
28
- - - ! '>='
28
+ - - ~>
29
29
  - !ruby/object:Gem::Version
30
- version: '0'
30
+ version: '1.6'
31
31
  - !ruby/object:Gem::Dependency
32
32
  name: rubyzip
33
33
  requirement: !ruby/object:Gem::Requirement
34
34
  none: false
35
35
  requirements:
36
- - - ! '>='
36
+ - - ~>
37
37
  - !ruby/object:Gem::Version
38
- version: '0'
38
+ version: 1.1.0
39
39
  type: :runtime
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
42
42
  none: false
43
43
  requirements:
44
- - - ! '>='
44
+ - - ~>
45
45
  - !ruby/object:Gem::Version
46
- version: '0'
46
+ version: 1.1.0
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: httpclient
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -77,13 +77,13 @@ dependencies:
77
77
  - !ruby/object:Gem::Version
78
78
  version: '0'
79
79
  - !ruby/object:Gem::Dependency
80
- name: gli
80
+ name: archive-tar-minitar
81
81
  requirement: !ruby/object:Gem::Requirement
82
82
  none: false
83
83
  requirements:
84
84
  - - ~>
85
85
  - !ruby/object:Gem::Version
86
- version: '2.5'
86
+ version: 0.5.2
87
87
  type: :runtime
88
88
  prerelease: false
89
89
  version_requirements: !ruby/object:Gem::Requirement
@@ -91,15 +91,15 @@ dependencies:
91
91
  requirements:
92
92
  - - ~>
93
93
  - !ruby/object:Gem::Version
94
- version: '2.5'
94
+ version: 0.5.2
95
95
  - !ruby/object:Gem::Dependency
96
- name: aws-sdk-core
96
+ name: gli
97
97
  requirement: !ruby/object:Gem::Requirement
98
98
  none: false
99
99
  requirements:
100
100
  - - ~>
101
101
  - !ruby/object:Gem::Version
102
- version: 2.0.5
102
+ version: '2.5'
103
103
  type: :runtime
104
104
  prerelease: false
105
105
  version_requirements: !ruby/object:Gem::Requirement
@@ -107,15 +107,15 @@ dependencies:
107
107
  requirements:
108
108
  - - ~>
109
109
  - !ruby/object:Gem::Version
110
- version: 2.0.5
110
+ version: '2.5'
111
111
  - !ruby/object:Gem::Dependency
112
- name: builder
112
+ name: aws-sdk-core
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  none: false
115
115
  requirements:
116
116
  - - ~>
117
117
  - !ruby/object:Gem::Version
118
- version: 3.2.2
118
+ version: 2.0.42
119
119
  type: :runtime
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
@@ -123,15 +123,15 @@ dependencies:
123
123
  requirements:
124
124
  - - ~>
125
125
  - !ruby/object:Gem::Version
126
- version: 3.2.2
126
+ version: 2.0.42
127
127
  - !ruby/object:Gem::Dependency
128
- name: gli
128
+ name: builder
129
129
  requirement: !ruby/object:Gem::Requirement
130
130
  none: false
131
131
  requirements:
132
132
  - - ~>
133
133
  - !ruby/object:Gem::Version
134
- version: 2.5.6
134
+ version: 3.2.2
135
135
  type: :runtime
136
136
  prerelease: false
137
137
  version_requirements: !ruby/object:Gem::Requirement
@@ -139,15 +139,15 @@ dependencies:
139
139
  requirements:
140
140
  - - ~>
141
141
  - !ruby/object:Gem::Version
142
- version: 2.5.6
142
+ version: 3.2.2
143
143
  - !ruby/object:Gem::Dependency
144
- name: jamespath
144
+ name: gli
145
145
  requirement: !ruby/object:Gem::Requirement
146
146
  none: false
147
147
  requirements:
148
148
  - - ~>
149
149
  - !ruby/object:Gem::Version
150
- version: 0.5.1
150
+ version: 2.5.6
151
151
  type: :runtime
152
152
  prerelease: false
153
153
  version_requirements: !ruby/object:Gem::Requirement
@@ -155,7 +155,7 @@ dependencies:
155
155
  requirements:
156
156
  - - ~>
157
157
  - !ruby/object:Gem::Version
158
- version: 0.5.1
158
+ version: 2.5.6
159
159
  - !ruby/object:Gem::Dependency
160
160
  name: little-plugger
161
161
  requirement: !ruby/object:Gem::Requirement
@@ -263,43 +263,45 @@ files:
263
263
  - lib/core_ext.rb
264
264
  - lib/instance_agent.rb
265
265
  - lib/instance_agent/agent/base.rb
266
- - lib/instance_agent/codedeploy_plugin/application_specification/ace_info.rb
267
- - lib/instance_agent/codedeploy_plugin/application_specification/acl_info.rb
268
- - lib/instance_agent/codedeploy_plugin/application_specification/application_specification.rb
269
- - lib/instance_agent/codedeploy_plugin/application_specification/context_info.rb
270
- - lib/instance_agent/codedeploy_plugin/application_specification/file_info.rb
271
- - lib/instance_agent/codedeploy_plugin/application_specification/linux_permission_info.rb
272
- - lib/instance_agent/codedeploy_plugin/application_specification/mode_info.rb
273
- - lib/instance_agent/codedeploy_plugin/application_specification/range_info.rb
274
- - lib/instance_agent/codedeploy_plugin/application_specification/script_info.rb
275
- - lib/instance_agent/codedeploy_plugin/codedeploy_control.rb
276
- - lib/instance_agent/codedeploy_plugin/command_executor.rb
277
- - lib/instance_agent/codedeploy_plugin/command_poller.rb
278
- - lib/instance_agent/codedeploy_plugin/deployment_specification.rb
279
- - lib/instance_agent/codedeploy_plugin/hook_executor.rb
280
- - lib/instance_agent/codedeploy_plugin/install_instruction.rb
281
- - lib/instance_agent/codedeploy_plugin/installer.rb
282
- - lib/instance_agent/codedeploy_plugin/request_helper.rb
266
+ - lib/instance_agent/agent/plugin.rb
283
267
  - lib/instance_agent/config.rb
284
268
  - lib/instance_agent/log.rb
285
269
  - lib/instance_agent/platform.rb
286
270
  - lib/instance_agent/platform/linux_util.rb
271
+ - lib/instance_agent/plugins/codedeploy/application_specification/ace_info.rb
272
+ - lib/instance_agent/plugins/codedeploy/application_specification/acl_info.rb
273
+ - lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb
274
+ - lib/instance_agent/plugins/codedeploy/application_specification/context_info.rb
275
+ - lib/instance_agent/plugins/codedeploy/application_specification/file_info.rb
276
+ - lib/instance_agent/plugins/codedeploy/application_specification/linux_permission_info.rb
277
+ - lib/instance_agent/plugins/codedeploy/application_specification/mode_info.rb
278
+ - lib/instance_agent/plugins/codedeploy/application_specification/range_info.rb
279
+ - lib/instance_agent/plugins/codedeploy/application_specification/script_info.rb
280
+ - lib/instance_agent/plugins/codedeploy/codedeploy_control.rb
281
+ - lib/instance_agent/plugins/codedeploy/command_executor.rb
282
+ - lib/instance_agent/plugins/codedeploy/command_poller.rb
283
+ - lib/instance_agent/plugins/codedeploy/deployment_specification.rb
284
+ - lib/instance_agent/plugins/codedeploy/hook_executor.rb
285
+ - lib/instance_agent/plugins/codedeploy/install_instruction.rb
286
+ - lib/instance_agent/plugins/codedeploy/installer.rb
287
+ - lib/instance_agent/plugins/codedeploy/onpremise_config.rb
288
+ - lib/instance_agent/plugins/codedeploy/register_plugin.rb
287
289
  - lib/instance_agent/runner/child.rb
288
290
  - lib/instance_agent/runner/master.rb
289
291
  - lib/instance_metadata.rb
290
292
  - test/certificate_helper.rb
291
293
  - test/helpers/instance_agent_helper.rb
292
294
  - test/instance_agent/agent/base_test.rb
293
- - test/instance_agent/codedeploy_plugin/application_specification_test.rb
294
- - test/instance_agent/codedeploy_plugin/codedeploy_control_test.rb
295
- - test/instance_agent/codedeploy_plugin/command_executor_test.rb
296
- - test/instance_agent/codedeploy_plugin/command_poller_test.rb
297
- - test/instance_agent/codedeploy_plugin/deployment_specification_test.rb
298
- - test/instance_agent/codedeploy_plugin/hook_executor_test.rb
299
- - test/instance_agent/codedeploy_plugin/install_instruction_test.rb
300
- - test/instance_agent/codedeploy_plugin/installer_test.rb
301
- - test/instance_agent/codedeploy_plugin/request_helper_test.rb
302
295
  - test/instance_agent/config_test.rb
296
+ - test/instance_agent/plugins/codedeploy/application_specification_test.rb
297
+ - test/instance_agent/plugins/codedeploy/codedeploy_control_test.rb
298
+ - test/instance_agent/plugins/codedeploy/command_executor_test.rb
299
+ - test/instance_agent/plugins/codedeploy/command_poller_test.rb
300
+ - test/instance_agent/plugins/codedeploy/deployment_specification_test.rb
301
+ - test/instance_agent/plugins/codedeploy/hook_executor_test.rb
302
+ - test/instance_agent/plugins/codedeploy/install_instruction_test.rb
303
+ - test/instance_agent/plugins/codedeploy/installer_test.rb
304
+ - test/instance_agent/plugins/codedeploy/onpremise_config_test.rb
303
305
  - test/instance_agent/runner/child_test.rb
304
306
  - test/instance_metadata_test.rb
305
307
  - test/test_helper.rb
@@ -309,6 +311,17 @@ files:
309
311
  - vendor/gems/codedeploy-commands/lib/aws/codedeploy_commands.rb
310
312
  - vendor/gems/codedeploy-commands/lib/aws/plugins/certificate_authority.rb
311
313
  - vendor/gems/codedeploy-commands/lib/aws/plugins/deploy_control_endpoint.rb
314
+ - vendor/gems/jmespath-1.0.1/lib/jmespath.rb
315
+ - vendor/gems/jmespath-1.0.1/lib/jmespath/caching_parser.rb
316
+ - vendor/gems/jmespath-1.0.1/lib/jmespath/errors.rb
317
+ - vendor/gems/jmespath-1.0.1/lib/jmespath/expr_node.rb
318
+ - vendor/gems/jmespath-1.0.1/lib/jmespath/lexer.rb
319
+ - vendor/gems/jmespath-1.0.1/lib/jmespath/parser.rb
320
+ - vendor/gems/jmespath-1.0.1/lib/jmespath/runtime.rb
321
+ - vendor/gems/jmespath-1.0.1/lib/jmespath/token.rb
322
+ - vendor/gems/jmespath-1.0.1/lib/jmespath/token_stream.rb
323
+ - vendor/gems/jmespath-1.0.1/lib/jmespath/tree_interpreter.rb
324
+ - vendor/gems/jmespath-1.0.1/lib/jmespath/version.rb
312
325
  - vendor/gems/process_manager/README.md
313
326
  - vendor/gems/process_manager/lib/blank.rb
314
327
  - vendor/gems/process_manager/lib/core_ext.rb
@@ -318,11 +331,11 @@ files:
318
331
  - vendor/gems/process_manager/lib/process_manager/log.rb
319
332
  - vendor/gems/process_manager/lib/process_manager/master.rb
320
333
  - vendor/gems/process_manager/process_manager-0.0.13.gemspec
321
- - vendor/specifications/aws-sdk-core-2.0.5.gemspec
334
+ - vendor/specifications/aws-sdk-core-2.0.42.gemspec
322
335
  - vendor/specifications/builder-3.2.2.gemspec
323
336
  - vendor/specifications/codedeploy-commands-1.0.0.gemspec
324
337
  - vendor/specifications/gli-2.5.6.gemspec
325
- - vendor/specifications/jamespath-0.5.1.gemspec
338
+ - vendor/specifications/jmespath-1.0.1.gemspec
326
339
  - vendor/specifications/little-plugger-1.1.3.gemspec
327
340
  - vendor/specifications/logging-1.8.1.gemspec
328
341
  - vendor/specifications/multi_json-1.7.7.gemspec
@@ -361,16 +374,16 @@ test_files:
361
374
  - test/certificate_helper.rb
362
375
  - test/helpers/instance_agent_helper.rb
363
376
  - test/instance_agent/agent/base_test.rb
364
- - test/instance_agent/codedeploy_plugin/application_specification_test.rb
365
- - test/instance_agent/codedeploy_plugin/codedeploy_control_test.rb
366
- - test/instance_agent/codedeploy_plugin/command_executor_test.rb
367
- - test/instance_agent/codedeploy_plugin/command_poller_test.rb
368
- - test/instance_agent/codedeploy_plugin/deployment_specification_test.rb
369
- - test/instance_agent/codedeploy_plugin/hook_executor_test.rb
370
- - test/instance_agent/codedeploy_plugin/install_instruction_test.rb
371
- - test/instance_agent/codedeploy_plugin/installer_test.rb
372
- - test/instance_agent/codedeploy_plugin/request_helper_test.rb
373
377
  - test/instance_agent/config_test.rb
378
+ - test/instance_agent/plugins/codedeploy/application_specification_test.rb
379
+ - test/instance_agent/plugins/codedeploy/codedeploy_control_test.rb
380
+ - test/instance_agent/plugins/codedeploy/command_executor_test.rb
381
+ - test/instance_agent/plugins/codedeploy/command_poller_test.rb
382
+ - test/instance_agent/plugins/codedeploy/deployment_specification_test.rb
383
+ - test/instance_agent/plugins/codedeploy/hook_executor_test.rb
384
+ - test/instance_agent/plugins/codedeploy/install_instruction_test.rb
385
+ - test/instance_agent/plugins/codedeploy/installer_test.rb
386
+ - test/instance_agent/plugins/codedeploy/onpremise_config_test.rb
374
387
  - test/instance_agent/runner/child_test.rb
375
388
  - test/instance_metadata_test.rb
376
389
  - test/test_helper.rb