Sha256: 4e69cf480e544a7c248c8bbd7b2d0d8fd6f8e96a59901bc4a8c8b8c24dc579fb

Contents?: true

Size: 934 Bytes

Versions: 3

Compression:

Stored size: 934 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/<%= release_timestamp %> <%= 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

3 entries across 3 versions & 1 rubygems

Version Path
capistrano-stretcher-0.5.4 lib/capistrano/templates/manifest.yml.erb
capistrano-stretcher-0.5.3 lib/capistrano/templates/manifest.yml.erb
capistrano-stretcher-0.5.2 lib/capistrano/templates/manifest.yml.erb