Sha256: dcb68650a10388edcc3a07e1b8f6e130fdc243af56ea8c1645409823bc7d77ec

Contents?: true

Size: 1.16 KB

Versions: 31

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 that will be rolled back</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

31 entries across 31 versions & 1 rubygems

Version Path
shipit-engine-0.39.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.38.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.37.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.36.1 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.36.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.35.1 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.35.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.34.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.33.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.32.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.31.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.30.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.29.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.28.1 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.28.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.27.1 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.27.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.26.0 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.25.1 app/views/shipit/deploys/rollback.html.erb
shipit-engine-0.25.0 app/views/shipit/deploys/rollback.html.erb