blob: 2c3de60108adcc3a69b84ecdbd6fb07cc2f454a6 (
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
42
|
---
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"]
instance_type: "m3.medium"
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/
# 12.04 amd64 us-west-2 hvm:ssd
image_id: ami-f3635fc3
- 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:
|