没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
SSHKit是一种工具包,用于以结构化方式在一个或多个服务器上运行命令。 例 连接到2台服务器 以RAILS_ENV=production deploy用户身份执行命令 串行执行命令(默认为:parallel ) require 'sshkit' require 'sshkit/dsl' include SSHKit :: DSL on [ "1.example.com" , "2.example.com" ] , in : :sequence do | host | puts "Now executing on #{ host } " within "/opt/sites/example.com" do as :deploy do with RAILS_ENV : 'production' do execute :rake , "assets:precompile" execute :rails , "runner" , "S3::Sync.notify" end end end end 还有许
资源推荐
资源详情
资源评论
收起资源包目录
sshkit-master.zip (90个子文件)
sshkit-master
.gitignore 69B
BREAKING_API_WISHLIST.md 645B
LICENSE.md 1KB
.travis.yml 266B
sshkit.gemspec 1KB
Dangerfile 78B
CONTRIBUTING.md 3KB
Vagrantfile 583B
.rubocop.yml 1KB
EXAMPLES.md 11KB
CHANGELOG.md 92B
.github
release-drafter.yml 485B
workflows
push.yml 283B
examples
images
example_output.png 82KB
logo.png 5KB
simple_connection.rb 222B
README.md 23KB
.rubocop_todo.yml 18KB
FAQ.md 2KB
lib
sshkit
color.rb 2KB
host.rb 4KB
exception.rb 203B
logger.rb 109B
log_message.rb 224B
dsl.rb 212B
configuration.rb 2KB
formatters
black_hole.rb 153B
simple_text.rb 344B
dot.rb 236B
abstract.rb 1KB
pretty.rb 2KB
command.rb 7KB
backends
local.rb 2KB
netssh
known_hosts.rb 3KB
netssh.rb 6KB
abstract.rb 4KB
skipper.rb 509B
connection_pool
cache.rb 2KB
nil_cache.rb 274B
connection_pool.rb 6KB
printer.rb 352B
all.rb 1KB
mapping_interaction_handler.rb 1KB
version.rb 46B
runners
group.rb 451B
parallel.rb 524B
abstract.rb 481B
sequential.rb 792B
null.rb 154B
coordinator.rb 821B
command_map.rb 1KB
deprecation_logger.rb 506B
sshkit.rb 417B
core_ext
array.rb 79B
hash.rb 226B
RELEASING.md 959B
Gemfile 190B
.yardopts 97B
Rakefile 872B
test
unit
test_mapping_interaction_handler.rb 4KB
test_coordinator.rb 5KB
test_color.rb 4KB
test_logger.rb 308B
test_configuration.rb 4KB
test_deprecation_logger.rb 813B
test_dsl.rb 455B
test_command_map.rb 2KB
formatters
test_dot.rb 1KB
test_pretty.rb 5KB
test_simple_text.rb 2KB
test_custom.rb 2KB
test_command.rb 9KB
backends
test_netssh.rb 3KB
test_printer.rb 2KB
test_connection_pool.rb 4KB
test_local.rb 417B
test_abstract.rb 5KB
test_host.rb 5KB
runners
test_sequential.rb 492B
test_parallel.rb 488B
test_group.rb 444B
support
vagrant_wrapper.rb 1KB
helper.rb 2KB
functional
test_ssh_server_comes_up_for_functional_tests.rb 486B
backends
test_netssh.rb 8KB
test_local.rb 4KB
boxes.json 219B
known_hosts
github_ip 407B
github 391B
github_hash 442B
共 90 条
- 1
资源评论
矢量边界
- 粉丝: 20
- 资源: 4608
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功