Ryan Davis
ed6062a191
Merge pull request #4074 from inspec/tk_cleanup
...
Cleanup and fix failing Kitchen tests
2019-05-15 15:39:47 -07:00
Lamont Granquist
bb731fdbc9
Add kitchen rake testing
...
I'd suggest starting to structure kitchen testing like this with a
directory and subdirs to keep the kitchen testing gems out of the
root Gemfile entirely.
This still mounts the root dir in /inspec so the root Gemfile
is still what you're running the rake tests against.
By having an extra layer of subdirs, then you can split up different
use cases like the rake-testing vs. the audit cookbook testing.
Otherwise it'll be a mess of having to manage different kitchen.yml
files that require way too many different drivers/provisioners/verifiers
2019-05-15 15:30:26 -07:00
Tim Smith
9930e8d05d
Test on Ruby 2.6.3 in Travis
...
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-05-15 14:51:08 -07:00
Tim Smith
96ed4988e3
Temporarily set TK to 1.x
...
Until we figure out the licensing issues
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-05-15 14:50:54 -07:00
Chef Expeditor
e470937ee3
Bump version to 4.4.21 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-15 21:43:57 +00:00
Miah Johnson
93eb8ad580
Merge pull request #4073 from inspec/ruby263
...
Upgrade to Ruby 2.6.3
2019-05-15 14:43:43 -07:00
Tim Smith
02d2751971
Add Debian 10 testing to Kitchen / Travis
...
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-05-15 14:41:29 -07:00
Tim Smith
b27bd80429
Remove Ubuntu 14.04 from the kitchen config
...
This is EOL and we're not running tests on it in Travis anymore
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-05-15 14:41:14 -07:00
Tim Smith
9197058698
Use the latest Chef 14 release in the Kitchen config
...
Get us to the latest Chef 14.
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-05-15 14:39:03 -07:00
Tim Smith
84f67a3439
Remove the unused kitchen.ec2.yml file
...
This is many many years old and unused
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-05-15 14:38:36 -07:00
Tim Smith
15323017cd
Add opensuseleap15 to the vagrant kitchen config
...
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-05-15 14:38:20 -07:00
Tim Smith
ab7aabaf96
Upgrade to Ruby 2.6.3
...
It has a few bugfixes and support for the new Japanese cal.
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-05-15 14:26:25 -07:00
Chef Expeditor
060e00e6e2
Bump version to 4.4.20 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-15 20:44:39 +00:00
Miah Johnson
604fa31d94
Merge pull request #4072 from inspec/mj/COC
...
Update our Code of Conduct
2019-05-15 13:44:21 -07:00
Chef Expeditor
07082f2473
Bump version to 4.4.19 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-15 20:36:53 +00:00
Miah Johnson
2490371390
Merge pull request #4071 from inspec/licenseUpdate
...
Include info about Chef License Requirements
2019-05-15 13:36:34 -07:00
Miah Johnson
4d2ca97aa0
Update our Code of Conduct
...
This updates our Code of Conduct to match what is in our .github health
repo, which is also used by all of Chef.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-15 13:33:47 -07:00
Mary Jinglewski
f4eca9b2bf
Include info about Chef License Requirements
...
Signed-off-by: Mary Jinglewski <mjinglewski@chef.io>
2019-05-15 16:31:59 -04:00
Chef Expeditor
2b54b0bede
Bump version to 4.4.18 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-15 19:31:33 +00:00
Miah Johnson
947e7ddad9
Merge pull request #4052 from aaronlippold/al/mssql-session-fix
...
Removed unneeded 'supports: windows'
2019-05-15 12:31:18 -07:00
Chef Expeditor
11f5c311d2
Bump version to 4.4.17 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-15 17:55:57 +00:00
Miah Johnson
bb92546bf2
Merge pull request #4037 from inspec/ap/improve-postgres-resource
...
Make the postgres resource more defensive
2019-05-15 10:55:41 -07:00
Chef Expeditor
73d6b6953f
Bump version to 4.4.16 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-15 17:05:18 +00:00
Ryan Davis
e8515ec604
Merge pull request #4044 from inspec/mj/codeclimate
...
Add codeclimate to our pipeline
2019-05-15 10:05:00 -07:00
Chef Expeditor
7381a6902f
Bump version to 4.4.15 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-15 08:39:16 +00:00
Ryan Davis
5056b942b0
Merge pull request #4066 from inspec/emergency_test_fixes
...
Emergency test fixes!
2019-05-15 01:38:59 -07:00
Ryan Davis
eead889325
Fix test framework contention.
...
RSpec is used internally. Minitest is used for our tests. They don't
really like each other. This fixes that and gets our tests
consistently running the correct number of tests (they were load-order
dependent before and each platform had its own different number of
tests it would run).
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-15 00:33:53 -07:00
Ryan Davis
fa7a8c9e19
Normalizing two test declarations.
...
These tests both involve dynamic un-rooted classes. As such, they have
no name and thus print like #<Class:0xXXXXXXXX:...>. I switched one to
a describe instead of Class.new(Minitest::Test) and the other I
stringified the anonymous class.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-14 23:27:18 -07:00
Ryan Davis
f5d35494d9
Pulling requires out of often called methods.
...
While debugging this hairy situation, I had hooked require to try to
figure out sequencing. These requires were called thousands upon
thousands of times, creating a lot of noise and having no benefit
other than a possible savings of a few millisecond on an already slow
startup.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-14 23:25:28 -07:00
Ryan Davis
6adf1d2560
Remove all byebug requires in code.
...
Please don't leave debugging remnants in the code.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-14 23:24:14 -07:00
Chef Expeditor
e2426bf6b6
Bump version to 4.4.14 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-10 22:17:53 +00:00
Clinton Wolfe
58dde4f09f
Remove more magic comments ( #4050 )
...
Remove more magic comments
2019-05-10 18:17:38 -04:00
Aaron Lippold
8a20c63c05
Removed unneeded 'supports: windows'
...
Microsoft now support `sqlcmd` on all platforms so we can support
all platforms as runners. Without this I cannot run mssql profiles from
osx or linux runners.
https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-2017#os-x-1011-el-capitan-and-macos-1012-sierra
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2019-05-09 17:02:16 -04:00
Miah Johnson
f7575cca00
Remove more magic comments
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-09 13:24:25 -07:00
Miah Johnson
13db99c956
Add codeclimate to our pipeline
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-09 10:57:33 -07:00
Chef Expeditor
9cbd7c395f
Bump version to 4.4.13 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-09 17:56:53 +00:00
Miah Johnson
d5e19ae900
Merge pull request #4046 from inspec/mj/ftf
...
Fix broken tests after removing magic comments.
2019-05-09 10:56:37 -07:00
Alex Pop
1f32d92f78
updates based on PR feedback
...
Signed-off-by: Alex Pop <alexpop@users.noreply.github.com>
2019-05-09 09:14:03 +01:00
Alex Pop
902920f0fa
Make the postgres resource more defensive
...
Signed-off-by: Alex Pop <alexpop@users.noreply.github.com>
2019-05-09 08:43:31 +01:00
Chef Expeditor
5d6bb7753f
Bump version to 4.4.12 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-09 06:49:40 +00:00
Miah Johnson
bf28482350
Merge pull request #4043 from inspec/ap/no-resource-capitalize
...
Wrap resources in backticks and remove resource name capitalizing
2019-05-08 23:49:25 -07:00
Chef Expeditor
6d56b3e4d9
Bump version to 4.4.11 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-08 23:25:17 +00:00
Miah Johnson
5dd4356abf
Merge pull request #4042 from inspec/mj/resources
...
Relocate core resources from lib/resources to lib/inspec/resources
2019-05-08 16:24:59 -07:00
Miah Johnson
81c9a27b37
Fix broken tests after removing magic comments.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-08 16:17:25 -07:00
Chef Expeditor
845ecea1e7
Bump version to 4.4.10 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-08 20:25:05 +00:00
Bryan McLellan
90d4012f0a
Merge pull request #4045 from inspec/btm/omnibus-license
...
Convert Chef EULA to a local file
2019-05-08 16:24:39 -04:00
Bryan McLellan
0539e9afe8
Convert Chef EULA to a local file
...
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
2019-05-08 16:24:08 -04:00
Miah Johnson
25382bc281
Update require path in main resource loader
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-08 13:09:54 -07:00
Miah Johnson
0abac967f5
Update resource requires after relocation
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-08 13:09:54 -07:00
Miah Johnson
4172ae48fa
Relocate resources to inspec/resources
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-08 13:09:54 -07:00