Commit graph

6441 commits

Author SHA1 Message Date
Artem Sidorenko
9d03fd7882 Allow to switch off the license check
similar to the approach in chef/chef: https://github.com/chef/chef/pull/8354/files#diff-847fc1c7c0af04a65c570c6f4c3381e9R25

Signed-off-by: Artem Sidorenko <artem.sidorenko@t-systems.com>
2019-06-03 15:29:53 +02:00
Chef Expeditor
c0643c33ee
Bump version to 4.4.65 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-31 20:46:22 +00:00
Ryan Davis
a05f54d9e2
Merge pull request #4152 from inspec/mj/leadingnl
Remove all leading newlines.
2019-05-31 13:46:05 -07:00
Miah Johnson
9a580407e6 brittle tests
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-31 11:43:44 -07:00
Miah Johnson
a5c8021227 don't remove this leading newline =)
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-31 11:43:44 -07:00
Miah Johnson
2a1b1d8e88 Remove all leading newlines.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-31 11:43:44 -07:00
Chef Expeditor
97df4c33fd
Bump version to 4.4.64 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-31 18:29:50 +00:00
Miah Johnson
b27f52b8d7
Merge pull request #4163 from inspec/cw/fix-4145-mention-inspec-bin
Mention inspec-bin gem in installation instructions
2019-05-31 11:29:37 -07:00
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
Miah Johnson
6873bf1fb2
Update README.md
Co-Authored-By: mjingle <mjingle@users.noreply.github.com>
2019-05-30 10:57:58 -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
Clinton Wolfe
d1a21f2aa2 Update gem install instructions on website downloads page
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-05-30 10:47:35 -04:00
Clinton Wolfe
639c3a7489 Clarify gem install instructions regarding inspec-bin in README
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-05-30 10:43:18 -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