specinfra 2.0.0.beta22 → 2.0.0.beta23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/specinfra/backend/docker.rb +1 -6
- data/lib/specinfra/backend/exec.rb +1 -6
- data/lib/specinfra/backend/lxc.rb +1 -6
- data/lib/specinfra/backend/ssh.rb +1 -6
- data/lib/specinfra/version.rb +1 -1
- data/wercker.yml +12 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30e5563459eccf2fd3b164a49140aa965dc5eaa4
|
4
|
+
data.tar.gz: 5701805fa1e3c448ba4c00c656fefd8deb60d658
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6970820c76d47fb28c76ba7a543f02b08fff1a6df365d6c0f5055273f2f209f3ad7e40ec99ff6fa715bc951e499438314f7b85199f8d12286688f3c43f70e6f4
|
7
|
+
data.tar.gz: de50164311e3649be7f2adf55ab4513aeb199fd1fcee18e59c1ead1785f0b5747a813c409cae64ef4cdf21b718bcd7a23ce46e091d70f730d6a4e9dad10d463f
|
@@ -21,12 +21,7 @@ module Specinfra
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def copy_file(from, to)
|
24
|
-
|
25
|
-
@images << current_image.insert_local('localPath' => from, 'outputPath' => to)
|
26
|
-
rescue ::Docker::Error::DockerError
|
27
|
-
return false
|
28
|
-
end
|
29
|
-
true
|
24
|
+
@images << current_image.insert_local('localPath' => from, 'outputPath' => to)
|
30
25
|
end
|
31
26
|
|
32
27
|
private
|
@@ -24,12 +24,7 @@ module Specinfra
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def copy_file(from, to)
|
27
|
-
|
28
|
-
FileUtils.cp(from, File.join(ct.config_item('lxc.rootfs'), to))
|
29
|
-
rescue => e
|
30
|
-
return false
|
31
|
-
end
|
32
|
-
true
|
27
|
+
FileUtils.cp(from, File.join(ct.config_item('lxc.rootfs'), to))
|
33
28
|
end
|
34
29
|
|
35
30
|
def ct
|
data/lib/specinfra/version.rb
CHANGED
data/wercker.yml
CHANGED
@@ -26,6 +26,10 @@ build:
|
|
26
26
|
name: Run vagrant up centos65
|
27
27
|
code: vagrant up centos65 --provider=digital_ocean
|
28
28
|
cwd: $WORKING_DIR
|
29
|
+
- script:
|
30
|
+
name: Run itamae
|
31
|
+
code: bundle exec ./itamae.rb centos65
|
32
|
+
cwd: $WORKING_DIR
|
29
33
|
- script:
|
30
34
|
name: Run vagrant reload centos65
|
31
35
|
code: vagrant reload centos65
|
@@ -38,6 +42,10 @@ build:
|
|
38
42
|
name: Run vagrant up centos70
|
39
43
|
code: vagrant up centos70 --provider=digital_ocean
|
40
44
|
cwd: $WORKING_DIR
|
45
|
+
- script:
|
46
|
+
name: Run itamae
|
47
|
+
code: bundle exec ./itamae.rb centos70
|
48
|
+
cwd: $WORKING_DIR
|
41
49
|
- script:
|
42
50
|
name: Run vagrant reload centos70
|
43
51
|
code: vagrant reload centos70
|
@@ -50,6 +58,10 @@ build:
|
|
50
58
|
name: Run vagrant up ubuntu1404
|
51
59
|
code: vagrant up ubuntu1404 --provider=digital_ocean
|
52
60
|
cwd: $WORKING_DIR
|
61
|
+
- script:
|
62
|
+
name: Run itamae
|
63
|
+
code: bundle exec ./itamae.rb ubuntu1404
|
64
|
+
cwd: $WORKING_DIR
|
53
65
|
- script:
|
54
66
|
name: Run vagrant reload ubuntu1404
|
55
67
|
code: vagrant reload ubuntu1404
|