summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJaymala Sinha <jsinha@chef.io>2019-04-11 12:08:33 -0400
committerJaymala Sinha <jsinha@chef.io>2019-04-11 15:37:16 -0400
commit544fca80af17e53f64c8b59c29b9431042c2f4df (patch)
tree39af19907f5c6c4d7c57866ac964f0b036d6de20 /scripts
parent0c2be39a02445ae1c0acbe1a22cd6a2c101ba385 (diff)
downloadchef-544fca80af17e53f64c8b59c29b9431042c2f4df.tar.gz
Add Verification tests in Buildkitejsinha/migrate_verify_bk
Signed-off-by: Jaymala Sinha <jsinha@chef.io>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/bk_tests/bk_install.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/bk_tests/bk_install.sh b/scripts/bk_tests/bk_install.sh
new file mode 100644
index 0000000000..87b6f61ff3
--- /dev/null
+++ b/scripts/bk_tests/bk_install.sh
@@ -0,0 +1,10 @@
+gem update --system $(grep rubygems omnibus_overrides.rb | cut -d'"' -f2)
+gem --version
+gem uninstall bundler -a -x || true
+gem install bundler -v $(grep :bundler omnibus_overrides.rb | cut -d'"' -f2)
+bundle --version
+rm -f .bundle/config
+bundle install --without ci docgen guard integration maintenance omnibus_package --frozen
+# force all .rspec tests into progress display to reduce line count
+echo --color > .rspec
+echo -fp >> .rspec