comfy 0.2.9 → 0.2.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -34
- data/Dockerfile +36 -0
- data/lib/comfy/version.rb +1 -1
- data/lib/templates/centos/centos.description +4 -4
- data/lib/templates/scientificlinux/scientificlinux.description +3 -3
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cc4ef1d85ffc697f27511e18be49b67e2a6ce98
|
4
|
+
data.tar.gz: a06f6525752b8a5a4608393d7f265a034dcc7457
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23a1d3b0b57734a55d3135292c3774c053dcf665f72964117536edd06388a3ea32a0f261abcca12913807c62fcf171c452d4d85818e2162c4137f20b7165baf7
|
7
|
+
data.tar.gz: eb7862b244d7cacb4329c8bcb035f2dea828d89587b16147504f81fe863bd77b2ad2acad3bd0536b392bc9d7fabdaf01b79edfb8092a925e9cb5cafc21aa968a
|
data/.travis.yml
CHANGED
@@ -1,46 +1,18 @@
|
|
1
|
-
|
1
|
+
sudo: false
|
2
2
|
|
3
|
+
language: ruby
|
3
4
|
rvm:
|
4
|
-
-
|
5
|
-
- 2.0.0
|
5
|
+
- 2.0
|
6
6
|
- 2.1
|
7
|
-
- 2.2
|
7
|
+
- 2.2
|
8
|
+
- 2.3.3
|
8
9
|
- ruby-head
|
9
|
-
- jruby-19mode
|
10
|
-
- jruby-head
|
11
|
-
|
12
|
-
jdk:
|
13
|
-
- openjdk7
|
14
|
-
- oraclejdk7
|
15
|
-
- openjdk6
|
16
10
|
|
17
11
|
matrix:
|
18
12
|
allow_failures:
|
19
13
|
- rvm: ruby-head
|
20
|
-
- rvm: jruby-head
|
21
|
-
exclude:
|
22
|
-
- rvm: 1.9.3
|
23
|
-
jdk: openjdk7
|
24
|
-
- rvm: 1.9.3
|
25
|
-
jdk: oraclejdk7
|
26
|
-
- rvm: 2.0.0
|
27
|
-
jdk: openjdk7
|
28
|
-
- rvm: 2.0.0
|
29
|
-
jdk: oraclejdk7
|
30
|
-
- rvm: 2.1
|
31
|
-
jdk: openjdk7
|
32
|
-
- rvm: 2.1
|
33
|
-
jdk: oraclejdk7
|
34
|
-
- rvm: 2.2.1
|
35
|
-
jdk: openjdk7
|
36
|
-
- rvm: 2.2.1
|
37
|
-
jdk: oraclejdk7
|
38
|
-
- rvm: ruby-head
|
39
|
-
jdk: openjdk7
|
40
|
-
- rvm: ruby-head
|
41
|
-
jdk: oraclejdk7
|
42
14
|
fast_finish: true
|
43
|
-
|
15
|
+
|
44
16
|
branches:
|
45
17
|
only:
|
46
18
|
- master
|
data/Dockerfile
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
FROM finalduty/archlinux
|
2
|
+
MAINTAINER Michal Kimle <kimle.michal@gmail.com>
|
3
|
+
|
4
|
+
ENV COMFY_VERSION 0.2.10
|
5
|
+
ENV COMFY_DIR /data
|
6
|
+
|
7
|
+
# update + dependencies
|
8
|
+
RUN pacman -Syu --noconfirm && pacman -S --noconfirm wget git unzip fakeroot binutils qemu-headless ruby
|
9
|
+
|
10
|
+
# user
|
11
|
+
RUN useradd -m -G wheel -s /bin/bash comfy
|
12
|
+
USER comfy
|
13
|
+
|
14
|
+
# packer
|
15
|
+
RUN cd && wget https://aur.archlinux.org/cgit/aur.git/snapshot/packer-io.tar.gz && tar -zxf packer-io.tar.gz && cd packer-io && makepkg
|
16
|
+
USER root
|
17
|
+
RUN pacman -U --noconfirm /home/comfy/packer-io/packer-io-*-x86_64.pkg.tar.xz
|
18
|
+
RUN ln -s /usr/bin/packer-io /usr/bin/packer
|
19
|
+
|
20
|
+
# comfy
|
21
|
+
RUN gem install comfy -v $COMFY_VERSION
|
22
|
+
|
23
|
+
# volume
|
24
|
+
RUN mkdir -p $COMFY_DIR
|
25
|
+
VOLUME ["$COMFY_DIR"]
|
26
|
+
|
27
|
+
# locales
|
28
|
+
RUN locale-gen en_US.UTF-8
|
29
|
+
ENV LANG en_US.UTF-8
|
30
|
+
ENV LANGUAGE en_US:en
|
31
|
+
ENV LC_ALL en_US.UTF-8
|
32
|
+
|
33
|
+
# ruby gems access
|
34
|
+
ENV PATH=$PATH:/root/.gem/ruby/2.3.0/bin
|
35
|
+
|
36
|
+
ENTRYPOINT ["comfy"]
|
data/lib/comfy/version.rb
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
"name": "CentOS",
|
3
3
|
"versions": [{
|
4
4
|
"major_version": "7",
|
5
|
-
"minor_version": "
|
6
|
-
"patch_version": "
|
7
|
-
"iso_url": "http://nimue.fit.vutbr.cz/centos/7/isos/x86_64/CentOS-7-x86_64-NetInstall-
|
8
|
-
"iso_checksum": "
|
5
|
+
"minor_version": "3",
|
6
|
+
"patch_version": "1611",
|
7
|
+
"iso_url": "http://nimue.fit.vutbr.cz/centos/7/isos/x86_64/CentOS-7-x86_64-NetInstall-1611.iso",
|
8
|
+
"iso_checksum": "f2f7367deb90a25822947660c71638333ca0eceeabecc2d631be6cd508c24494"
|
9
9
|
}],
|
10
10
|
"boot_command": "linux ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}",
|
11
11
|
"qemu": {
|
@@ -2,9 +2,9 @@
|
|
2
2
|
"name": "ScientificLinux",
|
3
3
|
"versions": [{
|
4
4
|
"major_version": "7",
|
5
|
-
"minor_version": "
|
6
|
-
"iso_url": "http://mirror.karneval.cz/pub/linux/scientific/7/x86_64/iso/SL-7.
|
7
|
-
"iso_checksum": "
|
5
|
+
"minor_version": "3",
|
6
|
+
"iso_url": "http://mirror.karneval.cz/pub/linux/scientific/7.3/x86_64/iso/SL-7.3-x86_64-netinst.iso",
|
7
|
+
"iso_checksum": "13650ef94c16024285fd9dadebba4d62a33c0de5ac611314bf8e3d6afb956a3a"
|
8
8
|
}],
|
9
9
|
"boot_command": "linux ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}",
|
10
10
|
"qemu": {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: comfy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michal Kimle
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-01-
|
12
|
+
date: 2017-01-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -219,6 +219,7 @@ files:
|
|
219
219
|
- ".gitignore"
|
220
220
|
- ".rspec"
|
221
221
|
- ".travis.yml"
|
222
|
+
- Dockerfile
|
222
223
|
- Gemfile
|
223
224
|
- LICENSE
|
224
225
|
- README.md
|
@@ -372,7 +373,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
372
373
|
version: '0'
|
373
374
|
requirements: []
|
374
375
|
rubyforge_project:
|
375
|
-
rubygems_version: 2.
|
376
|
+
rubygems_version: 2.6.8
|
376
377
|
signing_key:
|
377
378
|
specification_version: 4
|
378
379
|
summary: Tool for building virtual machine images from scratch.
|