steps:

- label: run-packer-validate
  command:
    - bundle install
    - wget https://releases.hashicorp.com/packer/1.6.0/packer_1.6.0_linux_amd64.zip
    - unzip -d /usr/local/bin packer_1.6.0_linux_amd64.zip
    - rake validate
  expeditor:
    executor:
      docker:
        image: ruby:2.6-stretch

- label: windows-build-cookbook-cookstyle
  command:
    - bundle install
    - bundle exec cookstyle packer_templates/windows/cookbooks
  expeditor:
    executor:
      docker:
        image: ruby:2.6-stretch

steps:

- label: run-packer-validate
  command:
    - bundle install
    - wget https://releases.hashicorp.com/packer/1.6.1/packer_1.6.1_linux_amd64.zip
    - unzip -d /usr/local/bin packer_1.6.1_linux_amd64.zip
    - rake validate
  expeditor:
    executor:
      docker:
        image: ruby:2.7-buster

- label: windows-build-cookbook-cookstyle
  command:
    - bundle install
    - bundle exec cookstyle packer_templates/windows/cookbooks
  expeditor:
    executor:
      docker:
        image: ruby:2.7-buster

Update tests to use the latest packer
Update tests to use the latest packer

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