arvados-cli 0.1.20151023190001 → 0.1.20151104051940
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.
- checksums.yaml +4 -4
- data/bin/crunch-job +4 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c15db0b63a7e7c4666f80da28a47729e41b7eec9
|
4
|
+
data.tar.gz: 3c047409ff1ed08d1e9909f528660072e4b16d40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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 $
|
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 --
|
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.
|
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-
|
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
|
181
|
+
description: Arvados command line tools, git commit 1d1c6de3c842a33a57b7d469fdaaaa1b873433dc
|
182
182
|
email: gem-dev@curoverse.com
|
183
183
|
executables:
|
184
184
|
- arv
|