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 +4 -4
- data/lib/cnvrg/cli.rb +1 -1
- data/lib/cnvrg/cli/library_cli.rb +1 -1
- data/lib/cnvrg/job_cli.rb +6 -7
- data/lib/cnvrg/job_ssh.rb +2 -1
- data/lib/cnvrg/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10a6bb8d2946d743e8dd1f609369d503c9bf44a9ba748e1e2dfb33df57444aa0
|
4
|
+
data.tar.gz: 382e9b28d7edb8856bcd12d5accabf31eb0f264055b4f652da94508a97458b3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db580ef688cf3c3a1e3c95f62c3c520fa606a13ebc678fee420c312e89b7c2c62e39783d25a7962d1f1ba5fa439c968626164443c0828d4fae5604eb881794fd
|
7
|
+
data.tar.gz: 296974a98310ef9ba922124385723a33380cd6fd412d80d18cb3cb0a73b070a1a119d61ce26b8a4fe560e6f7a8b591fb222e3ba6ccc09c046d891a02436358bd
|
data/lib/cnvrg/cli.rb
CHANGED
data/lib/cnvrg/job_cli.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Cnvrg
|
2
2
|
class JobCli < SubCommandBase
|
3
3
|
|
4
|
-
desc 'log',
|
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',
|
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',
|
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',
|
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',
|
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)
|
data/lib/cnvrg/job_ssh.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
module Cnvrg
|
2
2
|
class JobSsh < SubCommandBase
|
3
|
-
|
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
|
data/lib/cnvrg/version.rb
CHANGED