aboutsummaryrefslogtreecommitdiff
path: root/web/lib
diff options
context:
space:
mode:
authorPeter Wilmott <p@p8952.info>2015-01-21 09:29:10 +0000
committerPeter Wilmott <p@p8952.info>2015-01-21 09:29:10 +0000
commit4d986c3ad3247a792ac01f7b513c9e102aae58bf (patch)
tree5c6d09eaff84cbac77f86bf95c9176d303608b6e /web/lib
parentUpdate README.md (diff)
downloadruby-tinderbox-4d986c3ad3247a792ac01f7b513c9e102aae58bf.tar.gz
ruby-tinderbox-4d986c3ad3247a792ac01f7b513c9e102aae58bf.tar.bz2
ruby-tinderbox-4d986c3ad3247a792ac01f7b513c9e102aae58bf.zip
Drop daily CI task
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/ci.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/web/lib/ci.rb b/web/lib/ci.rb
index 674f4d5..10e86b0 100644
--- a/web/lib/ci.rb
+++ b/web/lib/ci.rb
@@ -6,9 +6,6 @@ def run_ci(num_of_packages, provisioner)
if num_of_packages == :all
packages = packages
- elsif num_of_packages == :daily
- packages_per_day = ((packages.length.to_f / 7).ceil)
- packages = packages[(Time.now.wday * packages_per_day)..((Time.now.wday * packages_per_day) + packages_per_day)]
elsif num_of_packages == 0
packages = packages.sample(5)
elsif num_of_packages == :untested