File tree Expand file tree Collapse file tree 11 files changed +129
-483
lines changed Expand file tree Collapse file tree 11 files changed +129
-483
lines changed Original file line number Diff line number Diff line change 1+ # -*- coding: utf-8 -*-
2+ # vim: ft=yaml
3+ ---
14docker_builder :
2- name : Test $INSTANCE
5+ name : Test ${ INSTANCE}
36 env :
47 matrix :
58 - INSTANCE : default-debian-9-develop-py3
@@ -16,15 +19,11 @@ docker_builder:
1619 # - INSTANCE: default-ubuntu-1604-2018-3-py2
1720 # - INSTANCE: default-centos-7-2018-3-py2
1821 # - INSTANCE: default-fedora-29-2018-3-py2
19- # TODO: Use this when fixed instead of `opensuse-leap-42`
20- # Ref: https://github.com/netmanagers/salt-image-builder/issues/2
21- # - INSTANCE: default-opensuse-leap-15-2018-3-py2
2222 # - INSTANCE: default-opensuse-leap-42-2018-3-py2
2323 # - INSTANCE: default-debian-8-2017-7-py2
2424 # - INSTANCE: default-ubuntu-1604-2017-7-py2
25- # TODO: Enable after improving the formula to work with other than `systemd`
2625 # - INSTANCE: default-centos-6-2017-7-py2
2726 # - INSTANCE: default-fedora-28-2017-7-py2
2827 # - INSTANCE: default-opensuse-leap-42-2017-7-py2
2928 bundle_install_script : bundle install
30- verify_script : bundle exec kitchen verify $INSTANCE
29+ verify_script : bin/ kitchen verify ${ INSTANCE}
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ coverage.xml
4848.kitchen
4949.kitchen.local.yml
5050kitchen.local.yml
51+ junit- * .xml
5152
5253# Translations
5354* .mo
@@ -111,3 +112,11 @@ docs/*.md
111112
112113# Vim
113114* .sw ?
115+
116+ # # Collected when centralising formulas (check and sort)
117+ # `collectd-formula`
118+ .pytest_cache /
119+ /.idea /
120+ Dockerfile. * _ *
121+ ignore /
122+ tmp /
Original file line number Diff line number Diff line change 1+ # -*- coding: utf-8 -*-
2+ # vim: ft=yaml
3+ ---
14stages :
25 - commitlint
36 - name : release
Original file line number Diff line number Diff line change 1- source ' https://rubygems.org'
1+ source " https://rubygems.org"
22
33gem 'kitchen-docker' , '>= 2.9'
4- gem 'kitchen-salt' , '>= 0.6.0'
4+ gem 'kitchen-salt' , '>= 0.6.0'
55gem 'kitchen-inspec' , '>= 1.1'
6+
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env ruby
2+ # frozen_string_literal: true
3+
4+ #
5+ # This file was generated by Bundler.
6+ #
7+ # The application 'kitchen' is installed as part of a gem, and
8+ # this file is here to facilitate running it.
9+ #
10+
11+ require "pathname"
12+ ENV [ "BUNDLE_GEMFILE" ] ||= File . expand_path ( "../../Gemfile" ,
13+ Pathname . new ( __FILE__ ) . realpath )
14+
15+ bundle_binstub = File . expand_path ( "../bundle" , __FILE__ )
16+
17+ if File . file? ( bundle_binstub )
18+ if File . read ( bundle_binstub , 300 ) =~ /This file was generated by Bundler/
19+ load ( bundle_binstub )
20+ else
21+ abort ( "Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again." )
23+ end
24+ end
25+
26+ require "rubygems"
27+ require "bundler/setup"
28+
29+ load Gem . bin_path ( "test-kitchen" , "kitchen" )
Original file line number Diff line number Diff line change @@ -156,3 +156,4 @@ An example of that:
156156 BREAKING CHANGE: With the removal of all of the `.sls` files under
157157 `template package`, this formula no longer supports the installation of
158158 packages.
159+
You can’t perform that action at this time.
0 commit comments