summaryrefslogtreecommitdiff
path: root/kitchen-tests/.kitchen.travis.yml
blob: 15795e033a8384adb781cf1a2be3f6fa7db683fe (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
---
driver_config:
  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'] %>
  iam_profile_name: <%= ENV['IAM_PROFILE_NAME'] %>

provisioner:
  name: chef_zero
  github: <%= ENV['TRAVIS_REPO_SLUG'] %>
  branch: <%= ENV['TRAVIS_COMMIT'] %>
  require_chef_omnibus: 12.0.0-rc.2
  data_path: test/fixtures
# disable file provider diffs so we don't overflow travis' line limit
  client_rb:
    diff_disabled: true

platforms:
  - name: ubuntu-12.04
    driver_plugin: ec2
    driver_config:
      region: "us-west-2"
      availability_zone: "us-west-2a"
      ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
      security_group_ids: ["travis-ci"]
  - name: centos-6.4
    driver_plugin: ec2
    driver_config:
      region: "us-west-2"
      availability_zone: "us-west-2a"
      ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
      security_group_ids: ["travis-ci"]

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