aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wilmott <p@p8952.info>2015-08-13 16:59:51 +0000
committerPeter Wilmott <p@p8952.info>2015-08-13 16:59:51 +0000
commitbcccf25ea618973b1de9f020b4b719e563c42df9 (patch)
tree13b02041948eaac505ed4d7f025b693e59540476
parentRemove deprecated SYNC value (diff)
downloadruby-tinderbox-bcccf25ea618973b1de9f020b4b719e563c42df9.tar.gz
ruby-tinderbox-bcccf25ea618973b1de9f020b4b719e563c42df9.tar.bz2
ruby-tinderbox-bcccf25ea618973b1de9f020b4b719e563c42df9.zip
Mark partial repoman failures as ok until CVS header issues are fixed
-rw-r--r--web/app.rb2
-rw-r--r--web/views/layout.erb5
2 files changed, 5 insertions, 2 deletions
diff --git a/web/app.rb b/web/app.rb
index 7c992d2..bd69e26 100644
--- a/web/app.rb
+++ b/web/app.rb
@@ -95,7 +95,7 @@ class RubyTinderbox < Sinatra::Base
repoman_next = package.repoman_dataset.where(target: 'next').reverse_order(:timestamp).first
next if repoman_next.nil?
- if repoman_current[:result] == 'passed' && repoman_next[:result] == 'passed'
+ if repoman_current[:result] == 'passed' || repoman_current[:result] == 'partial' && repoman_next[:result] == 'passed' || repoman_next[:result] == 'partial'
packages << [package, build_current, build_next, repoman_current, repoman_next]
end
end
diff --git a/web/views/layout.erb b/web/views/layout.erb
index 0e961a8..5f0467c 100644
--- a/web/views/layout.erb
+++ b/web/views/layout.erb
@@ -84,7 +84,10 @@
<a class="goto-top" href="#site-title">Top</a>
<div class="row">
<div class="col-md-1"></div>
- <div class="col-md-10"><%=yield%></div>
+ <div class="col-md-10">
+ <div class="alert alert-danger"><strong>Notice:</strong> Maintenance work underway due to git migration. Some build logs are currently unavailable.</div>
+ <%=yield%>
+ </div>
<div class="col-md-1"></div>
</div>
</div>