arvados-cli 0.1.20151023190001 → 0.1.20151104051940

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 +4 -3
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba224c6c0738da9111348f7b9bbefa056cc146c1
4
- data.tar.gz: cce922c27376ab4477fa5cdd4158d88bdd16414b
3
+ metadata.gz: c15db0b63a7e7c4666f80da28a47729e41b7eec9
4
+ data.tar.gz: 3c047409ff1ed08d1e9909f528660072e4b16d40
5
5
  SHA512:
6
- metadata.gz: 1770331e2ae4aba0bafb44b7ad6f9de4b0655f7e7bb30781339c8395bfbcd9ff37cd5d878790784b1be27dd360c72c15311f1ae803b25d28b2685c2290dc7390
7
- data.tar.gz: 35c40d6695d4081ab0b6307d23e6edffe9bcab88805dc529262fcef85900b2e4e5bd2f3f383cffc97d563c9ecbc2e5a36f2132fa54969ef2e7d6eaa1ddfbb7a2
6
+ metadata.gz: e02f1e39f820e1e1a62c5a98886dbf9e316c8ba4d3cc9577fe37f6b5caf14f2e1d8a284c25853f3852e31680645fba9e3eb95873ed278f73cc9d1b2f852c535e
7
+ data.tar.gz: fd34686627b9aa9b31b40fcb3db48ea61e7413fc39fa9a593f98d135ab3a6ce567f6b1a79cf1e563b9e9efdd4e5751be01012d2d0a6fca542c884252258352f9
data/bin/crunch-job CHANGED
@@ -467,7 +467,7 @@ fi
467
467
  }
468
468
  srun(["srun", "--nodelist=" . $node[0]],
469
469
  ["/bin/sh", "-ec",
470
- "a=`$docker_bin run --rm $try_user_arg $docker_hash id --user` && " .
470
+ "a=`$docker_bin run $try_user_arg $docker_hash id --user` && " .
471
471
  " test \$a -ne 0"],
472
472
  {fork => 1});
473
473
  if ($? == 0) {
@@ -896,9 +896,10 @@ for (my $todo_ptr = 0; $todo_ptr <= $#jobstep_todo; $todo_ptr ++)
896
896
  $command .= "&& exec arv-mount --by-id --allow-other $ENV{TASK_KEEPMOUNT} --exec ";
897
897
  if ($docker_hash)
898
898
  {
899
- my $cidfile = "$ENV{CRUNCH_TMP}/$Jobstep->{arvados_task}->{uuid}-$Jobstep->{failures}.cid";
899
+ my $containername = "$Jobstep->{arvados_task}->{uuid}-$Jobstep->{failures}";
900
+ my $cidfile = "$ENV{CRUNCH_TMP}/$containername.cid";
900
901
  $command .= "crunchstat -cgroup-root=/sys/fs/cgroup -cgroup-parent=docker -cgroup-cid=$cidfile -poll=10000 ";
901
- $command .= "$docker_bin run --rm=true --attach=stdout --attach=stderr --attach=stdin -i \Q$dockeruserarg\E --cidfile=$cidfile --sig-proxy ";
902
+ $command .= "$docker_bin run --name=$containername --attach=stdout --attach=stderr --attach=stdin -i \Q$dockeruserarg\E --cidfile=$cidfile --sig-proxy ";
902
903
  # We only set memory limits if Docker lets us limit both memory and swap.
903
904
  # Memory limits alone have been supported longer, but subprocesses tend
904
905
  # to get SIGKILL if they exceed that without any swap limit set.
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.20151023190001
4
+ version: 0.1.20151104051940
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-10-23 00:00:00.000000000 Z
11
+ date: 2015-11-04 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 dbf51c6ab20fab93c3f71910c13de9d4a0501bad
181
+ description: Arvados command line tools, git commit 1d1c6de3c842a33a57b7d469fdaaaa1b873433dc
182
182
  email: gem-dev@curoverse.com
183
183
  executables:
184
184
  - arv