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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c161d6414dddd8f1890566820f74100dd193dcf8de5d0e0aafc1c1a6283283c2
4
- data.tar.gz: 19431e482ef2cbf343d5b996607750c98ffdf3dbe6455c412255b4583a486686
3
+ metadata.gz: cfd8d48919d221536ea2e18b432346f671009442555ddada0dd52b0b11c27327
4
+ data.tar.gz: 126f0c057559202ed5d123586f4b318aca3596006165b0cffb0fc9b09fa4c647
5
5
  SHA512:
6
- metadata.gz: a4e2ed018b6c27522adfa0ab5da696c90247e6d22b3326a1a63d57e4967e4ba98ab5ee1f221d185df36805f9f18486960879b18d1fd28db6591d65c4d11537eb
7
- data.tar.gz: b55ec846f166f11c92bdc58cd514566a887e31920ab9ec66360a1e5429d92e60538edd7f0ba3b6d5fba9d0f0102a56eaa3c06d55f89a7a8c0f4a15ab07097f7f
6
+ metadata.gz: 07167b8af34a40150611fbd49daa332bcd4805b61c4cc0419b057b7c6e3f133fd9ab5473b90f110b3919e8556cfa242cca6a3c08d3475f17d9594e330a5d9375
7
+ data.tar.gz: f351fdae28abe307a4eb13e715bc6d9e55e3dfbe0bf2ad2aa43289c829d13447539e7b392d5b2ed72fb7715ce63da5c9ed6696f5c4b2450ff3d4a5ecbfd2d7e0
@@ -6,3 +6,5 @@ suites:
6
6
  - name: travis
7
7
  run_list: recipe[test::default]
8
8
 
9
+ provisioner:
10
+ name: chef_zero
@@ -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/daily
21
+ image_server: https://cloud-images.ubuntu.com/releases
20
22
  ssh_login: ubuntu
@@ -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
- - KITCHEN_LOCAL_YAML=.kitchen.travis.yml rake kitchen:travis-local
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:
@@ -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-get install openssl curl ca-certificates -y").error!
85
+ transport.execute("apt install openssl curl ca-certificates -y").error!
86
86
  end
87
87
  end
88
88
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Kitchen
4
4
  module Driver
5
- LXD_VERSION = "0.5.5".freeze
5
+ LXD_VERSION = "0.5.6".freeze
6
6
  end
7
7
  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.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-04-27 00:00:00.000000000 Z
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.6
200
+ rubygems_version: 2.7.7
201
201
  signing_key:
202
202
  specification_version: 4
203
203
  summary: Test Kitchen Driver for LXD