Sha256: f36402ea0955de4113b7f4ff076fc02aa3efcfa46eaf9d861578e42fba015999
Contents?: true
Size: 1.27 KB
Versions: 9
Compression:
Stored size: 1.27 KB
Contents
src: <%= src_url %> checksum: <%= checksum %> dest: <%= remote_app_home %>/releases/<%= build_id %> commands: pre: - echo 'staring deploy' - mkdir -p <%= remote_app_home %>/releases - mkdir -p <%= remote_app_home %>/shared/log - mkdir -p <%= remote_app_home %>/shared/pids - mkdir -p <%= remote_app_home %>/shared/bindle - mkdir -p <%= remote_app_home %>/shared/sockets post: - ln -nfs <%= remote_app_home %>/releases/<%= build_id %> <%= remote_app_home %>/current - rm -rf <%= remote_app_home %>/current/log - ln -nfs <%= remote_app_home %>/shared/log <%= remote_app_home %>/current/log - mkdir -p <%= remote_app_home %>/current/tmp - ln -nfs <%= remote_app_home %>/shared/pids <%= remote_app_home %>/current/tmp/pids - ln -nfs <%= remote_app_home %>/shared/sockets <%= remote_app_home %>/current/tmp/sockets - cd <%= remote_app_home %>/current && bundle install --deployment --without development test --path <%= remote_app_home %>/shared/bundle - echo 'deploy done' success: - cd <%= remote_app_home %>/releases && ls -1 | sort --reverse | tail -n +<%= keep_release + 1 %> | xargs rm -rf - echo 'deploy success' failure: - echo 'deploy failed!!' - cat >> /path/to/failure.log excludes: - "*.pid" - "*.socket"
Version data entries
9 entries across 9 versions & 1 rubygems