Commit graph

7065 commits

Author SHA1 Message Date
Chef Expeditor
bf845da203
Bump version to 4.7.25 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-25 23:13:48 +00:00
Ryan Davis
04a0139057
Merge pull request #4324 from inspec/zenspider/windows-testing
Initial pass to clean up functional testing wrt exit codes and output.
2019-07-25 16:13:33 -07:00
Chef Expeditor
868cb4a39f
Bump version to 4.7.24 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-25 22:21:21 +00:00
Miah Johnson
8b02126ad3
Merge pull request #4332 from inspec/mj/tr
bye netlify
2019-07-25 15:21:03 -07:00
Miah Johnson
38d1830e25 bye netlify
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-25 15:10:58 -07:00
Ryan Davis
84d648d891 Make sure that bad test runs actually fail out BK.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-24 19:02:53 -07:00
Ryan Davis
bcf3aa841c Skip failures from BK run.
Not sure why these failures come up in a unified run (versus my
running all test files separately). Might be test infection. Might be
environmental.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-24 18:59:01 -07:00
Ryan Davis
917a531a92 Skipped all failing tests on windows AT the failures site.
This activates a BUNCH of tests but keeps us green.

Whether these tests are valid or not is not being addressed here.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-24 18:09:08 -07:00
Ryan Davis
bd16b766fa Renamed do_shell_c to assert_shell_c to make failures point to the right place.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-24 18:06:25 -07:00
Ryan Davis
c6837a3915 Moved skip_windows! to top helper and extended date to end of next month.
Fixed up requires in v2/installer_test.rb so it sees the top helper.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-24 18:06:25 -07:00
Ryan Davis
1d5d3dfc43 I don't know how I missed these. Removing the rest of the skip_windows calls.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-24 18:06:25 -07:00
Ryan Davis
6dfa1d8310 Um. No.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-24 18:06:25 -07:00
Ryan Davis
18ce4850f0 Initial pass to clean up functional testing wrt exit codes and output.
This should get windows tests running again? Hopefully? They're
running SO slowly on my vagrant box that I'm just pushing for now.
They're clean on the mac side.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-24 18:06:25 -07:00
Chef Expeditor
b27465b027
Bump version to 4.7.23 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-23 18:47:27 +00:00
Ryan Davis
bd79e9c895
Merge pull request #4316 from inspec/zenspider/fix-file-aws
Fix exceptions when resources are used with incompatible transports
2019-07-23 11:47:13 -07:00
Chef Expeditor
399b1cbdc1
Bump version to 4.7.22 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-23 02:38:02 +00:00
Miah Johnson
6b790e2d0c
Merge pull request #4325 from inspec/mj/bk-win
Add windows to verify pipeline
2019-07-22 19:37:44 -07:00
Miah Johnson
0897d460f6 Add windows to verify pipeline
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-22 19:08:41 -07:00
Chef Expeditor
22d8a6e7d2
Bump version to 4.7.21 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-22 21:39:44 +00:00
Ryan Davis
7a1e1bb775
Merge pull request #4230 from yeoldegrove/sys_info
add resource sys_info.manufacturer and sys_info.model
2019-07-22 14:39:28 -07:00
Ryan Davis
9f91b53193 Refactored and cleaned a minor bit in runner.rb
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-22 14:19:15 -07:00
Ryan Davis
7de549577c Return keys are really nice.
They make code more readable by visually separating different sections
of text.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-22 14:19:15 -07:00
Ryan Davis
d3df69213b Fix handling using resources with incompatible resources (eg file + aws).
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-22 14:19:15 -07:00
Ryan Davis
14c245eccb Refactoring inspec_exec_test.rb
+ Moved exit checks to be last.
+ Refactored the IO parts. WHY do the same thing over and over?!?

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-22 14:19:15 -07:00
John Snow
7fb4b8b14b Remove scaffolding section in doc
Signed-off-by: John Snow <thelunaticscripter@outlook.com>
2019-07-22 17:10:40 -04:00
John Snow
bdf1b01af7 Make changes to doc after review
Signed-off-by: John Snow <thelunaticscripter@outlook.com>
2019-07-22 17:09:09 -04:00
John Snow
ea8c76dcd2
Update docs/habitat.md
Co-Authored-By: Jerry Aldrich <aldrich003@gmail.com>
2019-07-22 16:58:44 -04:00
John Snow
d223f63be5
Update docs/habitat.md
Co-Authored-By: Jerry Aldrich <aldrich003@gmail.com>
2019-07-22 16:57:55 -04:00
John Snow
a81dfc39fa
Update docs/habitat.md
Co-Authored-By: Jerry Aldrich <aldrich003@gmail.com>
2019-07-22 16:57:09 -04:00
Chef Expeditor
f90255ab09
Bump version to 4.7.20 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-22 20:44:43 +00:00
Clinton Wolfe
7c251b6fd6
Suppress gem docs when installing plugins (#4286)
Suppress gem docs when installing plugins
2019-07-22 16:44:28 -04:00
Chef Expeditor
8247bf694f
Bump version to 4.7.19 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-22 19:29:50 +00:00
Clinton Wolfe
66c8232b36
Un-deprecate the be_running matcher on service resource (#4295)
Un-deprecate the be_running matcher on service resource
2019-07-22 15:29:27 -04:00
Clinton Wolfe
12b577fccd linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-22 15:17:30 -04:00
Clinton Wolfe
1c7c2a1e32 Pass option to skip installing documentation when installing plugins
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-22 15:17:30 -04:00
Clinton Wolfe
b37d165878 Unit test for suppressing doc install
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-22 15:17:30 -04:00
Clinton Wolfe
a31e0bcf5e Un-deprecate the be_running matcher on service resource
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-22 14:52:45 -04:00
John Snow
ea7956177a Fix tests to use only plan file
Signed-off-by: John Snow <thelunaticscripter@outlook.com>
2019-07-22 07:35:33 -04:00
John Snow
bbb809f703 Transition the Habitat plugin to use scaffolding
Signed-off-by: John Snow <thelunaticscripter@outlook.com>
2019-07-19 15:25:06 -04:00
Chef Expeditor
f25d4b1941
Update CHANGELOG.md to reflect the promotion of 4.7.18
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-18 22:01:43 +00:00
Jerry Aldrich
74f0e7cf0e Correct example to use message in both places
Thanks @kclinden

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-07-18 10:06:59 -07:00
Jerry Aldrich
4a5103802a Change comment to be correct and fit on one line
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-07-17 22:38:43 -07:00
Jerry Aldrich
a9879544a9 Add SHA512 password example to shadow resource
Many thanks to @kclinden and @zenspider for helping make this possible

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-07-17 20:03:41 -07:00
Chef Expeditor
a804fd477d
Bump version to 4.7.18 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-18 01:46:12 +00:00
Miah Johnson
4d06c530f4
Merge pull request #4313 from inspec/mj/bk-web
Create private pipelines for website management.
2019-07-17 18:45:57 -07:00
Miah Johnson
957fa0d944 Create private pipelines for website management.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-17 17:23:25 -07:00
Chef Expeditor
2d4798b948
Bump version to 4.7.17 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-17 22:15:45 +00:00
Ryan Davis
7bb9ed1676
Merge pull request #4312 from inspec/schisamo/release-notes
Automatically publish release notes and announce releases
2019-07-17 16:15:27 -06:00
Seth Chisamore
7be16359f2
Automatically publish release notes and announce releases
This change updates InSpec begin using the streamlined release notes
process we are already using on Automate and Chef Workstation. More
details on this new process can be found on the following epic:
https://github.com/chef/release-engineering/issues/692

Signed-off-by: Seth Chisamore <schisamo@chef.io>
2019-07-17 17:57:59 -04:00
Chef Expeditor
c37e69e0fc
Bump version to 4.7.16 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-17 21:25:52 +00:00