Commit graph

6290 commits

Author SHA1 Message Date
Clinton Wolfe
6f178f1e79
Merge pull request #3803 from inspec/cw/attrs-rename-codefiles
Attribute-Input Rename: Rename codefiles
2019-02-14 13:47:41 -05:00
Clinton Wolfe
cbf1b665f8 Fix typo in require
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-14 12:37:27 -05:00
Clinton Wolfe
fc448ed6f1 Rename attribute_registry to input_registry
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-14 12:37:27 -05:00
Clinton Wolfe
c538eae2df Rename objects/attribute to objects/input
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-14 12:37:27 -05:00
Tim Smith
2fe299c4f8 Work around strange bundler failures on Ruby 2.3
We should be excluding the integration group but it's trying to install berkshelf no matter what. 🤷

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 22:59:18 -08:00
Tim Smith
ce5b7d8942 Switch to the new dokken oracle images
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 22:51:22 -08:00
Tim Smith
0cbd8ce705 Move the issue template to the .github directory
No need for this in the root

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 22:50:30 -08:00
Tim Smith
d7b6e0a7f3 Name the test/lint tests in Travis
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 22:44:51 -08:00
Tim Smith
34e105fb59 Shuffle around where we define the bundler args
The group exclusions weren't getting applied at the top level like one
might assume.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 22:19:26 -08:00
Tim Smith
68ff8d8b43 Update what we expect for the x509 request
The new built in chef resource creates it a bit differently than the legacy cookbook resource did

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 22:00:00 -08:00
Tim Smith
4b3095dac2 Further modernize the cookbook and remove legacy setup
Remove container setup that comes for free with the dokken containers now
Use the new openssl resource names
Remove all the encoding statements that even rubocop doesn't recommend anymore
Remove some compatibility with centos-5 and ubuntu 15.10

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 21:50:33 -08:00
Tim Smith
8fcef84820 Actually disable 2.6 testing for now
It very much does not work atm

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 20:54:00 -08:00
Tim Smith
4628a12401 Switch the travis test to Xenial and add Ruby 2.6.1
We'll be shipping on Ruby 2.6.1 soon so we should test it.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 20:47:21 -08:00
Tim Smith
687fb989ca Pin berkshelf to a sane version
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 19:47:57 -08:00
Tim Smith
79a45d0f3b Swap Fedora 24 for Fedora 29 in Travis
Fedora 24 is way EOL

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 18:14:02 -08:00
Tim Smith
772244c12a Use the latest Chef 14 in testing and nuke windows/openssl cookbooks
All the windows / openssl resources are built into Chef now.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 18:04:43 -08:00
Tim Smith
0a1fb48b4e Switch CentOS / Ubuntu to use the dokken-images containers
These are setup to look more like VMs and they are what should be used with dokken.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 18:03:04 -08:00
Tim Smith
432d473bf9 Don't use hidden kitchen files
This just makes finding these harder on *nix systems.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 17:20:42 -08:00
Tim Smith
097e2deedc Don't include the apt recipe over and over again in the recipes
We run apt_update once with chef and we already update the cache directly on the container at start. We don't need to try to do the same thing 3 other times.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 17:19:55 -08:00
Tim Smith
55a8f752f9 Remove deps from the Berksfile that are in the metadata
There's no need for this. Never has been.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 16:28:16 -08:00
Tim Smith
00176f3487 Don't list out the runit deps in the berksfile
This is literally what berkshelf was built to do for you.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 16:10:39 -08:00
Tim Smith
58e5be0e8b Use the latest Bento boxes in the vagrant setup
Use current Bento slugs and remove platforms we don't support as a company.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 16:07:16 -08:00
Tim Smith
b07aed1c73 Use the platform_family? helper
It's much simpler than listing every single possible platform and it makes this actually work on Oracle

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 16:06:30 -08:00
Tim Smith
ec29727838 Let Chef handle the root_group itself
We have node['root_group'] and Chef will apply this on its own.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 16:04:53 -08:00
Tim Smith
6c706f0715 Don't use apt/yum in the kitchen configs either
There's really no need for this. It just slows down the run

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 16:03:53 -08:00
Tim Smith
2f89081f53 Remove direct usage of apt/yum cookbooks in the os_prepare cookbook
We have an apt_update resource now
Yum cookbook was never needed
dnf is now supported on Fedora out of the box

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 16:02:41 -08:00
Tim Smith
e826eae292 Move the template out of the default directory
This is a Chef 11 thing.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 16:01:17 -08:00
Tim Smith
4d881b90f3 Note the correct expeditor URL in the config comment
Point to the new docs page.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 15:53:32 -08:00
Tim Smith
95a25e719d Update support platforms in the readme
Long term we should fold this into the docs site and align it with our standard platform support policy, but this is less bad than it was before.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 15:51:26 -08:00
Chef Expeditor
8843e93819
Bump version to 3.6.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-13 18:56:39 +00:00
Clinton Wolfe
c174f884f5
Merge pull request #3796 from inspec/cw/attrs-rename-testfiles
Attributes-Inputs Rename: Move test files
2019-02-13 13:56:19 -05:00
Chef Expeditor
e3ff1dd301
Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-12 04:03:37 +00:00
Chef Expeditor
274b176435
Bump version to 3.6.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-12 03:26:36 +00:00
Clinton Wolfe
0f11fa2907
Merge pull request #3809 from inspec/cw/updates-to-contributing
Update CONTRIBUTING for CI
2019-02-11 22:26:19 -05:00
Clinton Wolfe
cf39fe8fa1 Minor tweaks to CONTRIBUTING to clarify
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-11 22:17:09 -05:00
Clinton Wolfe
0225bb7db8
Merge pull request #3807 from inspec/tduffield/only-subscribe-to-release-branch
Subscribe only to artifacts for release branch
2019-02-11 22:09:28 -05:00
Tom Duffield
6a1a3ff926 Subscribe only to artifacts for release branch
We do not want to take actions on 'master' (Inspec 3) when Inspec 1 and
Inspec 2 changes are made.

