---
expeditor:
  defaults:
    buildkite:
      retry:
        automatic:
          limit: 1
      timeout_in_minutes: 30

steps:
- label: lint-chefstyle
  command:
    - .expeditor/run_linux_tests.sh "rake style"
  expeditor:
    executor:
      docker:

- label: run-ohai
  command:
    - .expeditor/run_linux_tests.sh "bundle exec ohai"
  expeditor:
    executor:
      docker:

- label: run-specs-ruby-2.5
  command:
    - .expeditor/run_linux_tests.sh rspec
  expeditor:
    executor:
      docker:
        image: ruby:2.5-buster

- label: run-specs-ruby-2.6
  command:
    - .expeditor/run_linux_tests.sh rspec
  expeditor:
    executor:
      docker:
        image: ruby:2.6-buster

- label: run-specs-windows
  command:
    - bundle install --jobs=7 --retry=3 --without docs debug
    - bundle exec rake spec
  expeditor:
    executor:
      docker:
        host_os: windows

---
expeditor:
  defaults:
    buildkite:
      retry:
        automatic:
          limit: 1
      timeout_in_minutes: 30

steps:
- label: lint-chefstyle
  command:
    - .expeditor/run_linux_tests.sh "rake style"
  expeditor:
    executor:
      docker:
        image: ruby:2.6-buster

- label: run-ohai
  command:
    - .expeditor/run_linux_tests.sh "bundle exec ohai"
  expeditor:
    executor:
      docker:
        image: ruby:2.6-buster

- label: run-specs-ruby-2.5
  command:
    - .expeditor/run_linux_tests.sh rspec
  expeditor:
    executor:
      docker:
        image: ruby:2.5-buster

- label: run-specs-ruby-2.6
  command:
    - .expeditor/run_linux_tests.sh rspec
  expeditor:
    executor:
      docker:
        image: ruby:2.6-buster

- label: run-specs-windows
  command:
    - bundle install --jobs=7 --retry=3 --without docs debug
    - bundle exec rake spec
  expeditor:
    executor:
      docker:
        host_os: windows

Use the smaller containers everywhere
Use the smaller containers everywhere

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
