gantry 0.0.1
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 +7 -0
- data/LICENSE +22 -0
- data/README.md +34 -0
- data/Rakefile +2 -0
- data/lib/gantry.rb +4 -0
- data/lib/gantry/version.rb +3 -0
- metadata +78 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: abbb92a2500cc6739b7b7be9dffa4be1ed9ff782
|
4
|
+
data.tar.gz: a4a72a812faaada65a7511e4d87d08723893e163
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7b95b42945deb65a511978a6dec7b6080b9487b8cb4369aba09b1e241f379fb64a782021f0f7bcfbc01fe85d6f0a5e6d7f28977cd4fa6085588b3deccbb20cb4
|
7
|
+
data.tar.gz: 3464bade3201d09ec4fec99586a78274b74d7d09eaf2500d52a099407bcf583fb22eb85bb35c1be697ad8ed69e0ffef8d64f9ee5d793a2c86fe79ab3894155b8
|
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2015 Sebastian Boehm
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
gantry
|
2
|
+
======
|
3
|
+
Deploy docker images on physical machines.
|
4
|
+
|
5
|
+
Description
|
6
|
+
-----------
|
7
|
+
/Please note that this README is a bad case of
|
8
|
+
[Readme Driven Development](rdd) (or rather Wishful Programming). None
|
9
|
+
of this is actually in working order yet./
|
10
|
+
|
11
|
+
Gantry deploys docker images to virtual or physical
|
12
|
+
machines. Provisioning VMs using gantry allows you to reuse the docker
|
13
|
+
toolchain and is much faster than using debootstrap or similar tools.
|
14
|
+
|
15
|
+
Usage
|
16
|
+
-----
|
17
|
+
```bash
|
18
|
+
export VOLUME_GROUP=vg0
|
19
|
+
export VMNAME=bobinsky
|
20
|
+
export LVPATH=/dev/${VOLUME_GROUP}/${VMNAME}
|
21
|
+
sudo lvcreate -L 5G -n ${VMNAME} ${VOLUME_GROUP}
|
22
|
+
sudo mkfs.ext4 ${LVPATH}
|
23
|
+
sudo gantry --grub ${LVPATH} \
|
24
|
+
--commmand 'apt-get update' \
|
25
|
+
--command 'apt-get -y install grub-pc linux-image-amd64' \
|
26
|
+
debian:jessie ${LVPATH}
|
27
|
+
```
|
28
|
+
|
29
|
+
Copyright
|
30
|
+
---------
|
31
|
+
Copyright (c) 2015 Sebastian Boehm. See [LICENSE](LICENSE) for
|
32
|
+
details.
|
33
|
+
|
34
|
+
[rdd]: http://tom.preston-werner.com/2010/08/23/readme-driven-development.html
|
data/Rakefile
ADDED
data/lib/gantry.rb
ADDED
metadata
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: gantry
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Sebastian Boehm
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-11-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.7'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
description: |
|
42
|
+
A tool to deploy docker images to virtual or physical machines.
|
43
|
+
email:
|
44
|
+
- sebastian@sometimesfood.org
|
45
|
+
executables: []
|
46
|
+
extensions: []
|
47
|
+
extra_rdoc_files: []
|
48
|
+
files:
|
49
|
+
- LICENSE
|
50
|
+
- README.md
|
51
|
+
- Rakefile
|
52
|
+
- lib/gantry.rb
|
53
|
+
- lib/gantry/version.rb
|
54
|
+
homepage: https://github.com/sometimesfood/gantry
|
55
|
+
licenses:
|
56
|
+
- MIT
|
57
|
+
metadata: {}
|
58
|
+
post_install_message:
|
59
|
+
rdoc_options: []
|
60
|
+
require_paths:
|
61
|
+
- lib
|
62
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
67
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0'
|
72
|
+
requirements: []
|
73
|
+
rubyforge_project:
|
74
|
+
rubygems_version: 2.2.2
|
75
|
+
signing_key:
|
76
|
+
specification_version: 4
|
77
|
+
summary: Deploy docker images on physical machines.
|
78
|
+
test_files: []
|