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

Version Path
app_builder-0.2.12 lib/app_builder/template/manifest.yml.erb
app_builder-0.2.11 lib/app_builder/template/manifest.yml.erb
app_builder-0.2.10 lib/app_builder/template/manifest.yml.erb
app_builder-0.2.9 lib/app_builder/template/manifest.yml.erb
app_builder-0.2.7 lib/app_builder/template/manifest.yml.erb
app_builder-0.2.6 lib/app_builder/template/manifest.yml.erb
app_builder-0.2.5 lib/app_builder/template/manifest.yml.erb
app_builder-0.2.4 lib/app_builder/template/manifest.yml.erb
app_builder-0.2.3 lib/app_builder/template/manifest.yml.erb