Sha256: f3d8d9f4f630de8a883f18bd57acc88fc3085737e38c2c47e4d3dfb3180881a2

Contents?: true

Size: 1.16 KB

Versions: 19

Compression:

Stored size: 1.16 KB

Contents

<%= render partial: 'shipit/stacks/header', locals: { stack: @stack } %>

<div class="wrapper">
  <section class="warning">
    <h2>Are you sure it's safe to rollback?</h2>
    <ul>
      <li>Does the code you want to rollback contain migrations?</li>
      <li>If so, is the old code compatible with the new schema?</li>
    </ul>
  </section>

  <section>
    <header class="section-header">
      <h2>Commits included in this rollback</h2>
    </header>

    <p><%= link_to_github_deploy(@rollback) %></p>

    <%= render 'shipit/deploys/summary', commits: @rollback.commits %>
  </section>

  <%= render_monitoring @stack %>

  <%= render_checklist @stack.checklist %>

  <%= form_for [@stack, @rollback] do |f| %>
    <%= render partial: 'shipit/variables', locals: { variables: @rollback.variables, form: f, header: "Environment Variables", field_name: :env}  %>

    <%= render 'concurrent_deploy_warning' if @stack.active_task? %>

    <section class="submit-section">
      <%= f.hidden_field :parent_id %>
      <%= f.submit 'Rollback', :class => ['btn', 'rollback', 'trigger-rollback'], data: {confirm: "Are you really sure it's safe?"} %>
    </section>
  <% end %>
</div>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
shipit-engine-0.16.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.15.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.14.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.13.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.12.1 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.12.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.11.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.10.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.9.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.8.9 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.8.8 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.8.7 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.8.6 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.8.5 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.8.4 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.8.3 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.8.2 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.8.1 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.8.0 app/views/shipit/deploys/rollback.html.erb