Signed-off-by: Tom Duffield <tom@chef.io>
2019-02-11 17:12:24 -06:00
Chef Expeditor
c882fa927b
Bump version to 3.6.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-11 20:27:04 +00:00
Clinton Wolfe
aa767e4b3f
Merge pull request #3806 from inspec/cw/add-logger-to-train-options
Add logger to train generic options
2019-02-11 15:26:48 -05:00
Clinton Wolfe
9cc46c8a8a Add logger to train generic options
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-11 14:24:33 -05:00
Clinton Wolfe
66d0d146b2 Rename test control files
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-11 12:10:08 -05:00
Jerry Aldrich
8b93292f3f Add term-ansicolor to inspec-core gem
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-02-10 19:59:37 -08:00
Chef Expeditor
4ad2c64f21
Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-08 23:27:03 +00:00
Clinton Wolfe
785888a209 Rename functional tests, unit tests, and test fixtures
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-08 18:23:01 -05:00
Chef Expeditor
9eed984015
Bump version to 3.6.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-08 22:49:10 +00:00
Clinton Wolfe
ab183e0858
Merge pull request #3793 from inspec/cw/config-cache-read
inspec detect: Fix for --config trying to read from STDIN twice
2019-02-08 17:48:54 -05:00
Chef Expeditor
88d7ea852c
Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-08 22:17:53 +00:00
Clinton Wolfe
a6f289f1b2 Cache reads from STDIN
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-08 14:16:56 -05:00
Clinton Wolfe
fd3c3df8c1 Add failing functional tests for more piped config subcommands
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-08 13:18:08 -05:00
Chef Expeditor
5c02be2c3d
Bump version to 3.6.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-02-08 01:58:50 +00:00