workflow_manager 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +47 -2
- data/config/environments/development.rb +1 -1
- data/config/environments/production.rb +1 -1
- data/lib/workflow_manager/version.rb +1 -1
- metadata +49 -50
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: fca8c934ed4bd7508c695b34610bfefd0f5d03d9
|
4
|
+
data.tar.gz: 301be246d6e1187eac057f9513ead709d00a2829
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: fd1b774dc4e7312a7c86a4e76cdf8da64d9acc375b38bb193bf0ab12919e33da0753b136c4e0c3c06af937b8d3f65edd8d950419e474d3babee6e79a067a9618
|
7
|
+
data.tar.gz: 0343ca1b3cc215a33074d85316cd72bdcfd58aad15f5ef773b920216e3a9c67aaa99973eb4918609b1e6470e8b2c2d554c5868b7251f1a07309692ef1da67009
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# WorkflowManager
|
2
2
|
|
3
|
-
|
3
|
+
This library is a server/client application through dRuby protocol. Mainly it is expected to be used with [SUSHI](https://github.com/uzh/sushi) and [SushiFabric](https://github.com/uzh/sushi_fabric). However, it is possible to use it independently from [SUSHI](https://github.com/uzh/sushi). The main function is to create a worker thread to observe a submitted job by calling a server side function from a client.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -18,7 +18,52 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
Server starts
|
22
|
+
~~~~
|
23
|
+
$ workflow_manager -h 16-05-10 15:56
|
24
|
+
Usage:
|
25
|
+
workflow_manager -d [druby://host:port] -m [development|production]
|
26
|
+
-d, --server server workflow manager URI (default: druby://localhost:12345)
|
27
|
+
-m, --mode mode development|production (default: development)
|
28
|
+
~~~~
|
29
|
+
|
30
|
+
At the first execution, automatically the configulation file similar to the one of Ruby on Rails are generated in config directory as follows:
|
31
|
+
|
32
|
+
config/environments/development.rb
|
33
|
+
~~~~
|
34
|
+
#!/usr/bin/env ruby
|
35
|
+
# encoding: utf-8
|
36
|
+
|
37
|
+
WorkflowManager::Server.configure do |config|
|
38
|
+
config.log_dir = 'logs'
|
39
|
+
config.db_dir = 'dbs'
|
40
|
+
config.interval = 30
|
41
|
+
config.resubmit = 0
|
42
|
+
config.cluster = WorkflowManager::LocalComputer.new('LocalComputer')
|
43
|
+
end
|
44
|
+
~~~~
|
45
|
+
|
46
|
+
After installation, the following client commands become availabe:
|
47
|
+
|
48
|
+
* wfm_delete_command
|
49
|
+
* wfm_get_log
|
50
|
+
* wfm_get_script
|
51
|
+
* wfm_hello
|
52
|
+
* wfm_job_list
|
53
|
+
* wfm_kill_job
|
54
|
+
* wfm_monitoring
|
55
|
+
* wfm_status
|
56
|
+
|
57
|
+
In order to submit a job script, call wfm_monitoring command:
|
58
|
+
|
59
|
+
~~~~
|
60
|
+
$ wfm_monitoring -h 16-05-10 16:03
|
61
|
+
Usage:
|
62
|
+
wfm_monitoring [options] [job_script.sh]
|
63
|
+
-u, --user user who submitted? (default: sushi lover)
|
64
|
+
-p, --project project project number (default: 1001)
|
65
|
+
-d, --server server workflow manager URI (default: druby://localhost:12345)
|
66
|
+
~~~~
|
22
67
|
|
23
68
|
## Contributing
|
24
69
|
|
metadata
CHANGED
@@ -1,43 +1,47 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: workflow_manager
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 0.3.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.2
|
6
5
|
platform: ruby
|
7
|
-
authors:
|
6
|
+
authors:
|
8
7
|
- Functional Genomics Center Zurich
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2016-05-31 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
16
14
|
name: bundler
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: "1.3"
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
24
20
|
type: :development
|
25
|
-
version_requirements: *id001
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: rake
|
28
21
|
prerelease: false
|
29
|
-
|
30
|
-
|
31
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
32
31
|
- - ">="
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version:
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
35
34
|
type: :development
|
36
|
-
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
37
41
|
description: Workflow Manager manages job submissions using dRuby.
|
38
|
-
email:
|
42
|
+
email:
|
39
43
|
- masaomi.hatakeyama@fgcz.uzh.ch
|
40
|
-
executables:
|
44
|
+
executables:
|
41
45
|
- wfm_delete_command
|
42
46
|
- wfm_get_log
|
43
47
|
- wfm_get_script
|
@@ -48,12 +52,10 @@ executables:
|
|
48
52
|
- wfm_status
|
49
53
|
- workflow_manager
|
50
54
|
extensions: []
|
51
|
-
|
52
55
|
extra_rdoc_files: []
|
53
|
-
|
54
|
-
|
55
|
-
- .
|
56
|
-
- .rspec
|
56
|
+
files:
|
57
|
+
- ".gitignore"
|
58
|
+
- ".rspec"
|
57
59
|
- Gemfile
|
58
60
|
- LICENSE.txt
|
59
61
|
- README.md
|
@@ -78,34 +80,31 @@ files:
|
|
78
80
|
- spec/server_spec.rb
|
79
81
|
- spec/spec_helper.rb
|
80
82
|
- workflow_manager.gemspec
|
81
|
-
homepage:
|
82
|
-
licenses:
|
83
|
+
homepage: ''
|
84
|
+
licenses:
|
83
85
|
- MIT
|
86
|
+
metadata: {}
|
84
87
|
post_install_message:
|
85
88
|
rdoc_options: []
|
86
|
-
|
87
|
-
require_paths:
|
89
|
+
require_paths:
|
88
90
|
- lib
|
89
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
90
|
-
|
91
|
-
requirements:
|
91
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
92
93
|
- - ">="
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
version:
|
95
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
96
|
-
|
97
|
-
requirements:
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
98
|
- - ">="
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version:
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '0'
|
101
101
|
requirements: []
|
102
|
-
|
103
102
|
rubyforge_project:
|
104
|
-
rubygems_version:
|
103
|
+
rubygems_version: 2.4.5.1
|
105
104
|
signing_key:
|
106
|
-
specification_version:
|
105
|
+
specification_version: 4
|
107
106
|
summary: Workflow Manager manages job submissions using dRuby.
|
108
|
-
test_files:
|
107
|
+
test_files:
|
109
108
|
- spec/cluster_spec.rb
|
110
109
|
- spec/server_spec.rb
|
111
110
|
- spec/spec_helper.rb
|