Commit graph

155 commits

Author SHA1 Message Date
Vasundhara Jagdale
904bdf2345
Revert "Update html-proofer requirement from ~> 3.19.4 to ~> 5.0.8 (#6697)" (#6717)
This reverts commit 12e8e93b91.
2023-09-29 18:44:14 +05:30
dependabot[bot]
12e8e93b91
Update html-proofer requirement from ~> 3.19.4 to ~> 5.0.8 (#6697)
Updates the requirements on [html-proofer](https://github.com/gjtorikian/html-proofer) to permit the latest version.
- [Release notes](https://github.com/gjtorikian/html-proofer/releases)
- [Changelog](https://github.com/gjtorikian/html-proofer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gjtorikian/html-proofer/compare/v3.19.4...v5.0.8)

---
updated-dependencies:
- dependency-name: html-proofer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-29 16:50:16 +05:30
dependabot[bot]
62b87af0ad
Update json_schemer requirement from >= 0.2.1, < 0.2.19 to >= 0.2.1, < 2.0.1 (#6693)
Updates the requirements on [json_schemer](https://github.com/davishmcclurg/json_schemer) to permit the latest version.
- [Changelog](https://github.com/davishmcclurg/json_schemer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/davishmcclurg/json_schemer/compare/v0.2.1...v2.0.0)

---
updated-dependencies:
- dependency-name: json_schemer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-29 15:49:52 +05:30
Clinton Wolfe
a7363ca867
Explicitly list which gems to pull from Artifactory (#6627)
* Try explicit list of gems to pull from artifactory to avoid issue on CI

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Fix linting

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

---------

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
Co-authored-by: Vasu1105 <vasundhara.jagdale@progress.com>
2023-08-30 19:26:13 -04:00
Clinton Wolfe
dd2b9224ce Configure Gemfile to read from Artifactory for internal Chef builds
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-08-22 10:30:55 -04:00
Vasu1105
ac9927e32d Moves chef-licensing gem dependency to inspec gemspec file
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-08-22 10:30:07 -04:00
Sonu Saha
77b7a8ff62
Remove kitchen group from Gemfile (#31)
* KITCHEN: Remove kitchen group from Gemfile,
revert this change when required

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* LINT: Remove trailing whitespace

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-04-25 09:27:21 -04:00
Vasundhara Jagdale
c9f935489e
Try adding artifactory as git source for chef-licensing (#25)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-03-16 13:23:16 -04:00
Vasundhara Jagdale
acf97be56e
RAKE TEST: Fix rake task for docs:cli (#6437)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Co-authored-by: Sonu Saha <sonu.saha@progress.com>
2023-02-27 11:48:08 +05:30
Nikita Mathur
f619a1d69e
Update chefstyle from 2.0.x to 2.2.2 to use RuboCop 1.25.1 (#6240) (#6458)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
Co-authored-by: Takuya N <takninnovationresearch@gmail.com>
2023-02-24 15:35:49 +05:30
Vasundhara Jagdale
8e429571a6
Fix Ruby 2.7 Bundle Installs on CI Verify Pipeline (#6324) (#6446)
* We will never be on 2.6 again



* Only run html-proofer test on Ruby 3



* Pin to chef 16 on ruby 2.7, 17+ on Ruby 3

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-02-24 15:03:59 +05:30
Vasu1105
28c505b1a7 CFINSPEC-400 Fix for verify pipeline failure
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-07-27 18:03:53 +05:30
Nikita Mathur
6fafd446b1 Pinning minitest to 5.15.0 to fix build issue
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-27 21:07:32 +05:30
Clinton Wolfe
042e813623 Configure SimpleCov to no longer use at_exit hack; use JSON reporter
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-02-06 22:09:38 -05:00
Tim Smith
48ff852289 Remove support for EOL Ruby 2.5
With the release of Ruby 3.1, Ruby 2.5 is now EOL. We should not be supporting an EOL release of Ruby.

Signed-off-by: Tim Smith <tsmith@chef.io>
2021-12-31 22:54:53 -05:00
Nikita Mathur
f2bbf622b8 Active support version fix for ruby versions less then 2.7
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-16 13:46:26 +05:30
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