cnvrg 1.9.8 → 1.9.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d2e037c6264223158a1d85eb3c570453d0c67982e1088060a439bfcc7ffac37f
4
- data.tar.gz: e71b3030503d3f128ba912dcb798faa8626ebad4dd0377b94eb6b3ea74df9c5e
3
+ metadata.gz: 10a6bb8d2946d743e8dd1f609369d503c9bf44a9ba748e1e2dfb33df57444aa0
4
+ data.tar.gz: 382e9b28d7edb8856bcd12d5accabf31eb0f264055b4f652da94508a97458b3c
5
5
  SHA512:
6
- metadata.gz: e8b35e3e285a0ee031f4c61680004b91db9be7387c3544f1386eb92f7961ea0b7ef7191594255ef9cd4f3531119db86da682557a7380de2e36973173fc4749ac
7
- data.tar.gz: f5be3adefda82fa9d37a59055b341b894551ea87e6b65045ae4e3fcec4db65f7d9a02d632e43116de046bc2fd6d17636351bb7af1ee0f3ee2593dbd4890bbc1c
6
+ metadata.gz: db580ef688cf3c3a1e3c95f62c3c520fa606a13ebc678fee420c312e89b7c2c62e39783d25a7962d1f1ba5fa439c968626164443c0828d4fae5604eb881794fd
7
+ data.tar.gz: 296974a98310ef9ba922124385723a33380cd6fd412d80d18cb3cb0a73b070a1a119d61ce26b8a4fe560e6f7a8b591fb222e3ba6ccc09c046d891a02436358bd
@@ -4584,7 +4584,7 @@ module Cnvrg
4584
4584
 
4585
4585
  end
4586
4586
 
4587
- desc 'file_exists', description: '', hide: true
4587
+ desc 'file_exists', '', :hide => true
4588
4588
  def file_exists(file)
4589
4589
  exit(0) if File.exists? file
4590
4590
  exit(1)
@@ -1,7 +1,7 @@
1
1
  module Cnvrg
2
2
  class LibraryCli < SubCommandBase
3
3
 
4
- desc "library import", description: ""
4
+ desc "library import", ''
5
5
  def import
6
6
  unless File.exists? "library.yml"
7
7
  Cnvrg::CLI.log_message("Can't find library.yml", 'red')
@@ -1,7 +1,7 @@
1
1
  module Cnvrg
2
2
  class JobCli < SubCommandBase
3
3
 
4
- desc 'log', description: '', hide: true
4
+ desc 'log', '', :hide => true
5
5
  method_option :level, :type => :string, :aliases => ["-l", "--level"], :default => 'info'
6
6
  method_option :step, :type => :string, :aliases => ["-s", "--step"], :default => nil
7
7
  method_option :restart, :type => :boolean, :aliases => ["-r", "--restart"], :default => false
@@ -15,7 +15,7 @@ module Cnvrg
15
15
  end
16
16
  end
17
17
 
18
- desc 'requirements', description: '', hide: true
18
+ desc 'requirements', '', :hide => true
19
19
  def requirements
20
20
  cli = Cnvrg::CLI.new
21
21
  cli.log_start(__method__, args, options)
@@ -23,7 +23,7 @@ module Cnvrg
23
23
  @project = Project.new(project_dir, owner: ENV['CNVRG_OWNER'], slug: ENV['CNVRG_PROJECT'])
24
24
  end
25
25
 
26
- desc 'install_reqs', description: 'Install requirements', hide: true
26
+ desc 'install_reqs', 'Install requirements', :hide => true
27
27
  def install_reqs
28
28
  cli = Cnvrg::CLI.new
29
29
  cli.log_start(__method__, args, options)
@@ -33,8 +33,7 @@ module Cnvrg
33
33
  @executer.execute_cmds(commands)
34
34
  end
35
35
 
36
-
37
- desc 'start', description: "Job Start!", hide: true
36
+ desc 'start', 'Job Start!', :hide => true
38
37
  def start
39
38
  cli = Cnvrg::CLI.new
40
39
  cli.log_start(__method__, args, options)
@@ -47,7 +46,7 @@ module Cnvrg
47
46
  @executer.main_thread
48
47
  end
49
48
 
50
- desc 'stats', description: 'stats of agent and slave', hide: true
49
+ desc 'stats', 'stats of agent and slave', :hide => true
51
50
  def stats
52
51
  cli = Cnvrg::CLI.new
53
52
  cli.log_start(__method__, args, options)
@@ -59,7 +58,7 @@ module Cnvrg
59
58
  @executer.executer_stats
60
59
  end
61
60
 
62
- desc 'pre_pod_stop', description: 'test', hide: true
61
+ desc 'pre_pod_stop', '', :hide => true
63
62
  def pre_pod_stop
64
63
  cli = Cnvrg::CLI.new
65
64
  cli.log_start(__method__, args, options)
@@ -1,6 +1,7 @@
1
1
  module Cnvrg
2
2
  class JobSsh < SubCommandBase
3
- desc 'ssh start', description: 'job_id', hide: false
3
+
4
+ desc 'ssh start', 'stats of agent and slave'
4
5
  method_option :port, :type => :numeric, :aliases => ["-p", "--port"], :desc => "Port to bind into", :default => 2222
5
6
  method_option :username, :type => :string, :aliases => ["-u", "--username"], :desc => "Job container user name", :default => nil
6
7
  method_option :password, :type => :string, :aliases => ["--password"], :desc =>"Job Conatainer user name, will be set by cnvrg", :default => nil
@@ -1,3 +1,3 @@
1
1
  module Cnvrg
2
- VERSION = '1.9.8'
2
+ VERSION = '1.9.9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cnvrg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.8
4
+ version: 1.9.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yochay Ettun