summaryrefslogtreecommitdiff
path: root/.expeditor
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2020-01-28 15:58:50 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2020-01-28 15:58:50 -0800
commit43f6d73e3a2728ba93dfb051172f19962aa23c43 (patch)
treef2e143b8504e9b729959e3cdfc1312959939c4c2 /.expeditor
parent7ed728730efae7a7f0cc532316fa11b79fe2f873 (diff)
downloadchef-43f6d73e3a2728ba93dfb051172f19962aa23c43.tar.gz
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 <lamont@scriptkiddie.org>
Diffstat (limited to '.expeditor')
-rw-r--r--.expeditor/verify.pipeline.yml51
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: