Skip to content
Adds support to Vlad for pushing files to a remote server without SCM.
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
doc
lib/vlad
test
.autotest
.gitignore
.travis.yml
.yardopts
Gemfile
Gemfile.lock
History.txt
Manifest.txt
README.rdoc
Rakefile

README.rdoc

vlad-push Build Status

DESCRIPTION:

Adds support to Vlad for pushing files to a remote server without SCM. (Really, pre 1.x didn't work as expected.)

FEATURES/PROBLEMS:

  • Requires vlad-git gem

SYNOPSIS:

$ rake [env] vlad:push
$ rake [env] vlad:update

       ^-- if using environment tasks in deploy.rb

or

$ rake [env] vlad:deploy

       ^-- if using environment tasks in deploy.rb

Rakefile sample

require 'vlad'
Vlad.load(:scm => :push)

deploy.rb sample

set :deploy_to, "/web/root"
set :repository, "/push/root"
set :extract_file, "#{application}-#{release_name}.tgz"

REQUIREMENTS:

INSTALL:

$ sudo gem install vlad-push

VARIABLES:

repository:: Vlad config param, should be set to a directory location to use as repo on remote server(s)

<tt>:repository => "/tmp/repo"</tt>

extract_file

Name of tarball that vlad-push will generate, we suggest changing this

extract_dir

Path to a directory that we will create the extract in, defaults to “/tmp”

domain:: See remote_task :domain variable

ssh_flags

See remote_task :ssh_flags variable

rsync_flags

See remote_task :rsync_flags variable

ACKKNOWLEDGEMENTS

LICENSE:

(The MIT License)

Copyright © 2011 Joshua Mervine

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.