summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Expand the chef-utils yard for better vscode plugin generationmore_syncsTim Smith2020-03-1610-108/+217
| | | | | | I'm generating the plugin off these comments. Clean them up a bit and add @since so I can get that information added to the plugin snippets. Signed-off-by: Tim Smith <tsmith@chef.io>
* Install net-tools in the Ruby 2.5 functional testsTim Smith2020-03-162-2/+2
| | | | | | This should resolve the ifconfig errors Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #9504 from chef/testing_15Tim Smith2020-03-1697-119/+159
|\ | | | | Backport more testing improvements from master
| * this just isn't working at all on fedoraLamont Granquist2020-03-161-1/+0
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * drop ruby-prof down to 1.2.0 for centos6Lamont Granquist2020-03-162-4/+4
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * remove reference to travis.org replace with localhostLamont Granquist2020-03-161-1/+1
| | | | | | | | | | | | | | we're probably getting packetfiltered or something now that we're no longer using travis. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * Install ifconfig in ruby 2.5Tim Smith2020-03-161-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Revert the change to bundlerTim Smith2020-03-161-1/+1
| | | | | | | | | | | | We're on 1.x so we need to do it the old way Signed-off-by: Tim Smith <tsmith@chef.io>
| * Test on Ubuntu 20.04 in BuildkiteTim Smith2020-03-162-0/+22
| | | | | | | | | | | | | | | | This is a pre-release container, but it'll get updated as they release newer versions so we'llc continue to test on the latest versions of 20.04 until it's released. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Trying to get buildkite output more readable / navigable.Ryan Davis2020-03-161-5/+3
| | | | | | | | Signed-off-by: Ryan Davis <zenspider@chef.io>
| * Set env vars in the container setup scriptTim Smith2020-03-162-52/+7
| | | | | | | | | | | | We're setting the same env vars in each job. Seems entirely pointless. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add more folding to the windows functional testsTim Smith2020-03-161-5/+3
| | | | | | | | | | | | Make this easier to debug in the future Signed-off-by: Tim Smith <tsmith@chef.io>
| * Found some tests that fail when run by themselves on master.Ryan Davis2020-03-162-7/+7
| | | | | | | | | | | | But the failures are exacerbated by random order. Signed-off-by: Ryan Davis <zenspider@chef.io>
| * Fix all(?) circular requires coming from the specs.Ryan Davis2020-03-1683-14/+76
| | | | | | | | | | | | | | Lots more in lib, but that's out of scope for this. I'm just trying to make it easier to debug a failing spec when needed. Signed-off-by: Ryan Davis <zenspider@chef.io>
| * Guard against windows loading on non-windows platforms.Ryan Davis2020-03-161-25/+27
| | | | | | | | Signed-off-by: Ryan Davis <zenspider@chef.io>
| * Remove warnings on test runsRyan Davis2020-03-161-2/+2
| | | | | | | | | | | | | | 1. Bundler.with_clean_env is deprecated. Switched to with_unbundled_env. 2. When we test for win32/daemon existance, redir to dev/null. Signed-off-by: Ryan Davis <zenspider@chef.io>
| * Extra initialization of civars in Resource.Ryan Davis2020-03-161-2/+7
| | | | | | | | | | | | | | This removes about 500 lines of warnings per run of a simple test file. About 33% reduction. Signed-off-by: Ryan Davis <zenspider@chef.io>
| * Turn off a lot of noise in test runs.Ryan Davis2020-03-162-2/+1
|/ | | | | | | | | | + I don't know how ---color was ever parsed to begin with. + -fd results in >23k lines of output that nobody reads. + This output obscures ~800 lines of output that everyone should read and silence. + Turned off verbose in rspec rake task. It's huge and doesn't help anything. Signed-off-by: Ryan Davis <zenspider@chef.io>
* Bump version to 15.9.0 by Chef Expeditorv15.9.0Chef Expeditor2020-03-167-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9503 from chef/updates_15Tim Smith2020-03-165-67/+79
|\ | | | | Update InSpec 4.18.100, Ohai to 15.8, and Fauxhai to 8
| * Update cop names for the latest Rubocop engineTim Smith2020-03-162-2/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Chefstyle fixes for the new engineTim Smith2020-03-161-1/+3
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update InSpec 4.18.100, Ohai to 15.8, and Fauxhai to 8Tim Smith2020-03-162-64/+74
|/ | | | | | Update many other deps as well Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 15.8.32 by Chef Expeditorv15.8.32Chef Expeditor2020-03-167-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9502 from chef/chefstyle_fixesTim Smith2020-03-1614-37/+37
|\ | | | | Chefstyle fixes identified with Rubocop 0.80
| * Chefstyle fixes identified with Rubocop 0.80Tim Smith2020-03-1614-37/+37
|/ | | | | | The new Rubocop detects more unnecessary returns. This fixes these ahead of time so we can roll out the new Rubocop engine without breaking builds later. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 15.8.31 by Chef Expeditorv15.8.31Chef Expeditor2020-03-167-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9499 from chef/15_testingTim Smith2020-03-1624-116/+116
|\ | | | | Multiple testing fixes backported from master
| * Chefstyle fixTim Smith2020-03-161-1/+0
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Fix require in test.Pete Higgins2020-03-161-1/+1
| | | | | | | | Signed-off-by: Pete Higgins <pete@peterhiggins.org>
| * Fix load path in test runs.Pete Higgins2020-03-161-6/+4
| | | | | | | | Signed-off-by: Pete Higgins <pete@peterhiggins.org>
| * Use the aws cli to download ruby in the windows testsTim Smith2020-03-161-2/+1
| | | | | | | | | | | | This should fix our busted windows tests Signed-off-by: Tim Smith <tsmith@chef.io>
| * Only run apt-get update when we need toTim Smith2020-03-162-3/+16
| | | | | | | | | | | | This shaves 5 seconds off the non-functional / berkshelf times Signed-off-by: Tim Smith <tsmith@chef.io>
| * More foldingTim Smith2020-03-161-1/+3
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add logging / log folding to BKTim Smith2020-03-162-0/+5
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Refresh the apt cache thoughTim Smith2020-03-161-0/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Stop installing packages on our constainers that are already thereTim Smith2020-03-161-3/+0
| | | | | | | | | | | | We have these baked into the containers now Signed-off-by: Tim Smith <tsmith@chef.io>
| * Fix windows_certificate functional tests under buildkiteKapil Chouhan2020-03-168-102/+98
| | | | | | | | Signed-off-by: Kapil Chouhan <kapil.chouhan@msystechnologies.com>
| * Disable failing windows tests while we troubleshootTim Smith2020-03-161-54/+54
| | | | | | | | | | | | | | | | We have an active issue filed to get these tests fixed, but for now we need to make sure we can get builds to current so we can continue to validate Chef 16 builds. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Remove constraints on specsTim Smith2020-03-165-44/+33
| | | | | | | | | | | | Run it all. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Remove the last bits of Appveyor from the specsTim Smith2020-03-165-9/+4
| | | | | | | | | | | | We don't have Appveyor anymore. Signed-off-by: Tim Smith <tsmith@chef.io>
| * add commentLamont Granquist2020-03-161-0/+2
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * Fix file descriptor leak in our testsLamont Granquist2020-03-161-1/+5
| | | | | | | | | | | | | | | | | | | | Mac has a default max fd of 256 which this can pretty much blow out by leaking PIPE objects which last until the garbage collector destroys the instances, this forces the pipes to be closed when the stop function is called here. Cuts down on over 200 leaking file descriptors from this test which leak into the subsequent tests. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version to 15.8.30 by Chef Expeditorv15.8.30Chef Expeditor2020-03-167-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 15.8.29 by Chef Expeditorv15.8.29Chef Expeditor2020-03-167-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9498 from chef/chef_fsTim Smith2020-03-161-1/+1
|\ \ | | | | | | chef_fs: Fix gsub so only file endings of .rb and .json are removed.
| * | Fix gsub so only file endings of .rb and .json are removed. Any file paths, ↵Jörg Herzinger2020-03-161-1/+1
| | | | | | | | | | | | | | | | | | like FQDNs with them in between will not be handeled. Signed-off-by: Jörg Herzinger <joerg.herzinger@gmail.com>
* | | Merge pull request #9495 from chef/cookstyle_fixesTim Smith2020-03-169-19/+15
|\ \ \ | | | | | | | | Cookstyle fixes for our resources
| * | | Cookstyle fixes for our resourcesTim Smith2020-03-169-19/+15
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I ran cookstyle against the resources and fixes a few minor issues: - Remove the now default guard interpreter from a powershell_script - Use our rdoc like header format everywhere - Remove some duplicate copyrights - Simplify a few platform case statements Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 15.8.28 by Chef Expeditorv15.8.28Chef Expeditor2020-03-167-19/+20
| |/ |/| | | | | Obvious fix; these changes are the result of automation not creative thinking.