summaryrefslogtreecommitdiff
path: root/ci/verify-chef.sh
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-06-26 20:55:07 -0700
committerTim Smith <tsmith@chef.io>2018-06-26 20:55:07 -0700
commitab74e1b5f5d3a92475aaa4492c8e6fa12d76fc55 (patch)
tree9cbf469df0a36ad83549379c728eb3ca0e49c381 /ci/verify-chef.sh
parent4e39c729c5981067c028bd3abcb50b066d760a28 (diff)
downloadchef-ab74e1b5f5d3a92475aaa4492c8e6fa12d76fc55.tar.gz
Remove the existing acceptance testing frameworkkill-acceptance
We haven't used this framework for 2 major releases of Chef and as time goes on it's more and more likely we'll build something very different for testing. We 100% do need acceptance testing, but between dokken testing in Travis and the potential for more complex integration testing with build-kite I think we should do the proper cleanup and remove this code now. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'ci/verify-chef.sh')
-rwxr-xr-xci/verify-chef.sh27
1 files changed, 2 insertions, 25 deletions
diff --git a/ci/verify-chef.sh b/ci/verify-chef.sh
index 3a9bcf2111..3db37a5cf6 100755
--- a/ci/verify-chef.sh
+++ b/ci/verify-chef.sh
@@ -94,29 +94,6 @@ gem_list=`gem which chef`
lib_dir=`dirname $gem_list`
CHEF_GEM=`dirname $lib_dir`
-# ACCEPTANCE environment variable will be set on acceptance testers.
-# If is it set; we run the acceptance tests, otherwise run rspec tests.
-if [ "x$ACCEPTANCE" != "x" ]; then
- # Find the Chef gem and cd there.
- PATH=$OLD_PATH
-
- # On acceptance testers we have Chef DK. We will use its Ruby environment
- # to cut down the gem installation time.
- PATH=/opt/chefdk/bin:/opt/chefdk/embedded/bin:$PATH
- export PATH
-
- # copy acceptance suites into workspace
- SUITE_PATH=$WORKSPACE/acceptance
- mkdir -p $SUITE_PATH
- cp -R $CHEF_GEM/acceptance/. $SUITE_PATH
- sudo chown -R $USER:$USER $SUITE_PATH
-
- cd $SUITE_PATH
-
- env PATH=$PATH AWS_SSH_KEY_ID=$AWS_SSH_KEY_ID bundle install --deployment
- env PATH=$PATH AWS_SSH_KEY_ID=$AWS_SSH_KEY_ID KITCHEN_DRIVER=ec2 KITCHEN_CHEF_CHANNEL=unstable bundle exec chef-acceptance test --force-destroy --data-path $WORKSPACE/chef-acceptance-data
-else
- cd $CHEF_GEM
- sudo bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o $WORKSPACE/test.xml -f documentation spec/functional
-fi
+cd $CHEF_GEM
+sudo bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o $WORKSPACE/test.xml -f documentation spec/functional