diff options
Diffstat (limited to '.expeditor')
-rw-r--r-- | .expeditor/verify.pipeline.yml | 51 |
1 files changed, 51 insertions, 0 deletions
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 @@ -245,6 +245,56 @@ steps: 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: |