Commit graph

6430 commits

Author SHA1 Message Date
Chef Expeditor
e4567052e3
Bump version to 4.4.63 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-31 18:29:14 +00:00
Miah Johnson
03d607167b
Merge pull request #4169 from inspec/snappj/replace-jenkins-with-buildkite
Replace Jenkins omnibus build/test pipeline with Buildkite
2019-05-31 11:28:57 -07:00
Jeremiah Snapp
a0add503c4 Replace Jenkins omnibus build/test pipeline with Buildkite
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
2019-05-31 14:21:08 -04:00
Chef Expeditor
ecbb8c0d17
Bump version to 4.4.62 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-30 19:07:17 +00:00
Ryan Davis
894c7bc9b7
Merge pull request #4165 from inspec/zenspider/green2
This should fix our licensing failures
2019-05-30 12:07:01 -07:00
Ryan Davis
d10591dc19 Some of our license tests fail if we have CHEF_LICENSE set, so wrap them up.
This still doesn't fix our parallelization issues. I think

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-30 11:17:19 -07:00
Chef Expeditor
ece3c7b5a3
Update CHANGELOG.md with details from pull request #4164
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-30 17:57:28 +00:00
Miah Johnson
965ef8ae76
Merge pull request #4164 from inspec/cw/fix-4021-sunset-warnings
Update sunset messages on 2 resources
2019-05-30 10:57:17 -07:00
Clinton Wolfe
06de2dc941 Update azure gr sunset notice
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-05-30 11:40:05 -04:00
Clinton Wolfe
c4d7a52b94 Update apache resource sunset notice
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-05-30 11:39:20 -04:00
Chef Expeditor
ed7861fcf6
Bump version to 4.4.61 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-30 01:33:24 +00:00
Ryan Davis
4790e288a0
Merge pull request #4142 from inspec/zenspider/clean_unnecessary_requires
Clean unnecessary requires
2019-05-29 18:33:06 -07:00
Chef Expeditor
66e95a4847
Bump version to 4.4.60 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-30 01:08:31 +00:00
Miah Johnson
6898319086
Merge pull request #4159 from inspec/zenspider/windows_fixes
Windows fixes
2019-05-29 18:08:18 -07:00
Ryan Davis
dfadc393b9 Even more removals and moves!
Turns out we don't even use CMD in any units... so why make it?

