mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
a7363ca867
* 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>
58 lines
1.8 KiB
Ruby
58 lines
1.8 KiB
Ruby
# For Chef internal builds, allows preview versions of gems if available.
|
|
if ENV["ARTIFACTORY_BASE_URL"]
|
|
source ENV["ARTIFACTORY_BASE_URL"] + "/artifactory/api/gems/omnibus-gems-local/" do
|
|
# TODO: either fully populate this list, or revert back to non-block format
|
|
# to sweep all Chef gems from Artifactory.
|
|
gem "chef-licensing"
|
|
end
|
|
end
|
|
|
|
source "https://rubygems.org"
|
|
|
|
gem "inspec", path: "."
|
|
|
|
# This dependency is NOT used for normal gem deployment
|
|
# - instead, inspec-bin gemspec-depends on inspec
|
|
#
|
|
# However, AppBundler requires a top-level Gemfile.lock with inspec-bin
|
|
# in it in order to package the executable. Hence the odd backwards dependency.
|
|
gem "inspec-bin", path: "./inspec-bin"
|
|
|
|
gem "ffi", ">= 1.9.14", "!= 1.13.0", "!= 1.14.2"
|
|
|
|
# inspec tests depend text output that changed in the 3.10 release
|
|
# but our runtime dep is still 3.9+
|
|
gem "rspec", ">= 3.10"
|
|
|
|
group :omnibus do
|
|
gem "rb-readline"
|
|
gem "appbundler"
|
|
gem "ed25519" # ed25519 ssh key support done here as its a native gem we can't put in the gemspec
|
|
gem "bcrypt_pbkdf" # ed25519 ssh key support done here as its a native gem we can't put in the gemspec
|
|
end
|
|
|
|
group :test do
|
|
gem "chefstyle", "~> 2.2.2"
|
|
gem "concurrent-ruby", "~> 1.0"
|
|
gem "json_schemer", ">= 0.2.1", "< 0.2.19"
|
|
gem "m"
|
|
gem "minitest-sprint", "~> 1.0"
|
|
gem "minitest", "5.15.0"
|
|
gem "mocha", "~> 1.1"
|
|
gem "nokogiri", "~> 1.9"
|
|
gem "pry-byebug"
|
|
gem "pry", "~> 0.10"
|
|
gem "rake", ">= 10"
|
|
gem "simplecov", "~> 0.21"
|
|
gem "simplecov_json_formatter"
|
|
gem "webmock", "~> 3.0"
|
|
|
|
if Gem.ruby_version >= Gem::Version.new("3.0.0")
|
|
# html-proofer has a dep on io-event, which is ruby-3 only
|
|
gem "html-proofer", "~> 3.19.4", platforms: :ruby # do not attempt to run proofer on windows. Pinned to 3.19.4 as test is breaking in updated versions.
|
|
end
|
|
end
|
|
|
|
group :deploy do
|
|
gem "inquirer"
|
|
end
|