diff options
author | Tim Smith <tsmith84@gmail.com> | 2019-10-02 20:27:04 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2019-10-02 20:45:33 -0700 |
commit | 9672bd7956eadeb438aa67dba38430e0ca1935d5 (patch) | |
tree | 54705e5d6acd3afa65624b29c08d8399bb79518c | |
parent | a5f803ac2a59a707291c3fe5c5f1b06fe3c51087 (diff) | |
download | chef-centos8.tar.gz |
Add CentOS 8 kitchen testing to buildkitecentos8
Validate each PR against a Test Kitchen run on CentOS 8
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | .expeditor/verify.pipeline.yml | 15 | ||||
-rw-r--r-- | kitchen-tests/kitchen.yml | 8 |
2 files changed, 23 insertions, 0 deletions
diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml index 05fceee126..248bcaa31e 100644 --- a/.expeditor/verify.pipeline.yml +++ b/.expeditor/verify.pipeline.yml @@ -491,6 +491,21 @@ steps: privileged: true single-use: true +- label: "Kitchen Tests CentOS: 8" + commands: + - scripts/bk_tests/bk_linux_exec.sh + - cd kitchen-tests + - ~/.asdf/shims/bundle exec kitchen test end-to-end-centos-8 + artifact_paths: + - $PWD/.kitchen/logs/kitchen.log + env: + KITCHEN_YAML: kitchen.yml + expeditor: + executor: + linux: + privileged: true + single-use: true + - label: "Kitchen Tests Oracle Linux: 6" commands: - scripts/bk_tests/bk_linux_exec.sh diff --git a/kitchen-tests/kitchen.yml b/kitchen-tests/kitchen.yml index ffea0220e5..c640325a2b 100644 --- a/kitchen-tests/kitchen.yml +++ b/kitchen-tests/kitchen.yml @@ -83,6 +83,14 @@ platforms: - RUN yum -y install e2fsprogs - RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers +- name: centos-8 + driver: + image: dokken/centos-8 + pid_one_command: /usr/lib/systemd/systemd + intermediate_instructions: + - RUN yum -y install e2fsprogs + - RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers + - name: oraclelinux-6 driver: image: dokken/oraclelinux-6 |