Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Developer 216 thread test #377

Closed
wants to merge 2 commits into from

2 participants

@pmuir
Owner

No description provided.

@jboss-developer-ci
Collaborator

Triggering build using a merge of d50b965 on branch master:
Private: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/www.jboss.org-pull-player-executor/

@jboss-developer-ci
Collaborator

Build 360 is now running using a merge of d50b965 on branch master:
Private: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/www.jboss.org-pull-player-executor/360

@jboss-developer-ci
Collaborator

Triggering build using a merge of 7f041a6 on branch master:
Private: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/www.jboss.org-pull-player-executor/

@jboss-developer-ci
Collaborator

Build 362 is now running using a merge of 7f041a6 on branch master:
Private: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/www.jboss.org-pull-player-executor/362

@pmuir
Owner

Ok, 20 threads looks pretty good. We only got a 2 retries (out of 700). The moment we start having to retry much, we start spending a lot more time in it.

@pmuir pmuir closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 15, 2014
  1. @pmuir

    DEVELOPER-216 Add blinkr

    pmuir authored
  2. @pmuir
This page is out of date. Refresh to see the latest.
Showing with 66 additions and 2 deletions.
  1. +6 −0 Gemfile
  2. +16 −1 Gemfile.lock
  3. +20 −1 Rakefile
  4. +24 −0 _config/blinkr.yaml
View
6 Gemfile
@@ -48,3 +48,9 @@ group :vdiff do
gem 'wraith', :github => 'pmuir/wraith'
end
+group :health do
+ #gem 'blinkr', '~> 0.0.2'
+ gem 'blinkr', :github => 'pmuir/blinkr'
+ #gem 'blinkr', :path => '../blinkr'
+end
+
View
17 Gemfile.lock
@@ -1,6 +1,6 @@
GIT
remote: git://github.com/awestruct/aweplug.git
- revision: 2c470efd45eaa666bcce0ef1beb5ebc54e74b70b
+ revision: b4191869ea635676b6508b92e4da16411225645f
specs:
aweplug (1.0.0.a24)
curb (~> 0.8.5)
@@ -14,6 +14,16 @@ GIT
uglifier (~> 2.0.1)
GIT
+ remote: git://github.com/pmuir/blinkr.git
+ revision: 8d13b374714c9275695d7df6ca1412c721916c6d
+ specs:
+ blinkr (0.1.0)
+ nokogiri (~> 1.5)
+ parallel (~> 1.0.0)
+ slim (~> 2.0)
+ typhoeus (~> 0.6)
+
+GIT
remote: git://github.com/pmuir/wraith.git
revision: b43e0b20f31ed24be45a08faf9bcb355e306dbf9
specs:
@@ -73,6 +83,8 @@ GEM
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
+ ethon (0.7.1)
+ ffi (>= 1.3.0)
eventmachine (1.0.3)
eventmachine (1.0.3-java)
execjs (2.2.1)
@@ -163,6 +175,8 @@ GEM
thor (0.19.1)
tilt (2.0.1)
timers (1.1.0)
+ typhoeus (0.6.9)
+ ethon (>= 0.7.1)
uglifier (2.0.1)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
@@ -179,6 +193,7 @@ DEPENDENCIES
asciidoctor (~> 1.5.0.preview8)
aweplug!
awestruct (~> 0.5.4.rc3)
+ blinkr!
curb (~> 0.8.5)
git (~> 1.2.5)
htmlcompressor (~> 0.0.6)
View
21 Rakefile
@@ -386,7 +386,7 @@ desc 'Run wraith'
task :wraith, [:old, :new, :pr_prefix, :build_prefix, :pull, :build] => :generate_wraith_config do |task, args|
$staging_config ||= config 'staging'
Dir.chdir("_wraith")
- unless system "wraith capture config"
+ unless system "bundle exec wraith capture config"
exit 1
end
wraith_base_path = "#{args[:pr_prefix]}/#{args[:pull]}/wraith"
@@ -399,6 +399,25 @@ task :wraith, [:old, :new, :pr_prefix, :build_prefix, :pull, :build] => :generat
github.comment_on_pull('jboss-developer', 'www.jboss.org', args[:pull], "Visual diff: #{args[:new]}/#{wraith_path}/gallery.html")
end
+desc 'Run blinkr'
+task :blinkr, [:new, :pr_prefix, :build_prefix, :pull, :build] do |task, args|
+ $staging_config ||= config 'staging'
+ base_path = "#{args[:pr_prefix]}/#{args[:pull]}"
+ base_url = "#{args[:new]}/#{base_path}/#{args[:build_prefix]}/#{args[:build]}/"
+ report_base_path = "#{base_path}/blinkr"
+ report_path = "#{report_base_path}/#{args[:build]}"
+ FileUtils.mkdir_p("_tmp/blinkr")
+ unless system "bundle exec blinkr -c _config/blinkr.yaml -u #{base_url} -v"
+ exit 1
+ end
+ Dir.mktmpdir do |empty_dir|
+ rsync(local_path: empty_dir, host: $staging_config.deploy.host, remote_path: "#{$staging_config.deploy.path}/#{report_base_path}")
+ end
+ rsync(local_path: '_tmp/blinkr', host: $staging_config.deploy.host, remote_path: "#{$staging_config.deploy.path}/#{report_path}")
+ github = GitHub.new
+ github.comment_on_pull('jboss-developer', 'www.jboss.org', args[:pull], "Broken links: #{args[:new]}/#{report_path}")
+end
+
# Execute Awestruct
def run_awestruct(args)
if ENV['site_base_path']
View
24 _config/blinkr.yaml
@@ -0,0 +1,24 @@
+skips:
+ # Can't get this excluded from the sitemap :-(
+ - !ruby/regexp /^https?:\/\/www(-stg)?\.jboss\.org\/(pr\/\d+\/build\/\d+)?\/images\/readme\/$/
+ # localhost:8xxx addresses are extensively used in quickstart readmes
+ - !ruby/regexp /^https?:\/\/localhost:(8|9)\d{3}.*/
+ - !ruby/regexp /^https?:\/\/127.0.0.1:(8|9)\d{3}.*/
+ # -YOUR_DOMAIN_NAME.rhcloud.com is used in quickstart readmes
+ - !ruby/regexp /^http:\/\/\w*-YOUR_DOMAIN_NAME\.rhcloud\.com.*/
+ # Prevent any stray mailto and irc links appearing
+ - !ruby/regexp /^mailto:/
+ - !ruby/regexp /^irc:/
+ # For some reason we get a 502 from the linkedin.com and facebook.com share service, so exclude this
+ - !ruby/regexp /^https?:\/\/(www\.)?linkedin\.com\/shareArticle.*/
+ - !ruby/regexp /^https?:\/\/(www\.)?facebook\.com\/sharer\.php.*/
+ignores:
+ - url: !ruby/regexp /^https?:\/\/dcp(beta-searchisko\.rhcloud\.com|\.jboss\.org)\/v1\/rest/
+ message: Operation canceled
+report: _tmp/blinkr/index.html
+max_page_retys: 10
+max_retrys: 10
+browser: phantomjs
+ignore_fragments: true
+phantomjs_threads: 20
+
Something went wrong with that request. Please try again.