Class Capistrano::Deploy::Strategy::RemoteCache
In: lib/capistrano/recipes/deploy/strategy/remote_cache.rb
lib/capistrano/recipes/deploy/strategy/remote_cache.rb
Parent: Remote

Implements the deployment strategy that keeps a cached checkout of the source code on each remote server. Each deploy simply updates the cached checkout, and then does a copy from the cached copy to the final deployment location.

Methods

check!   check!   deploy!   deploy!  

Public Instance methods

[Source]

    # File lib/capistrano/recipes/deploy/strategy/remote_cache.rb, line 19
19:         def check!
20:           super.check do |d|
21:             d.remote.writable(shared_path)
22:           end
23:         end

[Source]

    # File lib/capistrano/recipes/deploy/strategy/remote_cache.rb, line 19
19:         def check!
20:           super.check do |d|
21:             d.remote.writable(shared_path)
22:           end
23:         end

Executes the SCM command for this strategy and writes the REVISION mark file to each host.

[Source]

    # File lib/capistrano/recipes/deploy/strategy/remote_cache.rb, line 14
14:         def deploy!
15:           update_repository_cache
16:           copy_repository_cache
17:         end

Executes the SCM command for this strategy and writes the REVISION mark file to each host.

[Source]

    # File lib/capistrano/recipes/deploy/strategy/remote_cache.rb, line 14
14:         def deploy!
15:           update_repository_cache
16:           copy_repository_cache
17:         end

[Validate]