Sha256: e5b482d37b8ecd31a6f6c2da3f33e8d6d93d0bca3258fc2740df4c9b0a205ab2

Contents?: true

Size: 1.1 KB

Versions: 9

Compression:

Stored size: 1.1 KB

Contents

<%= render partial: "projects/header", locals: {project: @project, subtitle: "Deploy to"} %>

<p>
  Branch: <b><%= @deploy.branch %></b>
</p>

<p>
  Commit Range: <b><%= link_to_commit_range_for_deploy @deploy %></b>
</p>

<p>
  Deployer: <b><%= @deploy.deployer %></b>
</p>

<p>
  Release Notes: <b><% if @deploy.release %><%= link_to "link", @deploy.release %><% else %>n/a<% end %></b>
</p>

<p>
  Completed: <b><%= @deploy.completed_at %></b>
</p>

<p>
  Succeeded: <b><%= @deploy.succeeded? %></b>
</p>

<p>
  Duration: <b><%= @deploy.duration %></b> seconds
</p>

<div id="output">
  <%= ansi_to_html @deploy.output %>
</div>

<% unless @deploy.completed_at %>
<% content_for :javascripts do %>
<script type="text/javascript">
  $(function() {
    var interval = 900;
    var timer = window.setInterval(function() {
      $.getJSON(<%=raw project_deploy_path(project_id: @project.slug, id: @deploy.id).to_json %>, function(result) {
        if(result.completed) {
          window.clearInterval(timer);
        }
        $('#output').html(result.output);
      });
    }, interval);
  });
</script>
<% end %>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
houston-core-0.8.0.pre app/views/deploys/show.html.erb
houston-core-0.7.0 app/views/deploys/show.html.erb
houston-core-0.7.0.beta4 app/views/deploys/show.html.erb
houston-core-0.7.0.beta3 app/views/deploys/show.html.erb
houston-core-0.7.0.beta2 app/views/deploys/show.html.erb
houston-core-0.7.0.beta app/views/deploys/show.html.erb
houston-core-0.6.3 app/views/deploys/show.html.erb
houston-core-0.6.2 app/views/deploys/show.html.erb
houston-core-0.6.1 app/views/deploys/show.html.erb