overlay 2.2.4 → 2.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/overlay/github.rb +28 -12
- data/lib/overlay/version.rb +1 -1
- data/spec/dummy/log/test.log +142 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfd8cbd70cd83be82e19f460ff71a03aa976a2de
|
4
|
+
data.tar.gz: 4256268171b31bbcd04d10d9b6c40c6698c66aaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcf44c0bbdd185de2bfac0ae7aeb1c6d9e33a9d80539d15bbdbcc8909aa27e8f8ab61f9401ce093c79ca8a5bb07ceb9efe262ac7e4c599ea832e1ba78b6783bb
|
7
|
+
data.tar.gz: 862463ef6d59b01365a64c753a10e346fd2518a7ada7533c8ae45b3deb90a714f0b964a09fc3114d6e2eb2f1b335fc0a3d617aa16f28db3ee308f47ce7ad4d47
|
data/lib/overlay/github.rb
CHANGED
@@ -19,8 +19,9 @@ module Overlay
|
|
19
19
|
attr_accessor :subscribed_configs
|
20
20
|
|
21
21
|
def initialize
|
22
|
-
@subscribed_configs
|
23
|
-
@master_pid
|
22
|
+
@subscribed_configs = []
|
23
|
+
@master_pid = $$
|
24
|
+
@current_subscribers = {}
|
24
25
|
end
|
25
26
|
|
26
27
|
# Cycle through all configured repositories and overlay
|
@@ -38,7 +39,7 @@ module Overlay
|
|
38
39
|
register_web_hook(repo_config)
|
39
40
|
end
|
40
41
|
|
41
|
-
# Now that all the set-up is done,
|
42
|
+
# Now that all the set-up is done, fork a process
|
42
43
|
# to overlay the repo.
|
43
44
|
fork_it(:overlay_repo, repo_config)
|
44
45
|
end
|
@@ -131,6 +132,7 @@ module Overlay
|
|
131
132
|
# Retrieve Subscribe to a OverlayPublisher redis key
|
132
133
|
# Fork a process that subscribes to the redis key and processes updates.
|
133
134
|
def publisher_subscribe repo_config
|
135
|
+
# Is this specific configuration already subscribed?
|
134
136
|
return unless @subscribed_configs.index(repo_config).nil?
|
135
137
|
|
136
138
|
# Validate our settings
|
@@ -161,12 +163,16 @@ module Overlay
|
|
161
163
|
# Retrieve publish key
|
162
164
|
publish_key = JSON.parse(response.read_body)['publish_key']
|
163
165
|
|
166
|
+
# If we have a subscriber running for the same key, return
|
167
|
+
return if @current_subscribers.has_key? publish_key
|
168
|
+
|
164
169
|
Rails.logger.info "Overlay subscribing to redis channel: #{publish_key}"
|
165
170
|
|
166
171
|
# Subscribe to redis channel
|
167
|
-
fork_it(:subscribe_to_channel, publish_key, repo_config)
|
172
|
+
pid = fork_it(:subscribe_to_channel, publish_key, repo_config)
|
168
173
|
|
169
174
|
@subscribed_configs << repo_config
|
175
|
+
@current_subscribers[publish_key] = pid
|
170
176
|
end
|
171
177
|
|
172
178
|
# Overlay all the files specifiec by the repo_config. This
|
@@ -175,18 +181,18 @@ module Overlay
|
|
175
181
|
# This method must succeed to completion to guarantee we have all the files
|
176
182
|
# we need so we will continue to retyr until we are complete
|
177
183
|
def overlay_repo repo_config
|
178
|
-
Rails.logger.info "Overlay started processing repo with config #{repo_config.inspect}"
|
179
|
-
|
180
184
|
# Get our root entries
|
181
185
|
root = repo_config.root_source_path || '/'
|
182
186
|
|
183
187
|
begin
|
188
|
+
Rails.logger.info "Overlay started processing repo with config #{repo_config.inspect}"
|
189
|
+
|
184
190
|
# If we have a root defined, jump right into it
|
185
191
|
if root != '/'
|
186
192
|
overlay_directory(root, repo_config)
|
187
193
|
else
|
188
194
|
root_entries = timeout(30) {
|
189
|
-
|
195
|
+
repo_config.github_api.contents.get(repo_config.org, repo_config.repo, root, ref: repo_config.branch).response.body
|
190
196
|
}
|
191
197
|
|
192
198
|
# We aren't pulling anything out of root. Cycle through directories and overlay
|
@@ -210,9 +216,11 @@ module Overlay
|
|
210
216
|
end
|
211
217
|
|
212
218
|
def overlay_directory path, repo_config
|
219
|
+
Rails.logger.info "Overlay processing directory with path: #{path}"
|
213
220
|
FileUtils.mkdir_p(destination_path(path, repo_config)) unless File.exists?(destination_path(path, repo_config))
|
214
221
|
|
215
222
|
begin
|
223
|
+
Rails.logger.info "Overlay retrieving directory contents for path: #{path}"
|
216
224
|
directory_entries = timeout(30) {
|
217
225
|
repo_config.github_api.contents.get(repo_config.org, repo_config.repo, path, ref: repo_config.branch).response.body
|
218
226
|
}
|
@@ -231,6 +239,7 @@ module Overlay
|
|
231
239
|
end
|
232
240
|
|
233
241
|
def clone_file path, repo_config
|
242
|
+
Rails.logger.info "Overlay cloning file with path: #{path}"
|
234
243
|
begin
|
235
244
|
file = timeout(30) {
|
236
245
|
repo_config.github_api.contents.get(repo_config.org, repo_config.repo, path, ref: repo_config.branch).response.body.content
|
@@ -246,6 +255,7 @@ module Overlay
|
|
246
255
|
|
247
256
|
# Fork a new process and subscribe to a redis channel
|
248
257
|
def subscribe_to_channel key, repo_config
|
258
|
+
Rails.logger.info "Overlay establishing connection to Redis server: #{repo_config.redis_server} on port: #{repo_config.redis_port}"
|
249
259
|
redis = Redis.new(:host => repo_config.redis_server, :port => repo_config.redis_port)
|
250
260
|
|
251
261
|
# This key is going to receive a publish event
|
@@ -253,6 +263,7 @@ module Overlay
|
|
253
263
|
# that the payload references our branch and our watch direstory.
|
254
264
|
# The subscribe call is persistent.
|
255
265
|
begin
|
266
|
+
Rails.logger.info "Overlay subscribing to key: #{key}"
|
256
267
|
redis.subscribe(key) do |on|
|
257
268
|
on.subscribe do |channel, subscriptions|
|
258
269
|
Rails.logger.info "'#{channel}' channel subscription established for key '#{key}'. Subscriptions: #{subscriptions}"
|
@@ -261,11 +272,15 @@ module Overlay
|
|
261
272
|
Rails.logger.info "Overlay received publish event for channel #{key} with payload: #{msg}"
|
262
273
|
hook = JSON.parse(msg)
|
263
274
|
|
264
|
-
#
|
265
|
-
if
|
266
|
-
|
267
|
-
|
268
|
-
|
275
|
+
# We may be receiving hooks for several configured roots. Since we should only have one subscriber servicing
|
276
|
+
# a repo, we need to see if we can handle this hook.
|
277
|
+
Overlay.configuration.repositories.each do |configured_repo|
|
278
|
+
next unless configured_repo.class == GithubRepo
|
279
|
+
if (hook['ref'] == "refs/heads/#{configured_repo.branch}")
|
280
|
+
Rails.logger.info "Overlay enqueueing Github hook processing job for repo: #{configured_repo.repo} and branch: #{configured_repo.branch}"
|
281
|
+
process_hook(hook, configured_repo)
|
282
|
+
Rails.logger.info "Overlay done processing job for repo: #{configured_repo.repo} and branch: #{configured_repo.branch}"
|
283
|
+
end
|
269
284
|
end
|
270
285
|
end
|
271
286
|
end
|
@@ -312,6 +327,7 @@ module Overlay
|
|
312
327
|
at_exit do
|
313
328
|
Process.kill('QUIT', pid) if @master_pid == $$
|
314
329
|
end
|
330
|
+
return pid
|
315
331
|
end
|
316
332
|
end
|
317
333
|
end
|
data/lib/overlay/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -2690,3 +2690,145 @@ Processing by Overlay::GithubController#update as HTML
|
|
2690
2690
|
Completed 200 OK in 4ms (Views: 3.8ms)
|
2691
2691
|
Processing by Overlay::GithubController#update as HTML
|
2692
2692
|
Completed 200 OK in 0ms (Views: 0.2ms)
|
2693
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2694
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2695
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2696
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2697
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2698
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2699
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2700
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2701
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2702
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2703
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2704
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2705
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2706
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2707
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2708
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2709
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2710
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2711
|
+
Overlay started processing repo with config #<Overlay::GithubRepo:0x007fa8f7d46708 @org="test_org", @repo="test_repo", @auth="test_user:test_pass", @root_source_path="spec", @root_dest_path="spec", @redis_server=nil, @redis_port=nil, @registration_server=nil, @endpoint=nil, @site=nil, @branch="master", @use_publisher=false, @github_api=#<Github::Repos:0x007fa8f7d46618 @current_options={:adapter=>:net_http, :client_id=>nil, :client_secret=>nil, :oauth_token=>nil, :endpoint=>"https://api.github.com", :site=>"https://github.com", :ssl=>{:verify=>false}, :mime_type=>:json, :user_agent=>"Github Ruby Gem 0.11.3", :connection_options=>{}, :repo=>"test_repo", :user=>nil, :org=>"test_org", :login=>"test_user", :password=>"test_pass", :basic_auth=>"test_user:test_pass", :auto_pagination=>false}, @adapter=:net_http, @client_id=nil, @client_secret=nil, @oauth_token=nil, @endpoint="https://api.github.com", @site="https://github.com", @ssl={:verify=>false}, @mime_type=:json, @user_agent="Github Ruby Gem 0.11.3", @connection_options={}, @repo="test_repo", @user=nil, @org="test_org", @login="test_user", @password="test_pass", @basic_auth="test_user:test_pass", @auto_pagination=false>>
|
2712
|
+
Overlay encountered an error during overlay_repo and is retrying: StandardError
|
2713
|
+
Overlay started processing repo with config #<Overlay::GithubRepo:0x007fa8f7d46708 @org="test_org", @repo="test_repo", @auth="test_user:test_pass", @root_source_path="spec", @root_dest_path="spec", @redis_server=nil, @redis_port=nil, @registration_server=nil, @endpoint=nil, @site=nil, @branch="master", @use_publisher=false, @github_api=#<Github::Repos:0x007fa8f7d46618 @current_options={:adapter=>:net_http, :client_id=>nil, :client_secret=>nil, :oauth_token=>nil, :endpoint=>"https://api.github.com", :site=>"https://github.com", :ssl=>{:verify=>false}, :mime_type=>:json, :user_agent=>"Github Ruby Gem 0.11.3", :connection_options=>{}, :repo=>"test_repo", :user=>nil, :org=>"test_org", :login=>"test_user", :password=>"test_pass", :basic_auth=>"test_user:test_pass", :auto_pagination=>false}, @adapter=:net_http, @client_id=nil, @client_secret=nil, @oauth_token=nil, @endpoint="https://api.github.com", @site="https://github.com", @ssl={:verify=>false}, @mime_type=:json, @user_agent="Github Ruby Gem 0.11.3", @connection_options={}, @repo="test_repo", @user=nil, @org="test_org", @login="test_user", @password="test_pass", @basic_auth="test_user:test_pass", @auto_pagination=false>>
|
2714
|
+
Overlay encountered an error during overlay_repo and is retrying: StandardError
|
2715
|
+
Overlay started processing repo with config #<Overlay::GithubRepo:0x007fa8f7d46708 @org="test_org", @repo="test_repo", @auth="test_user:test_pass", @root_source_path="spec", @root_dest_path="spec", @redis_server=nil, @redis_port=nil, @registration_server=nil, @endpoint=nil, @site=nil, @branch="master", @use_publisher=false, @github_api=#<Github::Repos:0x007fa8f7d46618 @current_options={:adapter=>:net_http, :client_id=>nil, :client_secret=>nil, :oauth_token=>nil, :endpoint=>"https://api.github.com", :site=>"https://github.com", :ssl=>{:verify=>false}, :mime_type=>:json, :user_agent=>"Github Ruby Gem 0.11.3", :connection_options=>{}, :repo=>"test_repo", :user=>nil, :org=>"test_org", :login=>"test_user", :password=>"test_pass", :basic_auth=>"test_user:test_pass", :auto_pagination=>false}, @adapter=:net_http, @client_id=nil, @client_secret=nil, @oauth_token=nil, @endpoint="https://api.github.com", @site="https://github.com", @ssl={:verify=>false}, @mime_type=:json, @user_agent="Github Ruby Gem 0.11.3", @connection_options={}, @repo="test_repo", @user=nil, @org="test_org", @login="test_user", @password="test_pass", @basic_auth="test_user:test_pass", @auto_pagination=false>>
|
2716
|
+
Overlay encountered an error during overlay_repo and is retrying: StandardError
|
2717
|
+
Overlay started processing repo with config #<Overlay::GithubRepo:0x007fa8f7d46708 @org="test_org", @repo="test_repo", @auth="test_user:test_pass", @root_source_path="spec", @root_dest_path="spec", @redis_server=nil, @redis_port=nil, @registration_server=nil, @endpoint=nil, @site=nil, @branch="master", @use_publisher=false, @github_api=#<Github::Repos:0x007fa8f7d46618 @current_options={:adapter=>:net_http, :client_id=>nil, :client_secret=>nil, :oauth_token=>nil, :endpoint=>"https://api.github.com", :site=>"https://github.com", :ssl=>{:verify=>false}, :mime_type=>:json, :user_agent=>"Github Ruby Gem 0.11.3", :connection_options=>{}, :repo=>"test_repo", :user=>nil, :org=>"test_org", :login=>"test_user", :password=>"test_pass", :basic_auth=>"test_user:test_pass", :auto_pagination=>false}, @adapter=:net_http, @client_id=nil, @client_secret=nil, @oauth_token=nil, @endpoint="https://api.github.com", @site="https://github.com", @ssl={:verify=>false}, @mime_type=:json, @user_agent="Github Ruby Gem 0.11.3", @connection_options={}, @repo="test_repo", @user=nil, @org="test_org", @login="test_user", @password="test_pass", @basic_auth="test_user:test_pass", @auto_pagination=false>>
|
2718
|
+
Overlay encountered an error during overlay_repo and is retrying: StandardError
|
2719
|
+
Overlay started processing repo with config #<Overlay::GithubRepo:0x007fa8f7d46708 @org="test_org", @repo="test_repo", @auth="test_user:test_pass", @root_source_path="spec", @root_dest_path="spec", @redis_server=nil, @redis_port=nil, @registration_server=nil, @endpoint=nil, @site=nil, @branch="master", @use_publisher=false, @github_api=#<Github::Repos:0x007fa8f7d46618 @current_options={:adapter=>:net_http, :client_id=>nil, :client_secret=>nil, :oauth_token=>nil, :endpoint=>"https://api.github.com", :site=>"https://github.com", :ssl=>{:verify=>false}, :mime_type=>:json, :user_agent=>"Github Ruby Gem 0.11.3", :connection_options=>{}, :repo=>"test_repo", :user=>nil, :org=>"test_org", :login=>"test_user", :password=>"test_pass", :basic_auth=>"test_user:test_pass", :auto_pagination=>false}, @adapter=:net_http, @client_id=nil, @client_secret=nil, @oauth_token=nil, @endpoint="https://api.github.com", @site="https://github.com", @ssl={:verify=>false}, @mime_type=:json, @user_agent="Github Ruby Gem 0.11.3", @connection_options={}, @repo="test_repo", @user=nil, @org="test_org", @login="test_user", @password="test_pass", @basic_auth="test_user:test_pass", @auto_pagination=false>>
|
2720
|
+
Overlay finished processing repo with config #<Overlay::GithubRepo:0x007fa8f7d46708 @org="test_org", @repo="test_repo", @auth="test_user:test_pass", @root_source_path="spec", @root_dest_path="spec", @redis_server=nil, @redis_port=nil, @registration_server=nil, @endpoint=nil, @site=nil, @branch="master", @use_publisher=false, @github_api=#<Github::Repos:0x007fa8f7d46618 @current_options={:adapter=>:net_http, :client_id=>nil, :client_secret=>nil, :oauth_token=>nil, :endpoint=>"https://api.github.com", :site=>"https://github.com", :ssl=>{:verify=>false}, :mime_type=>:json, :user_agent=>"Github Ruby Gem 0.11.3", :connection_options=>{}, :repo=>"test_repo", :user=>nil, :org=>"test_org", :login=>"test_user", :password=>"test_pass", :basic_auth=>"test_user:test_pass", :auto_pagination=>false}, @adapter=:net_http, @client_id=nil, @client_secret=nil, @oauth_token=nil, @endpoint="https://api.github.com", @site="https://github.com", @ssl={:verify=>false}, @mime_type=:json, @user_agent="Github Ruby Gem 0.11.3", @connection_options={}, @repo="test_repo", @user=nil, @org="test_org", @login="test_user", @password="test_pass", @basic_auth="test_user:test_pass", @auto_pagination=false>>
|
2721
|
+
Overlay establishing connection to Redis server: unreachable on port: 6734
|
2722
|
+
Overlay subscribing to key: test
|
2723
|
+
Overlay encountered an error during subscribe_to_channel on key test and is retrying: StandardError
|
2724
|
+
Overlay subscribing to key: test
|
2725
|
+
Overlay encountered an error during subscribe_to_channel on key test and is retrying: StandardError
|
2726
|
+
Overlay subscribing to key: test
|
2727
|
+
Overlay encountered an error during subscribe_to_channel on key test and is retrying: StandardError
|
2728
|
+
Overlay subscribing to key: test
|
2729
|
+
Overlay encountered an error during subscribe_to_channel on key test and is retrying: StandardError
|
2730
|
+
Overlay subscribing to key: test
|
2731
|
+
Overlay subscribe closed for unknown reason.
|
2732
|
+
Overlay register webhook for repo: org => test_org, repo => test_repo
|
2733
|
+
Overlay register webhook for repo: org => test_org, repo => test_repo
|
2734
|
+
Processing by Overlay::GithubController#update as HTML
|
2735
|
+
Parameters: {"ref"=>"refs/heads/master", "repository"=>{"name"=>"test_repo"}}
|
2736
|
+
Rendered text template (0.1ms)
|
2737
|
+
Completed 200 OK in 7ms (Views: 6.2ms)
|
2738
|
+
Processing by Overlay::GithubController#update as HTML
|
2739
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
2740
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2741
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2742
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2743
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2744
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2745
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2746
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2747
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2748
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2749
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2750
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2751
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2752
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2753
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2754
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2755
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2756
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2757
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2758
|
+
Overlay started processing repo with config #<Overlay::GithubRepo:0x007fd1350f25e0 @org="test_org", @repo="test_repo", @auth="test_user:test_pass", @root_source_path="spec", @root_dest_path="spec", @redis_server=nil, @redis_port=nil, @registration_server=nil, @endpoint=nil, @site=nil, @branch="master", @use_publisher=false, @github_api=#<Github::Repos:0x007fd1350f2540 @current_options={:adapter=>:net_http, :client_id=>nil, :client_secret=>nil, :oauth_token=>nil, :endpoint=>"https://api.github.com", :site=>"https://github.com", :ssl=>{:verify=>false}, :mime_type=>:json, :user_agent=>"Github Ruby Gem 0.11.3", :connection_options=>{}, :repo=>"test_repo", :user=>nil, :org=>"test_org", :login=>"test_user", :password=>"test_pass", :basic_auth=>"test_user:test_pass", :auto_pagination=>false}, @adapter=:net_http, @client_id=nil, @client_secret=nil, @oauth_token=nil, @endpoint="https://api.github.com", @site="https://github.com", @ssl={:verify=>false}, @mime_type=:json, @user_agent="Github Ruby Gem 0.11.3", @connection_options={}, @repo="test_repo", @user=nil, @org="test_org", @login="test_user", @password="test_pass", @basic_auth="test_user:test_pass", @auto_pagination=false>>
|
2759
|
+
Overlay encountered an error during overlay_repo and is retrying: StandardError
|
2760
|
+
Overlay started processing repo with config #<Overlay::GithubRepo:0x007fd1350f25e0 @org="test_org", @repo="test_repo", @auth="test_user:test_pass", @root_source_path="spec", @root_dest_path="spec", @redis_server=nil, @redis_port=nil, @registration_server=nil, @endpoint=nil, @site=nil, @branch="master", @use_publisher=false, @github_api=#<Github::Repos:0x007fd1350f2540 @current_options={:adapter=>:net_http, :client_id=>nil, :client_secret=>nil, :oauth_token=>nil, :endpoint=>"https://api.github.com", :site=>"https://github.com", :ssl=>{:verify=>false}, :mime_type=>:json, :user_agent=>"Github Ruby Gem 0.11.3", :connection_options=>{}, :repo=>"test_repo", :user=>nil, :org=>"test_org", :login=>"test_user", :password=>"test_pass", :basic_auth=>"test_user:test_pass", :auto_pagination=>false}, @adapter=:net_http, @client_id=nil, @client_secret=nil, @oauth_token=nil, @endpoint="https://api.github.com", @site="https://github.com", @ssl={:verify=>false}, @mime_type=:json, @user_agent="Github Ruby Gem 0.11.3", @connection_options={}, @repo="test_repo", @user=nil, @org="test_org", @login="test_user", @password="test_pass", @basic_auth="test_user:test_pass", @auto_pagination=false>>
|
2761
|
+
Overlay encountered an error during overlay_repo and is retrying: StandardError
|
2762
|
+
Overlay started processing repo with config #<Overlay::GithubRepo:0x007fd1350f25e0 @org="test_org", @repo="test_repo", @auth="test_user:test_pass", @root_source_path="spec", @root_dest_path="spec", @redis_server=nil, @redis_port=nil, @registration_server=nil, @endpoint=nil, @site=nil, @branch="master", @use_publisher=false, @github_api=#<Github::Repos:0x007fd1350f2540 @current_options={:adapter=>:net_http, :client_id=>nil, :client_secret=>nil, :oauth_token=>nil, :endpoint=>"https://api.github.com", :site=>"https://github.com", :ssl=>{:verify=>false}, :mime_type=>:json, :user_agent=>"Github Ruby Gem 0.11.3", :connection_options=>{}, :repo=>"test_repo", :user=>nil, :org=>"test_org", :login=>"test_user", :password=>"test_pass", :basic_auth=>"test_user:test_pass", :auto_pagination=>false}, @adapter=:net_http, @client_id=nil, @client_secret=nil, @oauth_token=nil, @endpoint="https://api.github.com", @site="https://github.com", @ssl={:verify=>false}, @mime_type=:json, @user_agent="Github Ruby Gem 0.11.3", @connection_options={}, @repo="test_repo", @user=nil, @org="test_org", @login="test_user", @password="test_pass", @basic_auth="test_user:test_pass", @auto_pagination=false>>
|
2763
|
+
Overlay encountered an error during overlay_repo and is retrying: StandardError
|
2764
|
+
Overlay started processing repo with config #<Overlay::GithubRepo:0x007fd1350f25e0 @org="test_org", @repo="test_repo", @auth="test_user:test_pass", @root_source_path="spec", @root_dest_path="spec", @redis_server=nil, @redis_port=nil, @registration_server=nil, @endpoint=nil, @site=nil, @branch="master", @use_publisher=false, @github_api=#<Github::Repos:0x007fd1350f2540 @current_options={:adapter=>:net_http, :client_id=>nil, :client_secret=>nil, :oauth_token=>nil, :endpoint=>"https://api.github.com", :site=>"https://github.com", :ssl=>{:verify=>false}, :mime_type=>:json, :user_agent=>"Github Ruby Gem 0.11.3", :connection_options=>{}, :repo=>"test_repo", :user=>nil, :org=>"test_org", :login=>"test_user", :password=>"test_pass", :basic_auth=>"test_user:test_pass", :auto_pagination=>false}, @adapter=:net_http, @client_id=nil, @client_secret=nil, @oauth_token=nil, @endpoint="https://api.github.com", @site="https://github.com", @ssl={:verify=>false}, @mime_type=:json, @user_agent="Github Ruby Gem 0.11.3", @connection_options={}, @repo="test_repo", @user=nil, @org="test_org", @login="test_user", @password="test_pass", @basic_auth="test_user:test_pass", @auto_pagination=false>>
|
2765
|
+
Overlay encountered an error during overlay_repo and is retrying: StandardError
|
2766
|
+
Overlay started processing repo with config #<Overlay::GithubRepo:0x007fd1350f25e0 @org="test_org", @repo="test_repo", @auth="test_user:test_pass", @root_source_path="spec", @root_dest_path="spec", @redis_server=nil, @redis_port=nil, @registration_server=nil, @endpoint=nil, @site=nil, @branch="master", @use_publisher=false, @github_api=#<Github::Repos:0x007fd1350f2540 @current_options={:adapter=>:net_http, :client_id=>nil, :client_secret=>nil, :oauth_token=>nil, :endpoint=>"https://api.github.com", :site=>"https://github.com", :ssl=>{:verify=>false}, :mime_type=>:json, :user_agent=>"Github Ruby Gem 0.11.3", :connection_options=>{}, :repo=>"test_repo", :user=>nil, :org=>"test_org", :login=>"test_user", :password=>"test_pass", :basic_auth=>"test_user:test_pass", :auto_pagination=>false}, @adapter=:net_http, @client_id=nil, @client_secret=nil, @oauth_token=nil, @endpoint="https://api.github.com", @site="https://github.com", @ssl={:verify=>false}, @mime_type=:json, @user_agent="Github Ruby Gem 0.11.3", @connection_options={}, @repo="test_repo", @user=nil, @org="test_org", @login="test_user", @password="test_pass", @basic_auth="test_user:test_pass", @auto_pagination=false>>
|
2767
|
+
Overlay finished processing repo with config #<Overlay::GithubRepo:0x007fd1350f25e0 @org="test_org", @repo="test_repo", @auth="test_user:test_pass", @root_source_path="spec", @root_dest_path="spec", @redis_server=nil, @redis_port=nil, @registration_server=nil, @endpoint=nil, @site=nil, @branch="master", @use_publisher=false, @github_api=#<Github::Repos:0x007fd1350f2540 @current_options={:adapter=>:net_http, :client_id=>nil, :client_secret=>nil, :oauth_token=>nil, :endpoint=>"https://api.github.com", :site=>"https://github.com", :ssl=>{:verify=>false}, :mime_type=>:json, :user_agent=>"Github Ruby Gem 0.11.3", :connection_options=>{}, :repo=>"test_repo", :user=>nil, :org=>"test_org", :login=>"test_user", :password=>"test_pass", :basic_auth=>"test_user:test_pass", :auto_pagination=>false}, @adapter=:net_http, @client_id=nil, @client_secret=nil, @oauth_token=nil, @endpoint="https://api.github.com", @site="https://github.com", @ssl={:verify=>false}, @mime_type=:json, @user_agent="Github Ruby Gem 0.11.3", @connection_options={}, @repo="test_repo", @user=nil, @org="test_org", @login="test_user", @password="test_pass", @basic_auth="test_user:test_pass", @auto_pagination=false>>
|
2768
|
+
Overlay establishing connection to Redis server: unreachable on port: 6734
|
2769
|
+
Overlay subscribing to key: test
|
2770
|
+
Overlay encountered an error during subscribe_to_channel on key test and is retrying: StandardError
|
2771
|
+
Overlay subscribing to key: test
|
2772
|
+
Overlay encountered an error during subscribe_to_channel on key test and is retrying: StandardError
|
2773
|
+
Overlay subscribing to key: test
|
2774
|
+
Overlay encountered an error during subscribe_to_channel on key test and is retrying: StandardError
|
2775
|
+
Overlay subscribing to key: test
|
2776
|
+
Overlay encountered an error during subscribe_to_channel on key test and is retrying: StandardError
|
2777
|
+
Overlay subscribing to key: test
|
2778
|
+
Overlay subscribe closed for unknown reason.
|
2779
|
+
Overlay register webhook for repo: org => test_org, repo => test_repo
|
2780
|
+
Overlay register webhook for repo: org => test_org, repo => test_repo
|
2781
|
+
Processing by Overlay::GithubController#update as HTML
|
2782
|
+
Parameters: {"ref"=>"refs/heads/master", "repository"=>{"name"=>"test_repo"}}
|
2783
|
+
Rendered text template (0.0ms)
|
2784
|
+
Completed 200 OK in 5ms (Views: 4.1ms)
|
2785
|
+
Processing by Overlay::GithubController#update as HTML
|
2786
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
2787
|
+
Processing by Overlay::GithubController#update as HTML
|
2788
|
+
Rendered text template (0.0ms)
|
2789
|
+
Completed 200 OK in 4ms (Views: 3.3ms)
|
2790
|
+
Processing by Overlay::GithubController#update as HTML
|
2791
|
+
Parameters: {"ref"=>"refs/heads/master", "repository"=>{"name"=>"test_repo"}}
|
2792
|
+
Completed 200 OK in 0ms (Views: 0.1ms)
|
2793
|
+
Overlay register webhook for repo: org => test_org, repo => test_repo
|
2794
|
+
Overlay register webhook for repo: org => test_org, repo => test_repo
|
2795
|
+
Overlay subscribing to redis channel: test_key
|
2796
|
+
Overlay establishing connection to Redis server: unreachable on port: 6734
|
2797
|
+
Overlay subscribing to key: test
|
2798
|
+
Overlay encountered an error during subscribe_to_channel on key test and is retrying: StandardError
|
2799
|
+
Overlay subscribing to key: test
|
2800
|
+
Overlay encountered an error during subscribe_to_channel on key test and is retrying: StandardError
|
2801
|
+
Overlay subscribing to key: test
|
2802
|
+
Overlay encountered an error during subscribe_to_channel on key test and is retrying: StandardError
|
2803
|
+
Overlay subscribing to key: test
|
2804
|
+
Overlay encountered an error during subscribe_to_channel on key test and is retrying: StandardError
|
2805
|
+
Overlay subscribing to key: test
|
2806
|
+
Overlay subscribe closed for unknown reason.
|
2807
|
+
Overlay started processing repo with config #<Overlay::GithubRepo:0x007ffb8684c900 @org="test_org", @repo="test_repo", @auth="test_user:test_pass", @root_source_path="spec", @root_dest_path="spec", @redis_server=nil, @redis_port=nil, @registration_server=nil, @endpoint=nil, @site=nil, @branch="master", @use_publisher=false, @github_api=#<Github::Repos:0x007ffb8684c888 @current_options={:adapter=>:net_http, :client_id=>nil, :client_secret=>nil, :oauth_token=>nil, :endpoint=>"https://api.github.com", :site=>"https://github.com", :ssl=>{:verify=>false}, :mime_type=>:json, :user_agent=>"Github Ruby Gem 0.11.3", :connection_options=>{}, :repo=>"test_repo", :user=>nil, :org=>"test_org", :login=>"test_user", :password=>"test_pass", :basic_auth=>"test_user:test_pass", :auto_pagination=>false}, @adapter=:net_http, @client_id=nil, @client_secret=nil, @oauth_token=nil, @endpoint="https://api.github.com", @site="https://github.com", @ssl={:verify=>false}, @mime_type=:json, @user_agent="Github Ruby Gem 0.11.3", @connection_options={}, @repo="test_repo", @user=nil, @org="test_org", @login="test_user", @password="test_pass", @basic_auth="test_user:test_pass", @auto_pagination=false>>
|
2808
|
+
Overlay encountered an error during overlay_repo and is retrying: StandardError
|
2809
|
+
Overlay started processing repo with config #<Overlay::GithubRepo:0x007ffb8684c900 @org="test_org", @repo="test_repo", @auth="test_user:test_pass", @root_source_path="spec", @root_dest_path="spec", @redis_server=nil, @redis_port=nil, @registration_server=nil, @endpoint=nil, @site=nil, @branch="master", @use_publisher=false, @github_api=#<Github::Repos:0x007ffb8684c888 @current_options={:adapter=>:net_http, :client_id=>nil, :client_secret=>nil, :oauth_token=>nil, :endpoint=>"https://api.github.com", :site=>"https://github.com", :ssl=>{:verify=>false}, :mime_type=>:json, :user_agent=>"Github Ruby Gem 0.11.3", :connection_options=>{}, :repo=>"test_repo", :user=>nil, :org=>"test_org", :login=>"test_user", :password=>"test_pass", :basic_auth=>"test_user:test_pass", :auto_pagination=>false}, @adapter=:net_http, @client_id=nil, @client_secret=nil, @oauth_token=nil, @endpoint="https://api.github.com", @site="https://github.com", @ssl={:verify=>false}, @mime_type=:json, @user_agent="Github Ruby Gem 0.11.3", @connection_options={}, @repo="test_repo", @user=nil, @org="test_org", @login="test_user", @password="test_pass", @basic_auth="test_user:test_pass", @auto_pagination=false>>
|
2810
|
+
Overlay encountered an error during overlay_repo and is retrying: StandardError
|
2811
|
+
Overlay started processing repo with config #<Overlay::GithubRepo:0x007ffb8684c900 @org="test_org", @repo="test_repo", @auth="test_user:test_pass", @root_source_path="spec", @root_dest_path="spec", @redis_server=nil, @redis_port=nil, @registration_server=nil, @endpoint=nil, @site=nil, @branch="master", @use_publisher=false, @github_api=#<Github::Repos:0x007ffb8684c888 @current_options={:adapter=>:net_http, :client_id=>nil, :client_secret=>nil, :oauth_token=>nil, :endpoint=>"https://api.github.com", :site=>"https://github.com", :ssl=>{:verify=>false}, :mime_type=>:json, :user_agent=>"Github Ruby Gem 0.11.3", :connection_options=>{}, :repo=>"test_repo", :user=>nil, :org=>"test_org", :login=>"test_user", :password=>"test_pass", :basic_auth=>"test_user:test_pass", :auto_pagination=>false}, @adapter=:net_http, @client_id=nil, @client_secret=nil, @oauth_token=nil, @endpoint="https://api.github.com", @site="https://github.com", @ssl={:verify=>false}, @mime_type=:json, @user_agent="Github Ruby Gem 0.11.3", @connection_options={}, @repo="test_repo", @user=nil, @org="test_org", @login="test_user", @password="test_pass", @basic_auth="test_user:test_pass", @auto_pagination=false>>
|
2812
|
+
Overlay encountered an error during overlay_repo and is retrying: StandardError
|
2813
|
+
Overlay started processing repo with config #<Overlay::GithubRepo:0x007ffb8684c900 @org="test_org", @repo="test_repo", @auth="test_user:test_pass", @root_source_path="spec", @root_dest_path="spec", @redis_server=nil, @redis_port=nil, @registration_server=nil, @endpoint=nil, @site=nil, @branch="master", @use_publisher=false, @github_api=#<Github::Repos:0x007ffb8684c888 @current_options={:adapter=>:net_http, :client_id=>nil, :client_secret=>nil, :oauth_token=>nil, :endpoint=>"https://api.github.com", :site=>"https://github.com", :ssl=>{:verify=>false}, :mime_type=>:json, :user_agent=>"Github Ruby Gem 0.11.3", :connection_options=>{}, :repo=>"test_repo", :user=>nil, :org=>"test_org", :login=>"test_user", :password=>"test_pass", :basic_auth=>"test_user:test_pass", :auto_pagination=>false}, @adapter=:net_http, @client_id=nil, @client_secret=nil, @oauth_token=nil, @endpoint="https://api.github.com", @site="https://github.com", @ssl={:verify=>false}, @mime_type=:json, @user_agent="Github Ruby Gem 0.11.3", @connection_options={}, @repo="test_repo", @user=nil, @org="test_org", @login="test_user", @password="test_pass", @basic_auth="test_user:test_pass", @auto_pagination=false>>
|
2814
|
+
Overlay encountered an error during overlay_repo and is retrying: StandardError
|
2815
|
+
Overlay started processing repo with config #<Overlay::GithubRepo:0x007ffb8684c900 @org="test_org", @repo="test_repo", @auth="test_user:test_pass", @root_source_path="spec", @root_dest_path="spec", @redis_server=nil, @redis_port=nil, @registration_server=nil, @endpoint=nil, @site=nil, @branch="master", @use_publisher=false, @github_api=#<Github::Repos:0x007ffb8684c888 @current_options={:adapter=>:net_http, :client_id=>nil, :client_secret=>nil, :oauth_token=>nil, :endpoint=>"https://api.github.com", :site=>"https://github.com", :ssl=>{:verify=>false}, :mime_type=>:json, :user_agent=>"Github Ruby Gem 0.11.3", :connection_options=>{}, :repo=>"test_repo", :user=>nil, :org=>"test_org", :login=>"test_user", :password=>"test_pass", :basic_auth=>"test_user:test_pass", :auto_pagination=>false}, @adapter=:net_http, @client_id=nil, @client_secret=nil, @oauth_token=nil, @endpoint="https://api.github.com", @site="https://github.com", @ssl={:verify=>false}, @mime_type=:json, @user_agent="Github Ruby Gem 0.11.3", @connection_options={}, @repo="test_repo", @user=nil, @org="test_org", @login="test_user", @password="test_pass", @basic_auth="test_user:test_pass", @auto_pagination=false>>
|
2816
|
+
Overlay finished processing repo with config #<Overlay::GithubRepo:0x007ffb8684c900 @org="test_org", @repo="test_repo", @auth="test_user:test_pass", @root_source_path="spec", @root_dest_path="spec", @redis_server=nil, @redis_port=nil, @registration_server=nil, @endpoint=nil, @site=nil, @branch="master", @use_publisher=false, @github_api=#<Github::Repos:0x007ffb8684c888 @current_options={:adapter=>:net_http, :client_id=>nil, :client_secret=>nil, :oauth_token=>nil, :endpoint=>"https://api.github.com", :site=>"https://github.com", :ssl=>{:verify=>false}, :mime_type=>:json, :user_agent=>"Github Ruby Gem 0.11.3", :connection_options=>{}, :repo=>"test_repo", :user=>nil, :org=>"test_org", :login=>"test_user", :password=>"test_pass", :basic_auth=>"test_user:test_pass", :auto_pagination=>false}, @adapter=:net_http, @client_id=nil, @client_secret=nil, @oauth_token=nil, @endpoint="https://api.github.com", @site="https://github.com", @ssl={:verify=>false}, @mime_type=:json, @user_agent="Github Ruby Gem 0.11.3", @connection_options={}, @repo="test_repo", @user=nil, @org="test_org", @login="test_user", @password="test_pass", @basic_auth="test_user:test_pass", @auto_pagination=false>>
|
2817
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2818
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2819
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2820
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2821
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2822
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2823
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2824
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2825
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2826
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2827
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2828
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2829
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2830
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2831
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
2832
|
+
Overlay found deleted file in hook: lib/test/test_removed.rb
|
2833
|
+
Overlay found added file in hook: lib/test/test_added.rb
|
2834
|
+
Overlay found modified file in hook: lib/test/test_modified.rb
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: overlay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Saarinen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|