arvados-cli 0.1.20140713141004 → 0.1.20140714134416

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/crunch-job +23 -21
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 107cb8b6e281b087cea330bb8eaaae3cfaa828b1
4
- data.tar.gz: ccfd3c37bb44038039bf11a6cb75eba3652468a8
3
+ metadata.gz: f1ca46df6fd1255e4bc8ecc07d9692175d3771c6
4
+ data.tar.gz: f83aaf1f1a2fb7766e5cf2752cb40c851a3446c2
5
5
  SHA512:
6
- metadata.gz: b8a095f05f7d16da10e92773ef43b5d50d09356dd7f86a54a83eb009a32aa6d1bb2501c583aa296f98ded42e92d10169a2a43f6047964af21efb80657c1ff57a
7
- data.tar.gz: 6f7bafa39ee7dda30f1f3766d01a94f47de9074db7e2235e7fee03ee9cd2db0684cac1f9fa1588e42ba82b0262bfbc8e6b6a74fc0881dd43746d83a12d70c7cd
6
+ metadata.gz: 7e47a6263aa5569ff6d196864b7521bcd3102a4dd3041485ca7f40d91ae5d33e629bf76e688790d930c9af187dd3e7d35b0847a5826dfd4395126af480d63940
7
+ data.tar.gz: f5179344f6a27fcb4078baea4361e963ff04474e69115017377c35ad2df9ff55941b1db5fce8efc4c15bbca62c2802849ce906beffca8219d5ef5e65886fc7a4
data/bin/crunch-job CHANGED
@@ -985,27 +985,29 @@ sub reapchildren
985
985
  push @freeslot, $proc{$pid}->{slot};
986
986
  delete $proc{$pid};
987
987
 
988
- # Load new tasks
989
- my $newtask_list = [];
990
- my $newtask_results;
991
- do {
992
- $newtask_results = $arv->{'job_tasks'}->{'list'}->execute(
993
- 'where' => {
994
- 'created_by_job_task_uuid' => $Jobstep->{'arvados_task'}->{uuid}
995
- },
996
- 'order' => 'qsequence',
997
- 'offset' => scalar(@$newtask_list),
998
- );
999
- push(@$newtask_list, @{$newtask_results->{items}});
1000
- } while (@{$newtask_results->{items}});
1001
- foreach my $arvados_task (@$newtask_list) {
1002
- my $jobstep = {
1003
- 'level' => $arvados_task->{'sequence'},
1004
- 'failures' => 0,
1005
- 'arvados_task' => $arvados_task
1006
- };
1007
- push @jobstep, $jobstep;
1008
- push @jobstep_todo, $#jobstep;
988
+ if ($task_success) {
989
+ # Load new tasks
990
+ my $newtask_list = [];
991
+ my $newtask_results;
992
+ do {
993
+ $newtask_results = $arv->{'job_tasks'}->{'list'}->execute(
994
+ 'where' => {
995
+ 'created_by_job_task_uuid' => $Jobstep->{'arvados_task'}->{uuid}
996
+ },
997
+ 'order' => 'qsequence',
998
+ 'offset' => scalar(@$newtask_list),
999
+ );
1000
+ push(@$newtask_list, @{$newtask_results->{items}});
1001
+ } while (@{$newtask_results->{items}});
1002
+ foreach my $arvados_task (@$newtask_list) {
1003
+ my $jobstep = {
1004
+ 'level' => $arvados_task->{'sequence'},
1005
+ 'failures' => 0,
1006
+ 'arvados_task' => $arvados_task
1007
+ };
1008
+ push @jobstep, $jobstep;
1009
+ push @jobstep_todo, $#jobstep;
1010
+ }
1009
1011
  }
1010
1012
 
1011
1013
  $progress_is_dirty = 1;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arvados-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20140713141004
4
+ version: 0.1.20140714134416
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arvados Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-13 00:00:00.000000000 Z
11
+ date: 2014-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: arvados
@@ -166,7 +166,7 @@ dependencies:
166
166
  - - "<"
167
167
  - !ruby/object:Gem::Version
168
168
  version: 1.0.0
169
- description: This is the Arvados SDK CLI gem, git revision 76116fc706e2580e530d40b0e5f85783289150bf
169
+ description: This is the Arvados SDK CLI gem, git revision 56303d3c734fa0ed9d5f077aac60b97596506efc
170
170
  email: gem-dev@curoverse.com
171
171
  executables:
172
172
  - arv