Sha256: df0d4d0ef9584ab65d04e2d7dee65538f5104cd134e3e5b7ecd99169039c7b7e

Contents?: true

Size: 924 Bytes

Versions: 4

Compression:

Stored size: 924 Bytes

Contents

src: <%= src %>
checksum: <%= checksum %>
dest: <%= fetch(:deploy_to) %>/releases/<%= env.now %>
commands:
  pre:
    <% hooks["pre"].each do |c| %>
    - <%= c %>
    <% end %>
  post:
    - ln -nfs <%= fetch(:deploy_to) %>/releases/<%= env.now %> <%= fetch(:deploy_to) %>/current
    - rm -rf <%= fetch(:deploy_to) %>/current/log
    - ln -nfs <%= fetch(:deploy_to) %>/shared/log <%= fetch(:deploy_to) %>/current/log
    - mkdir -p <%= fetch(:deploy_to) %>/current/tmp
    - ln -nfs <%= fetch(:deploy_to) %>/shared/pids <%= fetch(:deploy_to) %>/current/tmp/pids
    <% hooks["post"].each do |c| %>
    - <%= c %>
    <% end %>
  success:
    <% hooks["success"].each do |c| %>
    - <%= c %>
    <% end %>
  failure:
    <% hooks["failure"].each do |c| %>
    - <%= c %>
    <% end %>
excludes:
  - "*.pid"
  - "*.socket"
<% if strategy = fetch(:stretcher_sync_strategy, false) %>
sync_strategy: <%= strategy %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
capistrano-stretcher-0.5.1 lib/capistrano/templates/manifest.yml.erb
capistrano-stretcher-0.5.0 lib/capistrano/templates/manifest.yml.erb
capistrano-stretcher-0.4.0 lib/capistrano/templates/manifest.yml.erb
capistrano-stretcher-0.3.0 lib/capistrano/templates/manifest.yml.erb