summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-12-29 12:01:10 -0800
committerTim Smith <tsmith84@gmail.com>2020-12-29 12:01:10 -0800
commitc29ed881df59dba0d6a55d71f00689703425e5d1 (patch)
tree64e5cadeab1c1ed556cefb7536426a4f8122d02e
parent4bebeb28240c1d472d11282d0c30563f3b993ca5 (diff)
downloadchef-c29ed881df59dba0d6a55d71f00689703425e5d1.tar.gz
Add Test Kitchen testing for Debian 11
This release is not out yet, but we have containers for it now. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--.expeditor/verify.pipeline.yml15
-rw-r--r--kitchen-tests/kitchen.yml8
2 files changed, 23 insertions, 0 deletions
diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml
index 56c1ec7016..242e87e891 100644
--- a/.expeditor/verify.pipeline.yml
+++ b/.expeditor/verify.pipeline.yml
@@ -454,6 +454,21 @@ steps:
privileged: true
single-use: true
+- label: "Kitchen: Debian 11"
+ commands:
+ - .expeditor/scripts/bk_linux_exec.sh
+ - cd kitchen-tests
+ - /opt/omnibus-toolchain/bin/bundle exec kitchen test end-to-end-debian-11
+ artifact_paths:
+ - $PWD/.kitchen/logs/kitchen.log
+ env:
+ KITCHEN_YAML: kitchen.yml
+ expeditor:
+ executor:
+ linux:
+ privileged: true
+ single-use: true
+
- label: "Kitchen: CentOS 6"
commands:
- .expeditor/scripts/bk_linux_exec.sh
diff --git a/kitchen-tests/kitchen.yml b/kitchen-tests/kitchen.yml
index d3be98dfc4..d1780f94f2 100644
--- a/kitchen-tests/kitchen.yml
+++ b/kitchen-tests/kitchen.yml
@@ -55,6 +55,14 @@ platforms:
- RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get install ifupdown -y # we need this for /etc/network/interfaces & ifconfig resource
+- name: debian-11
+ driver:
+ image: dokken/debian-11
+ pid_one_command: /bin/systemd
+ intermediate_instructions:
+ - RUN /usr/bin/apt-get update
+ - RUN /usr/bin/apt-get install ifupdown -y # we need this for /etc/network/interfaces & ifconfig resource
+
- name: centos-6
driver:
image: dokken/centos-6