kitchen-lxd_sling 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kitchen.travis.yml +2 -0
- data/.kitchen.yml +3 -1
- data/.travis.yml +5 -1
- data/lib/kitchen/driver/lxd.rb +2 -2
- data/lib/kitchen/driver/lxd_version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfd8d48919d221536ea2e18b432346f671009442555ddada0dd52b0b11c27327
|
4
|
+
data.tar.gz: 126f0c057559202ed5d123586f4b318aca3596006165b0cffb0fc9b09fa4c647
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07167b8af34a40150611fbd49daa332bcd4805b61c4cc0419b057b7c6e3f133fd9ab5473b90f110b3919e8556cfa242cca6a3c08d3475f17d9594e330a5d9375
|
7
|
+
data.tar.gz: f351fdae28abe307a4eb13e715bc6d9e55e3dfbe0bf2ad2aa43289c829d13447539e7b392d5b2ed72fb7715ce63da5c9ed6696f5c4b2450ff3d4a5ecbfd2d7e0
|
data/.kitchen.travis.yml
CHANGED
data/.kitchen.yml
CHANGED
@@ -4,6 +4,8 @@ driver: lxd
|
|
4
4
|
|
5
5
|
provisioner:
|
6
6
|
name: chef_zero
|
7
|
+
# product_name: chef
|
8
|
+
# product_version: 14.0.202
|
7
9
|
|
8
10
|
platforms:
|
9
11
|
- name: ubuntu-18.04
|
@@ -16,5 +18,5 @@ suites:
|
|
16
18
|
'/tmp/kitchen': <%= Dir.tmpdir %>/kitchen-download-test
|
17
19
|
- name: kitchen-lxd-cloud
|
18
20
|
driver:
|
19
|
-
image_server: https://cloud-images.ubuntu.com/
|
21
|
+
image_server: https://cloud-images.ubuntu.com/releases
|
20
22
|
ssh_login: ubuntu
|
data/.travis.yml
CHANGED
@@ -7,10 +7,14 @@ rvm:
|
|
7
7
|
matrix:
|
8
8
|
allow_failures:
|
9
9
|
- rvm: ruby-head
|
10
|
+
before_install:
|
11
|
+
- gem update --system
|
12
|
+
- gem install bundler
|
10
13
|
script:
|
11
14
|
- rake --tasks
|
12
15
|
- bundle exec kitchen diagnose
|
13
|
-
-
|
16
|
+
- unset BUNDLE_GEMFILE
|
17
|
+
- KITCHEN_YAML=.kitchen.travis.yml PATH="$PATH" kitchen converge travis
|
14
18
|
- ssh-keygen -f ~/.ssh/id_rsa -t rsa -N ''
|
15
19
|
- sudo su -l $USER -c "cd $(pwd) && rvm use ${RUBY_VERSION/ruby-/} && rake kitchen:all"
|
16
20
|
deploy:
|
data/lib/kitchen/driver/lxd.rb
CHANGED
@@ -59,7 +59,7 @@ module Kitchen
|
|
59
59
|
state[:username] ||= "root"
|
60
60
|
end
|
61
61
|
|
62
|
-
if (state[:username] != "root") && cloud_image?
|
62
|
+
if (state[:username] && (state[:username] != "root")) && cloud_image?
|
63
63
|
info "Waiting for cloud-init..."
|
64
64
|
driver.wait_for state[:container_name], :cloud_init
|
65
65
|
else
|
@@ -82,7 +82,7 @@ module Kitchen
|
|
82
82
|
# - centos/7 needs sudo installed, or you need to use sudo:false on the provisioner... leaving it explicit for the user to fix
|
83
83
|
unless transport.execute("test -d /etc/apt").error?
|
84
84
|
info "Installing additional dependencies..."
|
85
|
-
transport.execute("apt
|
85
|
+
transport.execute("apt install openssl curl ca-certificates -y").error!
|
86
86
|
end
|
87
87
|
end
|
88
88
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-lxd_sling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Zachariasen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lxd-common
|
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
197
|
version: '0'
|
198
198
|
requirements: []
|
199
199
|
rubyforge_project:
|
200
|
-
rubygems_version: 2.7.
|
200
|
+
rubygems_version: 2.7.7
|
201
201
|
signing_key:
|
202
202
|
specification_version: 4
|
203
203
|
summary: Test Kitchen Driver for LXD
|