summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-10-26 19:27:31 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2018-10-26 19:27:31 -0700
commitab4682a0b4b0bab39039c69161fa868b970802e0 (patch)
treec68371b426ea3f1f4b10fa2e0fc57978ad71d25b
parente695014e818d8ef9bbfbd3157f9973c412580431 (diff)
downloadchef-ab4682a0b4b0bab39039c69161fa868b970802e0.tar.gz
add GEMFILE_MOD to pin ohai to github masterlcg/fix-external-tests
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rwxr-xr-xtasks/bin/run_external_test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/bin/run_external_test b/tasks/bin/run_external_test
index 01eba18943..5f1ac8f210 100755
--- a/tasks/bin/run_external_test
+++ b/tasks/bin/run_external_test
@@ -13,7 +13,7 @@ git_thing = ARGV.shift
build_dir = File.expand_path(ENV["TRAVIS_BUILD_DIR"] || Dir.pwd)
-env = { "GEMFILE_MOD" => "gem 'chef', path: '#{build_dir}'" }
+env = { "GEMFILE_MOD" => "gem 'chef', path: '#{build_dir}'; gem 'ohai', git: 'https://github.com/chef/ohai.git', branch: 'master'" }
Dir.mktmpdir("chef-external-test") do |dir|
git_url = "https://github.com/#{github_repo}"