singularity-cli 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -3
- data/lib/singularity.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de5b6d8ac8c64df667b9716ee77a77e3499852d3
|
4
|
+
data.tar.gz: f01025ab90f653faea86f7d424b4fa4f5fd47cae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05d2344dd60ec8d0dceb223ef3dece7d75f324489a3af20c08db84d6580fb35fabb32619363a15a9baf71307f3aae89eb213d23c30a5094dab84f577cb2d33fe
|
7
|
+
data.tar.gz: de33c364aacf6a36211d7b6af795e41881324f6c53a12893894222c394e57c195bce281ff26f56a6779371b11d4149121ea17df2c4be9587e74b6460db674e8e
|
data/README.md
CHANGED
@@ -3,6 +3,18 @@ Authors:
|
|
3
3
|
@traviswdev
|
4
4
|
@chriskite
|
5
5
|
# Usage:
|
6
|
-
|
7
|
-
|
8
|
-
|
6
|
+
singularity deploy <uri> <file.json> <release>
|
7
|
+
- deploy singularity job
|
8
|
+
|
9
|
+
singularity delete <uri> <file.json>
|
10
|
+
- delete singularity deploy
|
11
|
+
|
12
|
+
singularity run <commands>
|
13
|
+
- start new box in singularity and run <commands>
|
14
|
+
(do this from the base project folder of the box you wish to start)
|
15
|
+
|
16
|
+
singularity runx <commands>
|
17
|
+
- same as "singularity run" without use of /sbin/my_init
|
18
|
+
|
19
|
+
singularity ssh
|
20
|
+
- start new box in singularity and SSH into it
|
data/lib/singularity.rb
CHANGED
@@ -112,10 +112,10 @@ module Singularity
|
|
112
112
|
'image' => @configData['image'],
|
113
113
|
'network' => "BRIDGE",
|
114
114
|
'portMappings' => [{
|
115
|
-
'containerPortType'
|
116
|
-
'containerPort'
|
117
|
-
'hostPortType'
|
118
|
-
'hostPort'
|
115
|
+
'containerPortType' => "LITERAL",
|
116
|
+
'containerPort' => 22,
|
117
|
+
'hostPortType' => "FROM_OFFER",
|
118
|
+
'hostPort' => 0
|
119
119
|
}]
|
120
120
|
}
|
121
121
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: singularity-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Travis Webb
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-10-
|
12
|
+
date: 2016-10-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|