Skip to content

Commit

Permalink
Update platforms
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Webb <[email protected]>
  • Loading branch information
damacus committed Nov 14, 2023
1 parent 17e4123 commit 5036c0d
Show file tree
Hide file tree
Showing 6 changed files with 403 additions and 355 deletions.
33 changes: 29 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,17 @@ jobs:

integration-linux:
name: Linux ${{matrix.suite}} ${{matrix.os}}
runs-on: windows-latest
runs-on: ubuntu-latest
needs: unit
strategy:
fail-fast: false
matrix:
suite: [default, context, capabilities, arm64, amd64, inspec]
suite:
- default
- no_build_context
- arm64
- amd64
- inspec
os:
- amazonlinux-2
- ubuntu-18.04
Expand All @@ -83,8 +88,8 @@ jobs:
- centos-8
- oraclelinux-7
- rockylinux-8
- debian-9
- debian-10
- debian-11
- debian-12
- opensuse-15
- dockerfile
steps:
Expand All @@ -96,3 +101,23 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- run: bundle exec kitchen test ${{ matrix.suite }}-${{ matrix.os }}

integration-capabilities:
name: Linux ${{matrix.suite}} ${{matrix.os}}
runs-on: ubuntu-latest
needs: unit
strategy:
fail-fast: false
matrix:
suite:
- capabilities
os: [debian-11, ubuntu-18.04, ubuntu-20.04]
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
bundler-cache: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- run: bundle exec kitchen test ${{ matrix.suite }}-${{ matrix.os }}
10 changes: 10 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require:
- chefstyle

AllCops:
TargetRubyVersion: 3.1
Include:
- "**/*.rb"
Exclude:
- "vendor/**/*"
- "spec/**/*"
9 changes: 3 additions & 6 deletions kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ platforms:
- name: centos-7
- name: oraclelinux-7
- name: rockylinux-8
- name: debian-9
- name: debian-10
- name: debian-11
- name: debian-12
- name: opensuse-15
driver:
image: opensuse/leap:15
Expand All @@ -38,9 +38,7 @@ platforms:

suites:
- name: default
excludes: [arch, debian-9]
- name: context
excludes: [arch, debian-9]
- name: no_build_context
driver:
build_context: false
- name: capabilities
Expand All @@ -52,7 +50,6 @@ suites:
cap_drop:
- NET_ADMIN
- name: arm64
excludes: [debian-9]
driver:
docker_platform: linux/arm64
- name: amd64
Expand Down
Loading

0 comments on commit 5036c0d

Please sign in to comment.