Nikita Mathur
16455e978f
Build fix - Html proofer version fixed for ruby version 2.5
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-07-29 17:50:52 +05:30
Vasu1105
47020370b8
Remove def for probably_x86
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-07-09 10:48:36 +05:30
Vasu1105
a292d27557
Need to backout this gem as its causing issues for ssh
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-07-08 11:19:53 +05:30
Clinton Wolfe
362eadb067
Add an awful little check to detect x86 arch
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-06-16 17:03:59 -04:00
Clinton Wolfe
4c0eb932a5
Include x25519 KEX module in omnibus build
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-06-14 13:36:24 -04:00
dependabot[bot]
f44a909687
Update chefstyle requirement from ~> 1.7.1 to ~> 2.0.3
...
Updates the requirements on [chefstyle](https://github.com/chef/chefstyle ) to permit the latest version.
- [Release notes](https://github.com/chef/chefstyle/releases )
- [Changelog](https://github.com/chef/chefstyle/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chef/chefstyle/compare/v1.7.1...v2.0.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-09 23:51:14 -04:00
Clinton Wolfe
ca14b2a901
Conditionally include a kitchen group in the gemfile for ruby 2.7+
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-02 21:53:24 -04:00
dependabot-preview[bot]
1bfa935f0c
Update json_schemer requirement from >= 0.2.1, < 0.2.18 to >= 0.2.1, < 0.2.19
...
Updates the requirements on [json_schemer](https://github.com/davishmcclurg/json_schemer ) to permit the latest version.
- [Release notes](https://github.com/davishmcclurg/json_schemer/releases )
- [Commits](https://github.com/davishmcclurg/json_schemer/compare/v0.2.1...v0.2.18 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 08:56:28 +00:00
dependabot-preview[bot]
1581faf612
Update chefstyle requirement from ~> 1.5.7 to ~> 1.7.1
...
Updates the requirements on [chefstyle](https://github.com/chef/chefstyle ) to permit the latest version.
- [Release notes](https://github.com/chef/chefstyle/releases )
- [Changelog](https://github.com/chef/chefstyle/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chef/chefstyle/compare/v1.5.7...v1.7.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-16 06:42:03 +00:00
Clinton Wolfe
7b2558b1e8
Update json_schemer requirement from >= 0.2.1, < 0.2.12 to >= 0.2.1, < 0.2.18
2021-01-20 14:43:26 -05:00
Tim Smith
cfee7ce474
Allow for rspec 3.9 in the gemspec
...
rspec 3.10 is causing issues with chef/chef tests due to changes in
rspec-mock that we're working to resolve. Right now we'd like to get the
latest inspec releases into chef/chef w/o the need for rspec 3.10. At
runtime inspec doesn't need 3.10, but it does need it for tests, so
let's make sure we bring it in via the gemfile, but allow the older 3.9
release at runtime.
Signed-off-by: Tim Smith <tsmith@chef.io>
2021-01-12 13:51:17 -08:00
Clinton Wolfe
05daaad9fc
Avoid ffi 1.14.2
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-01-06 11:18:21 -05:00
dependabot-preview[bot]
0e35a922ef
Update json_schemer requirement from >= 0.2.1, < 0.2.12 to >= 0.2.1, < 0.2.18
...
Updates the requirements on [json_schemer](https://github.com/davishmcclurg/json_schemer ) to permit the latest version.
- [Release notes](https://github.com/davishmcclurg/json_schemer/releases )
- [Commits](https://github.com/davishmcclurg/json_schemer/compare/v0.2.1...v0.2.17 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 19:18:16 +00:00
Clinton Wolfe
e4c46e9dae
Bump chefstyle to 1.5.7
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-12-21 13:24:12 -05:00
dependabot-preview[bot]
6785c76d8a
Update simplecov requirement from ~> 0.10, <= 0.18.2 to ~> 0.18
...
Updates the requirements on [simplecov](https://github.com/simplecov-ruby/simplecov ) to permit the latest version.
- [Release notes](https://github.com/simplecov-ruby/simplecov/releases )
- [Changelog](https://github.com/simplecov-ruby/simplecov/blob/main/CHANGELOG.md )
- [Commits](https://github.com/simplecov-ruby/simplecov/compare/v0.10.0...v0.18.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-16 07:37:05 +00:00
Clinton Wolfe
d42dfa956c
Remove integration group from Gemfile
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-12-10 12:43:07 -05:00
Tim Smith
d603aed98a
Remove the pin on EOL Chef releases
...
Chef 14 is no longer supported and shouldn't be pinned here. These old deps bring in a bunch of old pins.
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-09 11:04:00 -08:00
Clinton Wolfe
43465fb1a6
Remove outdated / unmaintained maintainers task / docs
2020-12-09 10:42:08 -05:00
Tim Smith
bc904883dd
Remove outdated / unmaintained maintainers task / docs
...
The task has been disabled for a while and the docs are totally out of date. Nuke this all and save ourselves some deps in the gemfile.
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-08 17:12:38 -08:00
Tim Smith
f4b09b8b47
Remove kitchen-ec2 dep + add lower floor to other kitchen deps
...
Speed up depsolving by making the tree smaller.
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-08 17:09:31 -08:00
Tim Smith
5f26f592d3
Merge pull request #5325 from inspec/remove_json_schemer
...
Remove the dependency on json_schemer
2020-12-02 11:18:51 -08:00
Tim Smith
7a35751269
Remove the dependency on json_schemer
...
It looks like we're only using this in 3 test files and it conflicts
with new RuboCop releases, which is blocking us shipping that new
release in Chef Infra Client and Workstation
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-01 14:17:12 -08:00
Tim Smith
2b68f01514
Remove Gemfile.local support to use Dependabot
...
If you remove this then Dependabot can manage deps, which helps keep us
up to data without manual work.
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-12-01 14:06:12 -08:00
Clinton Wolfe
6493534843
Conditionally pin chef-utils on Ruby 2.5
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-11-30 16:03:32 -05:00
Clinton Wolfe
955ab36922
Update junit tests to use nokogiri
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-09-22 11:40:01 +01:00
Tim Smith
303f530850
Update to Chefstyle 1.2.1
...
Update a few cop names
Remove redundant returns
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-08-12 13:12:26 -07:00
Clinton Wolfe
e4aa9f1793
Skip HTML validation testing on windows
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-18 14:23:54 -04:00
Clinton Wolfe
a131067a09
Add functional test, including html validation
...
This uses html-proofer, which adds in nokogiri as a testing dep.
I expect we'll be using nokogiri soon anyway for the JUnit reporter.
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-18 14:21:51 -04:00
James Stocks
8ee28c1211
Change ffi pinning
...
ffi 1.13.1 reverts the breaking change in 1.13.0
We can now use any version other than specifically 1.13.0.
Signed-off-by: James Stocks <jstocks@chef.io>
2020-06-10 12:18:23 +01:00
James Stocks
04f36aa055
Pin ffi to 1.12.2 due to Windows crash
...
See https://github.com/ffi/ffi/issues/784
Signed-off-by: James Stocks <jstocks@chef.io>
2020-06-02 16:25:34 +01:00
Clinton Wolfe
f326d8aa56
Avoid simplecov 0.18.3, as it has a NameError bug
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-02-24 13:48:49 -05:00
Clinton Wolfe
b007d1adc7
Pin chef-zero to <15 like chef to allow ruby 2.5 and 2.4 support
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-02-24 13:19:55 -05:00
Miah Johnson
9db7b70e30
remove coveralls; all we need is simplecov
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-27 22:12:48 -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
8f1e607d55
Bump chefstyle and fix up flagged code.
...
Very minor.
I want to change a default config but I'll do that in a separate
commit since it is a bigger diff.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-08 12:57:43 -08:00
Miah Johnson
9d16d775b7
Pin Chefstyle.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-09 13:28:29 -07:00
Robb Kidd
30a4f8ea58
use stdlib SecureRandom to generate a password
...
Replaces the now-yanked passgen gem with something available in the Ruby
standard library. Why `.alphanumeric(72)`? This method will reliably
crank out 72-character strings that meet the upper, lower, and numeric
requirement of Azure.
From the docs on the Azure terraform provider:
> NOTE: admin_password must be between 6-72 characters long and must
> satisfy at least 3 of password complexity requirements from the
> following:
> 1. Contains an uppercase character
> 2. Contains a lowercase character
> 3. Contains a numeric digit
> 4. Contains a special character
So, this should suffice.
Signed-off-by: Robb Kidd <robb@thekidds.org>
2019-07-01 14:15:37 -04:00
Ryan Davis
a5309ea392
blindly applied chefstyle -a
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-11 18:52:03 -07:00
Ryan Davis
52423e8a0c
Switched dependency to chefstyle.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-11 15:07:34 -07:00
Miah Johnson
1a448f6264
We need berkshelf for test-kitchen, but we need chef 14 to support ruby
...
2.4
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:46:22 -07:00
Miah Johnson
c28430a47b
test-kitchen currently requires berkshelf
...
I also discussed with Jerry if we can replace Berks with policyfile for
our testing and it seems unlikely at this point. Will re-evaluate in the
future.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:46:22 -07:00
Miah Johnson
a794506380
berkshelf is making dependency fun. bye.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:46:22 -07:00
Miah Johnson
906f700e75
Open up restrictions on these gems as they were.. out of date.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:46:22 -07:00
Miah Johnson
e405dd0c80
Put pry with test tools, remove useless group
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-06 13:45:39 -07:00
Miah Johnson
23245df6d1
Replace jsonschema with json-schema.
...
Also just use json, its packaged with ruby already.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-06-01 22:04:36 -07:00
Ryan Davis
7082fbef3d
Add support for Gemfile.local
...
Let me use _my_ tooling!
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-18 13:19:56 -07:00
Tim Smith
96ed4988e3
Temporarily set TK to 1.x
...
Until we figure out the licensing issues
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-05-15 14:50:54 -07:00
Miah Johnson
11b8da3283
Merge branch 'master' into mj/encoding
2019-05-08 12:59:55 -07:00
Miah Johnson
20bafdc4b2
Merge pull request #3988 from inspec/mj/coveralls
...
Add Coveralls.io support to InSpec
2019-05-08 12:58:00 -07:00
Miah Johnson
659b4b373a
Remove # encoding: utf8
magic comments
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-07 16:06:23 -07:00