mobilize-ssh 1.363 → 1.364

Sign up to get free protection for your applications and to get access to all the features.
@@ -116,7 +116,7 @@ module Mobilize
116
116
  result = Ssh.fire!(node,fire_cmd)
117
117
  #clear out the md5 folders and those not requested to keep
118
118
  s = Stage.find_by_path(stage_path) if stage_path
119
- unless s and s.params['keep_logs']
119
+ unless s and s.params['save_logs']
120
120
  rm_cmd = "sudo rm -rf /home/#{user_name}/mobilize/#{unique_name}"
121
121
  Ssh.fire!(node,rm_cmd)
122
122
  end
@@ -1,5 +1,5 @@
1
1
  module Mobilize
2
2
  module Ssh
3
- VERSION = "1.363"
3
+ VERSION = "1.364"
4
4
  end
5
5
  end
data/mobilize-ssh.gemspec CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
- gem.add_runtime_dependency "mobilize-base","1.363"
19
+ gem.add_runtime_dependency "mobilize-base","1.364"
20
20
  gem.add_runtime_dependency "net-ssh"
21
21
  gem.add_runtime_dependency "net-scp"
22
22
  gem.add_runtime_dependency "net-ssh-gateway"
@@ -3,23 +3,23 @@
3
3
  active: true
4
4
  trigger: once
5
5
  status: ""
6
- stage1: ssh.run keep_logs:true, node:"test_node", cmd:"ruby code.rb", user:"root", sources:["code.rb", "code.sh"]
6
+ stage1: ssh.run save_logs:true, node:"test_node", cmd:"ruby code.rb", user:"root", sources:["code.rb", "code.sh"]
7
7
  stage2: gsheet.write source:"stage1", target:"ssh1.out"
8
8
  - name: ssh2
9
9
  active: true
10
10
  trigger: "after ssh1"
11
11
  status: ""
12
- stage1: ssh.run keep_logs:true, cmd:"sh code2.sh", user:"root", sources:["code2.sh","test_node/var/log/syslog"], params:{file:"syslog"}
12
+ stage1: ssh.run save_logs:true, cmd:"sh code2.sh", user:"root", sources:["code2.sh","test_node/var/log/syslog"], params:{file:"syslog"}
13
13
  stage2: gsheet.write source:"stage1", target:"ssh2.out"
14
14
  - name: ssh3
15
15
  active: true
16
16
  trigger: "after ssh2"
17
17
  status: ""
18
- stage1: ssh.run keep_logs:true, cmd:"echo '@test_param'", params:{test_param:"test param successful"}
18
+ stage1: ssh.run save_logs:true, cmd:"echo '@test_param'", params:{test_param:"test param successful"}
19
19
  stage2: gsheet.write source:"stage1", target:"ssh3.out"
20
20
  - name: ssh4
21
21
  active: true
22
22
  trigger: "after ssh3"
23
23
  status: ""
24
- stage1: ssh.run keep_logs:true, node:"test_node", user:root, sources:["git://DeNA/mobilize-ssh/test/fixtures/code.rb","git://DeNA/mobilize-ssh/test/fixtures/code.sh"], cmd:"ruby code.rb"
24
+ stage1: ssh.run save_logs:true, node:"test_node", user:root, sources:["git://DeNA/mobilize-ssh/test/fixtures/code.rb","git://DeNA/mobilize-ssh/test/fixtures/code.sh"], cmd:"ruby code.rb"
25
25
  stage2: gsheet.write source:stage1, target:"ssh4.out"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mobilize-ssh
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.363'
4
+ version: '1.364'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: '1.363'
21
+ version: '1.364'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: '1.363'
29
+ version: '1.364'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: net-ssh
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -121,7 +121,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
121
121
  version: '0'
122
122
  segments:
123
123
  - 0
124
- hash: 4500700013252989723
124
+ hash: 4079118804061835567
125
125
  required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  none: false
127
127
  requirements:
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  version: '0'
131
131
  segments:
132
132
  - 0
133
- hash: 4500700013252989723
133
+ hash: 4079118804061835567
134
134
  requirements: []
135
135
  rubyforge_project:
136
136
  rubygems_version: 1.8.25