From 43f6d73e3a2728ba93dfb051172f19962aa23c43 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Tue, 28 Jan 2020 15:58:50 -0800 Subject: Add ruby 2.7 testing bumps to bundler 2.1.2 and rubygems 3.1.2 because ruby 2.7 comes with those Signed-off-by: Lamont Granquist --- .expeditor/verify.pipeline.yml | 51 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) (limited to '.expeditor') diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml index 74a0975a3a..b33309b590 100644 --- a/.expeditor/verify.pipeline.yml +++ b/.expeditor/verify.pipeline.yml @@ -244,6 +244,56 @@ steps: docker: image: rubydistros/ubuntu-18.04 +######################################################################### +# Tests Ruby 2.7 +######################################################################### + +- label: "Integration Specs :ruby: 2.7" + commands: + - /workdir/scripts/bk_tests/bk_container_prep.sh + - bundle install --jobs=3 --retry=3 --without omnibus_package docgen + - bundle exec rake spec:integration + expeditor: + executor: + docker: + image: ruby:2.7-buster + privileged: true + environment: + - FORCE_FFI_YAJL=ext + - CHEF_LICENSE=accept-no-persist + - INTEGRATION_SPECS_27=1 +# +- label: "Functional Specs :ruby: 2.7" + commands: + - /workdir/scripts/bk_tests/bk_container_prep.sh + - apt-get install -y cron locales net-tools # needed for functional tests to pass + - bundle install --jobs=3 --retry=3 --without omnibus_package docgen + - bundle exec rake spec:functional + expeditor: + executor: + docker: + image: ruby:2.7-buster + privileged: true + environment: + - FORCE_FFI_YAJL=ext + - CHEF_LICENSE=accept-no-persist + - FUNCTIONAL_SPECS_27=1 + +- label: "Unit Specs :ruby: 2.7" + commands: + - /workdir/scripts/bk_tests/bk_container_prep.sh + - bundle install --jobs=3 --retry=3 --without omnibus_package docgen + - bundle exec rake spec:unit + - bundle exec rake component_specs + expeditor: + executor: + docker: + image: ruby:2.7-buster + environment: + - FORCE_FFI_YAJL=ext + - CHEF_LICENSE=accept-no-persist + - UNIT_SPECS_27=1 + ######################################################################### # EXTERNAL GEM TESTING ######################################################################### @@ -305,6 +355,7 @@ steps: commands: - /workdir/scripts/bk_tests/bk_container_prep.sh - apt-get install -y graphviz + - gem install bundler -v 1.17.3 # necessary for berks Gemfile.lock for now - bundle install --jobs=3 --retry=3 --without omnibus_package docgen - bundle exec tasks/bin/run_external_test berkshelf/berkshelf master rake expeditor: -- cgit v1.2.1