arvados-cli 0.1.20150924203659 → 0.1.20150925144609

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/crunch-job +5 -5
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a8f9fe473aa648556b83fe3850c8d4d8025573b
4
- data.tar.gz: 80b79a6a090c2bb4aa0c8b1ef4b69ce9722d142d
3
+ metadata.gz: 3eefe1d7c9dcabe38d8bd365d1a6feac7ee8dc62
4
+ data.tar.gz: 2599897b9e566608649e1573b0fb4f37318b600d
5
5
  SHA512:
6
- metadata.gz: 6f10c1edfa3b237316f18bc7b71392d04166a1385b339e67e3e696586c13b3d0d3b65f68707293b3eea47e973e190ecf919b9c5228ae5bcebf82d48fa445594f
7
- data.tar.gz: d09204b0e24e5c3bcdc871e0e8adedc1f174fb08fc24cb2a67f70b4e5e9a30da066e9594b0f0be644dbe4bb023310e68fed36bfce75edab611b9eb205ad4dc5e
6
+ metadata.gz: e63beed085b393820405e49f438f91ae7033c640c5452e88d6d17ba1658665e4e7dfbbee919efdfde550f80cf2d158c79f1edefb1e4c882faa361b5d7d94867f
7
+ data.tar.gz: 4d57449ebaff82deb5332899ab7de7d1dc37b3e125bf97318b06d1ee6b73435569afa6bd2e039b6375e4300d378fefdb35fc2cf34a078254977af2334d34669f
data/bin/crunch-job CHANGED
@@ -390,12 +390,12 @@ if (!defined $no_clear_tmp) {
390
390
  my $cleanpid = fork();
391
391
  if ($cleanpid == 0)
392
392
  {
393
- # Find FUSE mounts that look like Keep mounts (the mount path has the
394
- # word "keep") and unmount them. Then clean up work directories.
395
- # TODO: When #5036 is done and widely deployed, we can get rid of the
396
- # regular expression and just unmount everything with type fuse.keep.
393
+ # Find FUSE mounts under $CRUNCH_TMP and unmount them.
394
+ # Then clean up work directories.
395
+ # TODO: When #5036 is done and widely deployed, we can limit mount's
396
+ # -t option to simply fuse.keep.
397
397
  srun (["srun", "--nodelist=$nodelist", "-D", $ENV{'TMPDIR'}],
398
- ['bash', '-ec', '-o', 'pipefail', 'mount -t fuse,fuse.keep | awk \'($3 ~ /\ykeep\y/){print $3}\' | xargs -r -n 1 fusermount -u -z; sleep 1; rm -rf $JOB_WORK $CRUNCH_INSTALL $CRUNCH_TMP/task $CRUNCH_TMP/src* $CRUNCH_TMP/*.cid']);
398
+ ['bash', '-ec', '-o', 'pipefail', 'mount -t fuse,fuse.keep | awk "(index(\$3, \"$CRUNCH_TMP\") == 1){print \$3}" | xargs -r -n 1 fusermount -u -z; sleep 1; rm -rf $JOB_WORK $CRUNCH_INSTALL $CRUNCH_TMP/task $CRUNCH_TMP/src* $CRUNCH_TMP/*.cid']);
399
399
  exit (1);
400
400
  }
401
401
  while (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.20150924203659
4
+ version: 0.1.20150925144609
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arvados Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-24 00:00:00.000000000 Z
11
+ date: 2015-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: arvados
@@ -178,7 +178,7 @@ dependencies:
178
178
  - - "<"
179
179
  - !ruby/object:Gem::Version
180
180
  version: 1.0.0
181
- description: Arvados command line tools, git commit 99349abd0ee7347b5bac3d4a9638853c6d4b97ab
181
+ description: Arvados command line tools, git commit 73ce0cf7675e060d33e75488edfa4f533c177f82
182
182
  email: gem-dev@curoverse.com
183
183
  executables:
184
184
  - arv