summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-10-30 20:57:19 -0700
committerTim Smith <tsmith84@gmail.com>2021-01-20 14:24:56 -0800
commit786a17d93f8558490d07d185aaa1ffa24eb064fe (patch)
tree7b8a836bdf8c57ad4d6253bfabd9d3880e97efbc
parentd53190b926a4732811f4dbea632850660443c1ef (diff)
downloadchef-ruby3.tar.gz
Add Ruby 3 testing on Ubuntu 20.04ruby3
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--.expeditor/verify.pipeline.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml
index 661017c0c1..dfd5eed033 100644
--- a/.expeditor/verify.pipeline.yml
+++ b/.expeditor/verify.pipeline.yml
@@ -97,6 +97,17 @@ steps:
image: rubydistros/ubuntu-20.04:2.7
privileged: true
+- label: "Integration Ubuntu 20.04 :ruby: 3.0"
+ commands:
+ - /workdir/scripts/bk_tests/bk_container_prep.sh
+ - cd /workdir; bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package
+ - bundle exec rake spec:integration
+ expeditor:
+ executor:
+ docker:
+ image: rubydistros/ubuntu-20.04:3.0
+ privileged: true
+
- label: "Functional Ubuntu 20.04 :ruby: 2.7"
commands:
- /workdir/.expeditor/scripts/bk_container_prep.sh
@@ -110,6 +121,19 @@ steps:
image: rubydistros/ubuntu-20.04:2.7
privileged: true
+- label: "Functional Ubuntu 20.04 :ruby: 3.0"
+ commands:
+ - /workdir/scripts/bk_tests/bk_container_prep.sh
+ - apt-get update -y
+ - apt-get install -y cron locales # needed for functional tests to pass
+ - cd /workdir; bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package ruby_prof
+ - bundle exec rake spec:functional
+ expeditor:
+ executor:
+ docker:
+ image: rubydistros/ubuntu-20.04:3.0
+ privileged: true
+
- label: "Unit Ubuntu 20.04 :ruby: 2.7"
commands:
- /workdir/.expeditor/scripts/bk_container_prep.sh
@@ -121,6 +145,17 @@ steps:
docker:
image: rubydistros/ubuntu-20.04:2.7
+- label: "Unit Ubuntu 20.04 :ruby: 3.0"
+ commands:
+ - /workdir/scripts/bk_tests/bk_container_prep.sh
+ - bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package ruby_prof
+ - bundle exec rake spec:unit
+ - bundle exec rake component_specs
+ expeditor:
+ executor:
+ docker:
+ image: rubydistros/ubuntu-20.04:3.0
+
- label: "Integration CentOS 7 :ruby: 2.7"
commands:
- /workdir/.expeditor/scripts/bk_container_prep.sh