Lots of other stuff got ripped out. Tests basically shouldn't need to
require anything but 1 implementation file and a test framework.
Anything more than that is a smell.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-29 17:58:02 -07:00
Ryan Davis
be125598c8 Additional whitespace cleanup.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-29 17:58:02 -07:00
Ryan Davis
ec248217a7 Extra fix for utils move
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-29 17:58:02 -07:00
Ryan Davis
a8bcba780f Got the rest of the functionals to pass.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-29 17:58:02 -07:00
Ryan Davis
82c9aa6ed6 Got the rest of the tests to pass.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-29 17:58:02 -07:00
Ryan Davis
9ec91484fc Get all non-resource tests fixed again.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-29 17:58:02 -07:00
Ryan Davis
de8258c9f7 Get yaml_test.rb working
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-29 17:58:02 -07:00
Ryan Davis
761f48e63c Get user_test.rb working
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-29 17:58:02 -07:00
Ryan Davis
69f2927983 Stripping test/helper.rb of all the big inspec requires.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-29 17:58:02 -07:00
Ryan Davis
61585de0f0 Moved out all of the requires for inspec/resources/* from inspec/resource.rb
All requires moved to inspec/resources.rb

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-29 17:58:02 -07:00
Ryan Davis
adaf2bc364 Removed aws resource requiring from test/helper and inspec/resource.
This speeds up parallel unit test runs from a very consistent 2:49 to
a very consistent 1:53, or a 33% reduction.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-29 17:58:02 -07:00
Chef Expeditor
15c770183f
Bump version to 4.4.59 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-29 23:52:19 +00:00
Ryan Davis
a865a929c9
Merge pull request #4160 from inspec/zenspider/green
Make travis green again
2019-05-29 16:52:05 -07:00
Ryan Davis
ec803f07e0 Fixed syntax error in .travis.yml
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-29 16:22:39 -07:00
Ryan Davis
fcb65b2ffb Fixed Inspec::Dist on habitat CLI.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-29 16:22:28 -07:00
Ryan Davis
56924dbee1 Fix some of our functional failures on windows.
+ Add CHEF_LICENSE env variable.
+ Switch to using powershell to invoke inspec.

I still think we should look into using `spawn`, but this is a good
start.

This probably doesn't fix the rest of the tests, but they're SO slow
locally that I'm gonna start this PR.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-29 15:48:37 -07:00
Ryan Davis
23f8a1e30c Explicitly set default_external to UTF-8 for windows testing.
This fixes 4 failures having to do with encoding mismatch.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-29 15:48:37 -07:00
Miah Johnson
ddd6f354ee
Merge pull request #4157 from inspec/snappj/minor-improvements-to-omnibus-test-scripts
Minor changes to omnibus-test scripts
2019-05-29 14:09:59 -07:00
Jeremiah Snapp
4fcdc95b92 Minor changes to omnibus-test scripts
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
2019-05-29 16:45:54 -04:00
Chef Expeditor
1fc518c588
Bump version to 4.4.58 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-29 02:24:01 +00:00
Miah Johnson
7bb9af9e5c
Merge pull request #4153 from inspec/mj/cachervm
Cache the .rvm directory in travis
2019-05-28 19:23:45 -07:00
Miah Johnson
546b1084f7 Cache the .rvm directory in travis
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-28 15:39:49 -07:00
Chef Expeditor
9007dbb540
Bump version to 4.4.57 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-28 21:17:53 +00:00
Miah Johnson
365810a622
Merge pull request #4136 from artem-forks/debranding-plugin-manager-cli
Dist branding for some of plugins
2019-05-28 14:17:36 -07:00
Chef Expeditor
2d528f5899
Bump version to 4.4.56 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-28 20:06:10 +00:00
Miah Johnson
342cef2367
Merge pull request #4147 from inspec/mj/authors
Remove authors tags from source files.
2019-05-28 13:05:52 -07:00
Miah Johnson
6c19e81a06 Remove authors tags from source files.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-28 12:47:39 -07:00
Artem Sidorenko
eee2199960 Dist branding for plugins/inspec-compliance
Signed-off-by: Artem Sidorenko <artem.sidorenko@t-systems.com>
2019-05-28 21:00:56 +02:00
Artem Sidorenko
e468c592ca Dist branding for plugins/inspec-habitat
Signed-off-by: Artem Sidorenko <artem.sidorenko@t-systems.com>
2019-05-28 21:00:56 +02:00
Artem Sidorenko
4c0260aedd Dist branding for plugins/inspec-artifact
Signed-off-by: Artem Sidorenko <artem.sidorenko@t-systems.com>
2019-05-28 21:00:49 +02:00
Artem Sidorenko
5a2bf961f8 Dist branding for plugins/inspec-plugin-manager-cli
Signed-off-by: Artem Sidorenko <artem.sidorenko@t-systems.com>
2019-05-28 21:00:36 +02:00
Chef Expeditor
85f2dcccb8
Bump version to 4.4.55 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-28 18:44:58 +00:00
Clinton Wolfe
c8f0de05af
inspec check: Send log to STDERR when running with --format json (#4001)
inspec check: Send log to STDERR when running with --format json
2019-05-28 14:44:44 -04:00
Chef Expeditor
54a75f7d62
Bump version to 4.4.54 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-28 18:35:11 +00:00
Miah Johnson
57566b817f
Merge pull request #4063 from inspec/mj/utils
Move utils under inspec directory namespace
2019-05-28 11:34:54 -07:00
Miah Johnson
2215bb0570 Update all requires pointing to util/
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-28 11:30:16 -07:00