Commit graph

7008 commits

Author SHA1 Message Date
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
Miah Johnson
bc293e47a5
Merge pull request #4311 from inspec/jsinha/add_win2019
Enable Windows 2019 packages
2019-07-17 14:25:38 -07:00
Jaymala Sinha
a853d46abd Enable Windows 2019 packages
Signed-off-by: Jaymala Sinha <jsinha@chef.io>
2019-07-17 13:26:01 -04:00
Eike Waldt
da4168f83d
add darwin/OSX tests
Signed-off-by: Eike Waldt <waldt@b1-systems.de>
2019-07-16 21:53:19 +02:00
Eike Waldt
73f729e4b1
changed from system_profiler to sysctl on OSX
(kudos to Petrik)

Signed-off-by: Eike Waldt <waldt@b1-systems.de>
2019-07-16 21:53:15 +02:00
Eike Waldt
b47cf6e80e
change from dmidecode to /sys/class/dmi/id/*
(kudos to Seife)

Signed-off-by: Eike Waldt <waldt@b1-systems.de>
2019-07-16 21:53:03 +02:00
Eike Waldt
9fa97e8baa
use double quotes
Signed-off-by: Eike Waldt <waldt@b1-systems.de>
2019-07-16 21:02:53 +02:00
Eike Waldt
cf4c0f1ed3
fix copypasta
Signed-off-by: Eike Waldt <waldt@b1-systems.de>
2019-07-16 21:02:52 +02:00