summaryrefslogtreecommitdiff
path: root/kitchen-tests/.kitchen.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'kitchen-tests/.kitchen.travis.yml')
-rw-r--r--kitchen-tests/.kitchen.travis.yml41
1 files changed, 22 insertions, 19 deletions
diff --git a/kitchen-tests/.kitchen.travis.yml b/kitchen-tests/.kitchen.travis.yml
index 15795e033a..2c3de60108 100644
--- a/kitchen-tests/.kitchen.travis.yml
+++ b/kitchen-tests/.kitchen.travis.yml
@@ -1,35 +1,38 @@
---
-driver_config:
+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'] %>
- iam_profile_name: <%= ENV['IAM_PROFILE_NAME'] %>
+ region: "us-west-2"
+ availability_zone: "us-west-2a"
+ security_group_ids: ["travis-ci"]
+ instance_type: "m3.medium"
provisioner:
- name: chef_zero
- github: <%= ENV['TRAVIS_REPO_SLUG'] %>
- branch: <%= ENV['TRAVIS_COMMIT'] %>
- require_chef_omnibus: 12.0.0-rc.2
+ 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_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"]
+ 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