singularity-cli 0.3.2 → 0.3.3

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -3
  3. data/lib/singularity.rb +4 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b11bac3f0e26dcf4d6259d2da6fc587fc901c9e0
4
- data.tar.gz: 8880e2d2a6c9d95f36ccbc0a3ac5241462ae6063
3
+ metadata.gz: de5b6d8ac8c64df667b9716ee77a77e3499852d3
4
+ data.tar.gz: f01025ab90f653faea86f7d424b4fa4f5fd47cae
5
5
  SHA512:
6
- metadata.gz: 729a5968fc1b06c7479d56fb99ec64057f301f8c0ac1c8daeb262a6db103b5b96d49f7929aa7a4aff935cbbbd165d780ffdb080bd11e06e3ab8c634e048a5e1f
7
- data.tar.gz: 5b212f74c1e911bfa46133c7db4819d30bef1d6d3ca841bec3e519b0a3bb93c96a425f0217d5708f6d6c6d9c299257383dd9452e797f57f0a5c49193f7d66906
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
- singularity delete <uri> <file>
7
- singularity deploy <uri> <file> <release>
8
- singularity run <uri> <file/script> <release>
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': "LITERAL",
116
- 'containerPort': 22,
117
- 'hostPortType': "FROM_OFFER",
118
- 'hostPort': 0
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.2
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-05 00:00:00.000000000 Z
12
+ date: 2016-10-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client