diff options
author | Peter Wilmott <p@p8952.info> | 2015-01-23 16:44:25 +0000 |
---|---|---|
committer | Peter Wilmott <p@p8952.info> | 2015-01-23 18:20:00 +0000 |
commit | dad56893812a0fa28923dbeae46c17393aed1d6e (patch) | |
tree | b09cb6e7170a779923b3815e19366c5c7f5a85b3 /web | |
parent | Increase the potential footer height; Fix typo (diff) | |
download | ruby-tinderbox-dad56893812a0fa28923dbeae46c17393aed1d6e.tar.gz ruby-tinderbox-dad56893812a0fa28923dbeae46c17393aed1d6e.tar.bz2 ruby-tinderbox-dad56893812a0fa28923dbeae46c17393aed1d6e.zip |
Drop environment table and results from CI
Diffstat (limited to 'web')
-rw-r--r-- | web/db/migrations/012_remove_environment.rb | 5 | ||||
-rw-r--r-- | web/lib/ci.rb | 2 | ||||
-rw-r--r-- | web/views/build_logs.erb | 6 |
3 files changed, 5 insertions, 8 deletions
diff --git a/web/db/migrations/012_remove_environment.rb b/web/db/migrations/012_remove_environment.rb new file mode 100644 index 0000000..567204a --- /dev/null +++ b/web/db/migrations/012_remove_environment.rb @@ -0,0 +1,5 @@ +Sequel.migration do + change do + drop_column :builds, :environment + end +end diff --git a/web/lib/ci.rb b/web/lib/ci.rb index 2bc86a7..64d649e 100644 --- a/web/lib/ci.rb +++ b/web/lib/ci.rb @@ -63,7 +63,6 @@ def update_ci emerge_info = File.read("#{build}/emerge-info") if File.exist?("#{build}/emerge-info") emerge_pqv = File.read("#{build}/emerge-pqv") if File.exist?("#{build}/emerge-pqv") build_log = File.read("#{build}/build.log") if File.exist?("#{build}/build.log") - environment = File.read("#{build}/environment") if File.exist?("#{build}/environment") gem_list = File.read("#{build}/gem-list") if File.exist?("#{build}/gem-list") Build.find_or_create( @@ -73,7 +72,6 @@ def update_ci emerge_info: emerge_info, emerge_pqv: emerge_pqv, build_log: build_log, - environment: environment, gem_list: gem_list ) end diff --git a/web/views/build_logs.erb b/web/views/build_logs.erb index 9d434a6..d9069bf 100644 --- a/web/views/build_logs.erb +++ b/web/views/build_logs.erb @@ -5,7 +5,6 @@ <li class=<%="disabled" if build[:emerge_pqv].nil?%>><a href="#emerge_pqv">Emerge PQV</a></li> <li class=<%="disabled" if build[:build_log].nil?%>><a href="#build_log">Build Log</a></li> <li class=<%="disabled" if build[:gem_list].nil?%>><a href="#gem_list">Gem List</a></li> - <li class=<%="disabled" if build[:environment].nil?%>><a href="#environment">Environment</a></li> </ul> </div> @@ -28,8 +27,3 @@ <h4><a name="gem_list">Gem List:</a></h4> <pre><%=build[:gem_list]%></pre> <%end%> - -<%unless build[:environment].nil?%> -<h4><a name="environment">Environment</a></h4> -<pre><%=build[:environment]%></pre> -<%end%> |