summaryrefslogtreecommitdiff
path: root/kitchen-tests
Commit message (Collapse)AuthorAgeFilesLines
* Update documentation and add a Test Kitchen testTim Smith2019-11-081-0/+2
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #8954 from chef/centos8Tim Smith2019-10-031-0/+8
|\ | | | | Add CentOS 8 kitchen testing to buildkite
| * Add CentOS 8 kitchen testing to buildkitecentos8Tim Smith2019-10-021-0/+8
| | | | | | | | | | | | Validate each PR against a Test Kitchen run on CentOS 8 Signed-off-by: Tim Smith <tsmith@chef.io>
* | Remove EOL openSUSE Leap 42 testingTim Smith2019-10-021-8/+0
|/ | | | | | openSUSE Leap 42 went EOL July 1st, 2019. Signed-off-by: Tim Smith <tsmith@chef.io>
* Don't change the NSCD service user on SLESTim Smith2019-10-011-1/+1
| | | | | | It breaks tests Signed-off-by: Tim Smith <tsmith@chef.io>
* Update openSUSE testing in BuildkiteTim Smith2019-10-011-2/+10
| | | | | | | Use the latest opensuse leap 42 image instead of the one we stopped pushing 6 months ago Add openSUSE leap 15 testing Signed-off-by: Tim Smith <tsmith@chef.io>
* Add testing in Buildkite for Oracle Linux 6/7/8oracle_testTim Smith2019-09-301-0/+23
| | | | | | Expand our PR testing to include Oracle Linux. Signed-off-by: Tim Smith <tsmith@chef.io>
* Swap test gem install of fpm for chef-ruby-lvmTim Smith2019-09-301-1/+1
| | | | | | | fpm has some deps that are failing to compile now on centos 6 and opensuse 42 Signed-off-by: Tim Smith <tsmith@chef.io>
* Avoid rake failures in the test kitchen testsTim Smith2019-09-302-39/+3
| | | | | | Also skip the docs installs here to speed things up Signed-off-by: Tim Smith <tsmith@chef.io>
* update kitchen testsLamont Granquist2019-09-191-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Remove Travis / Jenkins config / docsTim Smith2019-07-312-6/+6
| | | | | | Update some of our build docs to reflect the current process. Nuke the old Travis config. We're Buildkite + appveyor only at this point. Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove the rspec kitchen testsmodern_spec_runnerTim Smith2019-07-125-40/+0
| | | | | | We're not longer using these Signed-off-by: Tim Smith <tsmith@chef.io>
* Style/StringLiteralsInInterpolationLamont Granquist2019-07-051-3/+3
| | | | | | since we use double quotes, be consistent everywhere. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Enable All BK verification testsJaymala Sinha2019-06-041-1/+1
| | | | Signed-off-by: Jaymala Sinha <jsinha@chef.io>
* Add chef version debug info in the kitchen testsTim Smith2019-05-101-0/+6
| | | | | | | This way we know what version we started with and confirm we end up with the right version Signed-off-by: Tim Smith <tsmith@chef.io>
* CHEF_LICENSE environment variables should be quotedenv_quotestyler-ball2019-05-091-1/+1
| | | | | | Some shells interpret the '-' character in 'accept-no-persist' Signed-off-by: tyler-ball <tball@chef.io>
* Adding license acceptance support to 'knife bootstrap'tyler-ball2019-05-032-3/+2
| | | | Signed-off-by: tyler-ball <tball@chef.io>
* Adding in the license-acceptance flowtyler-ball2019-05-036-4/+6
| | | | | | | | | This adds a new feature to chef-client where users must accept the EULA before using the product. Users can accept the license by passing '--chef-license accept', setting ENV[CHEF_LICENSE]=accept or by running 'chef-client' and following the interactive prompt. Signed-off-by: tyler-ball <tball@chef.io>
* Remove chef-* binstubs from chef gemLamont Granquist2019-04-291-1/+1
| | | | | | | | | | | | | | | | This is for the relicensing effort. Note that this PR leaves the knife and ohai binstubs still in the gem(s) while that discussion is still ongoing. This PR extracts the binstubs to chef-binstubs gem which is not intended to be redistributed outside of the omnibus chef binaries. A blank gem for chef-binstubs has been pushed to rubygems.org for obvious security concerns and so that bundler/rubygems can resolve the gem Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Get local testing workingTim Smith2019-04-221-1/+1
| | | | | | Thanks lamont. Signed-off-by: Tim Smith <tsmith@chef.io>
* Nuke the other kitchen drivers from the gemfileTim Smith2019-04-222-6/+4
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge the local and travis kitchen tests into a single configTim Smith2019-04-223-150/+110
| | | | | | Make sure people are doing their local testing the same way it will run in Travis. The local testing didn't actually work before so this is a pretty solid win. Signed-off-by: Tim Smith <tsmith@chef.io>
* cruft cleanuplcg/use-lifecycle-hooksLamont Granquist2019-04-201-11/+3
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* pull tarballs from githubLamont Granquist2019-04-191-2/+2
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* use lifecycle hooks and kitchen-dokken 2.xLamont Granquist2019-04-192-13/+15
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Use inspec from git in the kitchen CI testsTim Smith2019-04-191-0/+1
| | | | | | This avoids conflicts Signed-off-by: Tim Smith <tsmith@chef.io>
* disable yum metadata caching for end-to-end centos/rhel testsBryan McLellan2019-04-161-0/+7
| | | | Signed-off-by: Bryan McLellan <btm@loftninjas.org>
* Merge pull request #8028 from chef/archive_fileTim Smith2019-04-154-0/+12
|\ | | | | Add a new archive_file resource from the libarchive cookbook
| * Fix specs and chefstyle warningsarchive_fileTim Smith2019-04-151-9/+9
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add archive testingTim Smith2019-04-154-0/+12
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Comment failing BK verification testsjsinha/add_all_verifyJaymala Sinha2019-04-151-7/+3
| | | | | | | | Signed-off-by: Jaymala Sinha <jsinha@chef.io>
* | Add kitchen-docker for bk testsJaymala Sinha2019-04-152-0/+43
|/ | | | Signed-off-by: Jaymala Sinha <jsinha@chef.io>
* Add Debian 10 testing to TravisTim Smith2019-04-081-0/+7
| | | | | | We have a dokken box for Debian 10 now. We should integration test PRs against it. Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #8330 from chef/nuke_1404Tim Smith2019-03-312-8/+1
|\ | | | | Remove Ubuntu 14.04 testing
| * Remove Ubuntu 14.04 testingTim Smith2019-03-312-8/+1
| | | | | | | | | | | | This goes EOL at the end of April and we won't be supporting it in Chef 15 officially although support in code will continue. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Make sure we install kitchen-dokken 1.1.1 in testingTim Smith2019-03-311-1/+1
|/ | | | | | This is the final 1.x release and it now supports TK 2 Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove support for unsupported opensuse < 42 from group providerTim Smith2019-01-241-1/+1
| | | | | | | | We had a few places where we checked for legacy opensuse platforms. Chef 15 doesn't support this platform and you won't be able to find binaries via omnitruck. We might as well yank out a bit of provider logic. Also for some reason usermod has logic in a method for suse, but the provider didn't support that. Signed-off-by: Tim Smith <tsmith@chef.io>
* Fix for Sysctl doesn't work when key has a dot(.) in the nameKapil Chouhan2019-01-182-0/+9
| | | | Signed-off-by: Kapil Chouhan <kapil.chouhan@msystechnologies.com>
* better kithen ohai pinningLamont Granquist2018-11-281-1/+1
| | | | | | | | | since it turns out kitchen-tests/Gemfile.lock isn't actually checked in the prior change was still just effectively floating on master, this now makes us parse the ohai version out of the root Gemfile.lock and use that to install ohai from git in our virt. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* pull the ohai version from the bundle not from masterLamont Granquist2018-11-271-1/+1
| | | | | | | should fix issues with kitchen tests breaking in travis after we merge to ohai Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Add the timezone resource from the timezone_lwrp cookbookTim Smith2018-10-091-0/+2
| | | | | | Adding this resource to core Chef with permission from @dragonsmith Signed-off-by: Tim Smith <tsmith@chef.io>
* added intermediate instruction for crondheerajd-msys2018-09-251-1/+2
| | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* add suse rspec testingdheerajd-msys2018-09-251-0/+2
| | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* Remove the installation of cron in the kitchen testsTim Smith2018-08-141-3/+0
| | | | | | We have updated dokken-images boxes that include this now. Signed-off-by: Tim Smith <tsmith@chef.io>
* Temporarily install cronie in dokken imagesTim Smith2018-08-131-0/+3
| | | | | | | Once the docker backlog is done this will be in our images, but for now we need to add it by hand. Signed-off-by: Tim Smith <tsmith@chef.io>
* Replace cron cookbook with new cron resourcesTim Smith2018-08-132-3/+8
| | | | | | Test chef not the cookbook Signed-off-by: Tim Smith <tsmith@chef.io>
* redundant with the grep -v in the script nowLamont Granquist2018-08-101-2/+0
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* review fixesLamont Granquist2018-08-102-2/+2
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* add centos-7 rspec testingLamont Granquist2018-08-105-0/+42
| | | | | | running rspec inside a test-kitchen provisioned centos-7 docker container Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Rename the kitchen base test suite to end-to-endTim Smith2018-06-2712-20/+17
| | | | | | It's our end-to-end test according to the readme. This just aligns the recipe/suite names with that so it's a bit more obvious what we're doing here. This also removes sudo installs since I moved that all to dokken-images now. Signed-off-by: Tim Smith <tsmith@chef.io>