From 476506b5e9a9209a4ef2e852c79a9fee9781c895 Mon Sep 17 00:00:00 2001 From: "m.colonna" Date: Fri, 15 Dec 2023 09:27:34 +0100 Subject: [PATCH] Disable kitchen tests in CI Default configuration was for containers, this does not make sense here as we need to test kernel modules. --- .github/workflows/criteo-cookbooks-ci.yml | 13 ------- .kitchen.docker.yml | 44 ----------------------- 2 files changed, 57 deletions(-) delete mode 100644 .kitchen.docker.yml diff --git a/.github/workflows/criteo-cookbooks-ci.yml b/.github/workflows/criteo-cookbooks-ci.yml index 1f0775e..b966cdb 100644 --- a/.github/workflows/criteo-cookbooks-ci.yml +++ b/.github/workflows/criteo-cookbooks-ci.yml @@ -22,19 +22,6 @@ jobs: - run: bundle exec foodcritic --version - run: bundle exec foodcritic . --exclude spec -f any - run: bundle exec rspec - kitchen: - needs: [rspec] - runs-on: ubuntu-latest - strategy: - matrix: - instance: ['default-centos-7', 'default-ubuntu-2004', 'default-fedora-29'] - steps: - - uses: actions/checkout@v2 - - uses: ruby/setup-ruby@v1 - with: - ruby-version: 2.7 - bundler-cache: true - - run: KITCHEN_LOCAL_YAML=.kitchen.docker.yml bundle exec kitchen verify ${{ matrix.instance }} supermarket: runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/') diff --git a/.kitchen.docker.yml b/.kitchen.docker.yml deleted file mode 100644 index 2390c8a..0000000 --- a/.kitchen.docker.yml +++ /dev/null @@ -1,44 +0,0 @@ -# Usage: KITCHEN_YAML=.kitchen.docker.yml bundle exec kitchen list ---- -driver: - name: dokken - chef_version: 14.7.17 - privileged: true # because Docker and SystemD/Upstart - -transport: - name: dokken - -provisioner: - name: dokken - chef_license: accept - -verifier: - name: inspec - -platforms: -- name: centos-7 - driver: - image: dokken/centos-7 - intermediate_instructions: - - RUN yum clean all - - RUN yum -y install net-tools lsof - pid_one_command: /usr/lib/systemd/systemd - -- name: fedora-29 - driver: - image: fedora:29 - intermediate_instructions: - - RUN yum clean all - - RUN yum -y install tar yum - pid_one_command: /usr/lib/systemd/systemd - -- name: ubuntu-20.04 - driver: - image: dokken/ubuntu-20.04 - pid_one_command: /bin/systemd - intermediate_instructions: - - RUN /usr/bin/apt-get update - - RUN /usr/bin/apt-get install apt-transport-https net-tools curl -y - -suites: -<%= require 'erubis'; Erubis::Eruby.new(File.read('.kitchen_suites.yml')).evaluate %>