summaryrefslogtreecommitdiff
path: root/kitchen-tests/.kitchen.travis.yml
blob: 9ad9eebd651172fce39159877066da170fe91452 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
driver:
  name: ec2
  aws_access_key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
  aws_secret_access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
  aws_ssh_key_id: <%= ENV['AWS_KEYPAIR_NAME'] %>
  region: "us-west-2"
  availability_zone: "us-west-2a"
  security_group_ids: ["travis-ci"]

provisioner:
  name: chef_github
  github_owner: "chef"
  github_repo: "chef"
  refname: <%= ENV['TRAVIS_COMMIT'] %>
  github_access_token: <%= ENV['KITCHEN_GITHUB_TOKEN'] %>
  data_path: test/fixtures
# disable file provider diffs so we don't overflow travis' line limit
  client_rb:
    diff_disabled: true

transport:
  ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>

platforms:
  - name: ubuntu-12.04
    driver:
      # http://cloud-images.ubuntu.com/locator/ec2/
      image_id: ami-c15379f1
  - name: rhel-6
    driver:
      # https://github.com/chef/releng-chef-repo/blob/master/script/ci#L93-L96
      image_id: ami-7df0bd4d

suites:
  - name: webapp
    run_list:
      - recipe[apt::default]
      - recipe[webapp::default]
    attributes: