diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-12-20 22:23:36 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2022-01-04 16:03:18 -0800 |
commit | b72bfd88cda3170edb4c523eac59114783da2353 (patch) | |
tree | c35ac270dd1416bcca92bb36ca984643f202aa3c | |
parent | dd21c250522777d71c8f1389e98c760e8728a140 (diff) | |
download | chef-b72bfd88cda3170edb4c523eac59114783da2353.tar.gz |
Add Ruby 2.7 and Ruby 3.1 testing
Fill out our testing a bit
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | .expeditor/verify.pipeline.yml | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml index daa9d0025e..5edc979717 100644 --- a/.expeditor/verify.pipeline.yml +++ b/.expeditor/verify.pipeline.yml @@ -42,6 +42,36 @@ steps: image: rubydistros/ubuntu-18.04:2.6 ######################################################################### + # Tests Ruby 2.7 +######################################################################### + +- label: "chef-utils Unit :ruby: 2.7" + commands: + - /workdir/.expeditor/scripts/bk_container_prep.sh + - cd chef-utils + - bundle config set --local without omnibus_package + - bundle config set --local path 'vendor/bundle' + - bundle install --jobs=3 --retry=3 + - bundle exec rake spec + expeditor: + executor: + docker: + image: rubydistros/ubuntu-18.04:2.7 + +- label: "chef-config Unit :ruby: 2.7" + commands: + - /workdir/.expeditor/scripts/bk_container_prep.sh + - cd chef-config + - bundle config set --local without omnibus_package + - bundle config set --local path 'vendor/bundle' + - bundle install --jobs=3 --retry=3 + - bundle exec rake spec + expeditor: + executor: + docker: + image: rubydistros/ubuntu-18.04:2.7 + +######################################################################### # Tests Ruby 3.0 ######################################################################### @@ -297,6 +327,53 @@ steps: shell: ["powershell", "-Command"] ######################################################################### + # Tests Ruby 3.1 +######################################################################### + +- label: "Integration Ubuntu 20.04 :ruby: 3.1" + commands: + - /workdir/.expeditor/scripts/bk_container_prep.sh + - cd /workdir; bundle config set --local without omnibus_package + - bundle config set --local path 'vendor/bundle' + - bundle install --jobs=3 --retry=3 + - bundle exec rake spec:integration + expeditor: + executor: + docker: + image: rubydistros/ubuntu-20.04:3.1 + privileged: true + +- label: "Functional Ubuntu 20.04 :ruby: 3.1" + commands: + - /workdir/.expeditor/scripts/bk_container_prep.sh + - apt-get update -y + - apt-get install -y cron locales libarchive-dev # needed for functional tests to pass + - cd /workdir; bundle config set --local without omnibus_package + - bundle config set --local path 'vendor/bundle' + - bundle install --jobs=3 --retry=3 + - bundle exec rake spec:functional + expeditor: + executor: + docker: + image: rubydistros/ubuntu-20.04:3.1 + privileged: true + +- label: "Unit Ubuntu 20.04 :ruby: 3.1" + commands: + - /workdir/.expeditor/scripts/bk_container_prep.sh + - apt-get update -y + - apt-get install -y libarchive-dev + - bundle config set --local without omnibus_package + - bundle config set --local path 'vendor/bundle' + - bundle install --jobs=3 --retry=3 + - bundle exec rake spec:unit + - bundle exec rake component_specs + expeditor: + executor: + docker: + image: rubydistros/ubuntu-20.04:3.1 + +######################################################################### # EXTERNAL GEM TESTING ######################################################################### |