summaryrefslogtreecommitdiff
path: root/kitchen-tests/.kitchen.travis.yml
blob: 6ea825fc1208907387120d66bc235fbf3de610eb (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_solo
  github: <%= ENV['TRAVIS_REPO_SLUG'] %>
  branch: <%= ENV['TRAVIS_COMMIT'] %>
  require_chef_omnibus: true
  data_path: test/fixtures

platforms:
  - name: ubuntu-12.04
    driver_plugin: ec2
    driver_config:
      region: "us-west-2"
      availability_zone: "us-west-2b"
      ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
      security_group_ids: ["travis-ci"]
  - name: rhel-7.0
    driver_plugin: ec2
    driver_config:
      region: "us-west-2"
      availability_zone: "us-west-2b"
      ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
      security_group_ids: ["travis-ci"]
      image_id: ami-77d7a747
      flavor_id: m3.medium
      username: ec2-user

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