Commit graph

6163 commits

Author SHA1 Message Date
Clinton Wolfe
d043dab94b linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-29 15:47:26 -06:00
Clinton Wolfe
32950a05b9 Do not depend on inspec-bin from Gemfile
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-29 15:47:26 -06:00
Jaymala Sinha
2a4f3a168d Build inspec-bin gem too
Signed-off-by: Jaymala Sinha <jsinha@chef.io>
2019-04-29 15:47:26 -06:00
Clinton Wolfe
2938d12be7 Update file list for gemspec
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-29 15:47:26 -06:00
Clinton Wolfe
0ec6e16fc1 Update README and gem description
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-29 15:47:26 -06:00
tyler-ball
60125d890b Habitat should install inspec-bin and activate inspec from that
Signed-off-by: tyler-ball <tball@chef.io>
2019-04-29 15:47:26 -06:00
Clinton Wolfe
8bed893da2 An unportable and slow approach to installing
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-29 13:27:10 -06:00
Clinton Wolfe
47ae89d46b linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-29 13:27:10 -06:00
Clinton Wolfe
a282204b41 Update exe location in functional test helpers
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-29 13:27:10 -06:00
Clinton Wolfe
e404bafd7a bundle exec works
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-29 13:27:09 -06:00
Clinton Wolfe
d448fdcb8d version updating works
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-29 13:27:09 -06:00
Clinton Wolfe
54aa413e0c inspec-bin skeleton
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-29 13:27:09 -06:00
Clinton Wolfe
1c3604cb1e Remove empty executables list from gemspecs
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-29 13:27:09 -06:00
Clinton Wolfe
44fcc6d874 Remove binary file from gemspecs
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-29 13:27:09 -06:00
Unknown
5c1467dfe9 Update software name from InSpec to Chef Inspec
Signed-off-by: IanMadd <maddaus@protonmail.com>
2019-04-29 15:16:56 -04:00
Tim Smith
65f27bf31b More omnibus def updates from Chef
Getting the file path right should fix the build failures

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-29 10:26:54 -07:00
Tim Smith
366245b398 Update to Ruby 2.6.2 and Rubygems 3.0.3
We thought we were riding the latest, but actually the overrides file wasn't wired up the same way it is in Chef. This properly sources that file and does a few other syncs from the chef config so we can diff things more easily.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-29 10:06:36 -07:00
Chef Expeditor
9b13bcb953
Bump version to 4.2.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-26 18:00:08 +00:00
Clinton Wolfe
535d7ae6a9
Internal overhaul of Inputs system (#3875)
Internal overhaul of Inputs system
2019-04-26 13:59:51 -04:00
Clinton Wolfe
154824128c Make sure --input-file change made it in
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:32 -04:00
Clinton Wolfe
7d2028287c Get unit and functional tests passing
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:32 -04:00
Clinton Wolfe
502cf1d7b9 Add test helper to detect all-passing exec run
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:32 -04:00
Clinton Wolfe
d9b7473118 Add inheritance test fixture
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:32 -04:00
Clinton Wolfe
9156a782fe Add stack introspection
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:32 -04:00
Clinton Wolfe
9faf4b1034 Add tests for marshalling
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
0ba056cd94 Consolidate validation tests
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
2450f45ac6 Detailed type validation works
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
407dcd9028 Add unit tests for enforcing type validation
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
2536d76324 Events work at the unit level, except for stack hueristics
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
e3b2ec7d7c Sketch out events unit tests
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
b8cde5530b Add event, some tests still commented out
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
aae54d2cb6 Checkpoint commit after Input rename; precedence is broken
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
8ef5eb46b1 Start getting unit tests passing again
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
883572fcbb First bits on consolidating attribute creation into the registry
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Chef Expeditor
9e07bf8fbd
Bump version to 4.1.16 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-26 17:11:57 +00:00
Clinton Wolfe
d8132689de
Merge pull request #3985 from inspec/mj/av-image
Use a updated OS Image in Appveyor
2019-04-26 13:11:43 -04:00
Miah Johnson
b1357a40c5 Use a updated OS Image in Appveyor
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-25 18:13:21 -07:00
Chef Expeditor
f5cbccc626
Bump version to 4.1.15 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 23:49:53 +00:00
Miah Johnson
7b004e9ecd
Merge pull request #3983 from inspec/mj/appveyor
Appveyor Config Changes
2019-04-25 16:49:35 -07:00
Miah Johnson
4c3b88350c -x64 should be included in the version.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-25 16:39:35 -07:00
Miah Johnson
b32c246ead Enable 64bit Ruby for 24, 25, and 26.
Disable MSBuild mode entirely.

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-25 16:31:57 -07:00
Chef Expeditor
049c6cb3bf
Bump version to 4.1.14 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 22:57:00 +00:00
Clinton Wolfe
b74f61e9de
Update deprecation settings for v4 (#3973)
Update deprecation settings for v4
2019-04-25 18:56:43 -04:00
Chef Expeditor
78d94965b9
Bump version to 4.1.13 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 22:33:34 +00:00
Clinton Wolfe
db129be2b2
Provide logger to license-acceptance for help debugging in the future (#3958)
Provide logger to license-acceptance for help debugging in the future
2019-04-25 18:33:16 -04:00
Chef Expeditor
a8333172d8
Bump version to 4.1.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 22:28:40 +00:00
Miah Johnson
ddc5267bbb
Merge pull request #3980 from inspec/appveyor_windows_26
Bump appveyor.yml to build on 2.6 for unit-tests-ruby-2.6.
2019-04-25 15:28:24 -07:00
Chef Expeditor
4265c5ff17
Bump version to 4.1.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 22:27:47 +00:00
Miah Johnson
6aaac649e6
Merge pull request #3937 from inspec/ruby26
Make sure we test on Ruby 2.6
2019-04-25 15:27:30 -07:00
Ryan Davis
fff5a68658 Bump functionals to ruby 2.6.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-04-25 15:19:59 -07:00