From 96c916db660a76aa1eeaa965cafb0220103c16e1 Mon Sep 17 00:00:00 2001 From: Salim Alam Date: Tue, 8 Mar 2016 09:29:00 -0800 Subject: Add more cookbooks for Win64 test matrix --- .../acceptance-cookbook/libraries/top_cookbooks.rb | 20 ++++++++++++ acceptance/top-cookbooks/.kitchen.chocolatey.yml | 6 ++++ acceptance/top-cookbooks/.kitchen.iis.yml | 4 +++ acceptance/top-cookbooks/.kitchen.powershell.yml | 4 +++ acceptance/top-cookbooks/.kitchen.sql_server.yml | 5 +++ acceptance/top-cookbooks/.kitchen.winbox.yml | 8 +++++ acceptance/top-cookbooks/.kitchen.windows.yml | 38 ++++++++++++++++++++++ 7 files changed, 85 insertions(+) create mode 100644 acceptance/top-cookbooks/.kitchen.chocolatey.yml create mode 100644 acceptance/top-cookbooks/.kitchen.iis.yml create mode 100644 acceptance/top-cookbooks/.kitchen.powershell.yml create mode 100644 acceptance/top-cookbooks/.kitchen.sql_server.yml create mode 100644 acceptance/top-cookbooks/.kitchen.winbox.yml create mode 100644 acceptance/top-cookbooks/.kitchen.windows.yml diff --git a/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb b/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb index 3098b334ce..83271d243d 100644 --- a/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb +++ b/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb @@ -19,5 +19,25 @@ class TopCookbooks < Chef::Resource repository "learn-chef/learn-chef-acceptance" cookbook_relative_dir "cookbooks/learn-the-basics-windows" end + + cookbook_kitchen "#{command} powershell" do + end + + cookbook_kitchen "#{command} windows" do + end + + cookbook_kitchen "#{command} iis" do + end + + cookbook_kitchen "#{command} sql_server" do + end + + cookbook_kitchen "#{command} winbox" do + repository "adamedx/winbox" + end + + cookbook_kitchen "#{command} chocolatey" do + repository "chocolatey/chocolatey-cookbook" + end end end diff --git a/acceptance/top-cookbooks/.kitchen.chocolatey.yml b/acceptance/top-cookbooks/.kitchen.chocolatey.yml new file mode 100644 index 0000000000..7d7529d69f --- /dev/null +++ b/acceptance/top-cookbooks/.kitchen.chocolatey.yml @@ -0,0 +1,6 @@ +suites: + - name: default + run_list: + - recipe[chocolatey::default] + - recipe[chocolatey_test::default] + includes: [windows-2012r2] diff --git a/acceptance/top-cookbooks/.kitchen.iis.yml b/acceptance/top-cookbooks/.kitchen.iis.yml new file mode 100644 index 0000000000..ffbc23caba --- /dev/null +++ b/acceptance/top-cookbooks/.kitchen.iis.yml @@ -0,0 +1,4 @@ +suites: + - name: iis + run_list: ["recipe[iis::default]"] + includes: [windows-2012r2] diff --git a/acceptance/top-cookbooks/.kitchen.powershell.yml b/acceptance/top-cookbooks/.kitchen.powershell.yml new file mode 100644 index 0000000000..6fad2364bb --- /dev/null +++ b/acceptance/top-cookbooks/.kitchen.powershell.yml @@ -0,0 +1,4 @@ +suites: + - name: powershell + run_list: ["recipe[powershell::powershell2]"] + includes: [windows-2012r2] diff --git a/acceptance/top-cookbooks/.kitchen.sql_server.yml b/acceptance/top-cookbooks/.kitchen.sql_server.yml new file mode 100644 index 0000000000..51a6bd6616 --- /dev/null +++ b/acceptance/top-cookbooks/.kitchen.sql_server.yml @@ -0,0 +1,5 @@ +suites: + - name: sql_server + run_list: ["recipe[sql_server::default]"] + attributes: { sql_server: { accept_eula: true } } + includes: [windows-2012r2] diff --git a/acceptance/top-cookbooks/.kitchen.winbox.yml b/acceptance/top-cookbooks/.kitchen.winbox.yml new file mode 100644 index 0000000000..9cf39a0d5b --- /dev/null +++ b/acceptance/top-cookbooks/.kitchen.winbox.yml @@ -0,0 +1,8 @@ +suites: + - name: default + run_list: + - recipe[winbox::default] + includes: [windows-2012r2] + +verifier: + name: dummy diff --git a/acceptance/top-cookbooks/.kitchen.windows.yml b/acceptance/top-cookbooks/.kitchen.windows.yml new file mode 100644 index 0000000000..38c86ff322 --- /dev/null +++ b/acceptance/top-cookbooks/.kitchen.windows.yml @@ -0,0 +1,38 @@ +suites: + # Waiting on https://github.com/chef-cookbooks/windows/pull/350 + # - name: tasks + # run_list: + # - recipe[windows::default] + # - recipe[minimal::tasks] + # includes: [windows-2012r2] + - name: path + run_list: + - recipe[windows::default] + - recipe[minimal::path] + includes: [windows-2012r2] + - name: certificate + run_list: + - recipe[windows::default] + - recipe[minimal::certificate] + includes: [windows-2012r2] + # Package is deprecated + # - name: package + # run_list: + # - recipe[windows::default] + # - recipe[minimal::package] + # includes: [windows-2012r2] + - name: feature + run_list: + - recipe[windows::default] + - recipe[minimal::feature] + includes: [windows-2012r2] + - name: http_acl + run_list: + - recipe[windows::default] + - recipe[minimal::http_acl] + includes: [windows-2012r2] + - name: font + run_list: + - recipe[windows::default] + - recipe[minimal::font] + includes: [windows-2012r2] -- cgit v1.2.1