summaryrefslogtreecommitdiff
path: root/kitchen-tests/.kitchen.travis.yml
blob: b8c486105bc8dbb6cd11de9c0f16b2347b624e40 (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
41
---
driver:
  name: ec2
  aws_ssh_key_id: <%= ENV['AWS_KEYPAIR_NAME'] %>
  region: "us-west-2"
  availability_zone: "us-west-2a"
  security_group_ids: ["travis-ci"]
  instance_type: "m3.medium"

provisioner:
  name: chef_github
  chef_omnibus_url: "https://omnitruck.chef.io/current/install.sh"
  chef_omnibus_install_options: "-n"
  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-14.04
    driver:
      # http://cloud-images.ubuntu.com/locator/ec2/
      # 14.04 amd64 us-west-2 hvm:ebs-ssd
      image_id: ami-63ac5803
  - name: centos-6
    driver:
      image_id: ami-05cf2265  

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