Chef Expeditor
f0533846fb
Bump version to 4.18.40 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-11-25 19:56:25 +00:00
Clinton Wolfe
6adf7b13be
Merge pull request #4734 from inspec/cw/move-fetchers
...
Move lib/fetchers to lib/inspec/fetchers and re-namspace
2019-11-25 14:56:06 -05:00
Miah Johnson
a636f6bdc9
Merge pull request #4678 from inspec/mj/artifact_tests
...
Add several tests to our artifact suite
2019-11-25 11:53:57 -08:00
Miah Johnson
de2a70decb
trigger our habitat tests
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-22 12:58:31 -08:00
Miah Johnson
c993f91ca6
rubocop is on the beat
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-22 12:48:56 -08:00
Clinton Wolfe
9792bae00d
Move the registry cache object
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-11-22 10:09:51 -05:00
Clinton Wolfe
d9f55bf85c
Singularize the fetchers directory name
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-11-22 09:57:28 -05:00
Miah Johnson
45070c15c0
Fixup tests
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-21 17:01:10 -08:00
Clinton Wolfe
7807c3fa01
Re-namespace core Fetchers
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-11-18 13:20:35 -05:00
Clinton Wolfe
80ef0eeeba
Take back the Inspec::Fetcher namespace
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-11-15 16:23:00 -05:00
Chef Expeditor
8d4fc15cd4
Executed '.expeditor/update_dockerfile.sh'
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-11-15 00:52:56 +00:00
Chef Expeditor
61f6207fdf
Bump version to 4.18.39 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-11-14 23:30:37 +00:00
Ryan Davis
3266c76564
Merge pull request #4728 from inspec/zenspider/bump
...
Removing the osx? guard that has been pushed to minitest and released.
2019-11-14 15:30:17 -08:00
Ryan Davis
89888be944
Removing the osx? guard that has been pushed to minitest and released.
...
This is mostly to bump a release because our last one blew up.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-14 15:05:13 -08:00
Chef Expeditor
6b9eb149de
Executed '.expeditor/update_dockerfile.sh'
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-11-14 21:23:23 +00:00
Clinton Wolfe
b39d47bda7
Move fetcher files
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-11-14 15:25:43 -05:00
Chef Expeditor
b9a55682dc
Bump version to 4.18.38 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-11-13 23:51:04 +00:00
Ryan Davis
ea3dac80fd
Merge pull request #4722 from inspec/zenspider/dep/chef-core
...
Dropping chef-core from dependencies.
2019-11-13 15:50:43 -08:00
Chef Expeditor
741fcc3564
Bump version to 4.18.37 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-11-13 23:48:32 +00:00
Ryan Davis
540521031b
Merge pull request #4707 from inspec/zenspider/apt-fix
...
Fixes parsing of apt config files with arch specifier.
2019-11-13 15:48:15 -08:00
Ryan Davis
a17dc0a2bc
Dropping chef-core from dependencies.
...
We'll be moving some code from chef-core to chef-telemetry and adding
that dependency in the next sprint.
Fixes #4716 .
Fixes #4719 .
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-13 13:32:21 -08:00
Chef Expeditor
95a8b55dcb
Bump version to 4.18.36 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-11-13 20:35:08 +00:00
Miah Johnson
e87a99ddd6
Merge pull request #4713 from inspec/cw/fix-windows-filesystem-doc-example
...
Correct filesystem resource docs for windows example
2019-11-13 12:34:50 -08:00
Chef Expeditor
4d705f31c0
Bump version to 4.18.35 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-11-13 20:34:03 +00:00
Ryan Davis
65c73b6422
Merge pull request #4390 from inspec/zenspider/windows-testing
...
Fix windows testing
2019-11-13 12:33:45 -08:00
Clinton Wolfe
64676b2482
Correct filesystem resource docs for windows example
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-11-13 11:28:15 -05:00
Ryan Davis
4e818faeb4
Fixes parsing of apt config files with arch specifier.
...
Fixes #4683 .
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-12 15:08:06 -08:00
Ryan Davis
5dab3e0bbf
Switch to test:parallel K=4 on windows.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-12 14:51:56 -08:00
Ryan Davis
d431912790
Switched parallel worker env var from N to K. Fixed windows parallel runs.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-12 14:51:56 -08:00
Ryan Davis
aa1d0283dd
Added test:parallel task.
...
This one is just round robin in sorted order (so slow functionals are first)
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-12 14:51:56 -08:00
Ryan Davis
865e0d43c0
Fixed a race condition in the tests on windows.
...
Second test would always fail, resumably because the GC kicks in and
the tempfile gets obliterated before the subprocess can read it.
Don't do tempfiles via let. Do them via ivars so they can persist.
2019-11-12 14:51:56 -08:00
Ryan Davis
efc51c44d9
Fixes to get inspec_exec_test.rb green on Windows.
2019-11-12 14:51:56 -08:00
Ryan Davis
f8ea33de8f
Added test command caching and refactored inspec helper to run_cmd.
...
Helps with some of the tests that want to run ruby directly.
Fixes #4416 .
2019-11-12 14:51:56 -08:00
Ryan Davis
bb7e69d145
Fixes for some of the inspec exec tests under Windows.
2019-11-12 14:51:56 -08:00
Ryan Davis
d829fa2d61
Changed FileProvider to try to encode UTF-8 and convert newlines.
...
For Windows compatibility.
2019-11-12 14:51:56 -08:00
Ryan Davis
4242937bea
Changed a bunch of profiles to use / instead of /tmp for Windows compat.
2019-11-12 14:51:56 -08:00
Ryan Davis
2eaebe510c
Fixed installer_test by testing subsets of the paths.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-12 14:51:56 -08:00
Ryan Davis
d1f67c02d0
Get the license_tests passing
...
...mostly by skipping
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-12 14:51:56 -08:00
Ryan Davis
2a680058f4
Missing require?
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-12 14:51:56 -08:00
Ryan Davis
a27eef1d0b
Fixed env vars on functional plugin tests for windows.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-12 14:51:56 -08:00
Ryan Davis
ead386df14
Fixed inspec_init_plugin_test.rb
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-12 14:51:56 -08:00
Ryan Davis
a598356e12
Strip down plugin helper and change windows prefix execution.
...
Powershell doesn't use "&&" and we have it all over the tests.
Changing to ";".
Also starting to unify the plugin helper w/ the functional helper
since it has a LOT of duplication.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-12 14:51:56 -08:00
Ryan Davis
e60dc84188
Cleaned up inspec artifact testing.
...
Removed redundant test/functional/inspec_artifact_test.rb
Cleaned up lib/plugins/inspec-artifact/test/functional/inspec_artifact_test.rb
Made an error on windows (install-profile fails) raise instead of just print.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-12 14:50:39 -08:00
Ryan Davis
c3fe1697bb
Fix the way we determine (and clean) the repo_path in functionals.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-12 14:50:39 -08:00
Ryan Davis
ee327094fb
Strip all ANSI color codes from output in inspec_shell_test.rb
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-12 14:50:39 -08:00
Ryan Davis
b3b8336620
Get inspec_exec_test.rb passing on windows w/o skips.
...
+ Clean up lockfiles in profiles. (we shouldn't be creating these!)
+ Fix some exit code assertions based on platform.
+ Had to skip 2 tests (with timebombs) because this is rebased off of my performance branch which has 2 failures.
signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-12 14:50:39 -08:00
Ryan Davis
bfc8b357bf
Clean up testing in inspec exec by stripping ansi color codes from output.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-12 14:50:39 -08:00
Ryan Davis
2cb5f26998
Rearrange a require in metadata.rb to break circularity is load.
...
For some reason this works fine in linux & osx but fails on windows
but only when some things are loaded in isolation. *shrug*
2019-11-12 14:50:39 -08:00
Chef Expeditor
fb163ad294
Bump version to 4.18.34 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-11-12 21:01:36 +00:00
Clinton Wolfe
1db2941a9e
Fix for invocation when calling npm under sudo ( #4548 )
...
Fix for invocation when calling npm under sudo
2019-11-12 16:01:07 -05:00