summaryrefslogtreecommitdiff
path: root/kitchen-tests/.kitchen.travis.yml
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-08-06 14:19:17 -0700
committerClaire McQuin <claire@getchef.com>2014-08-13 09:21:20 -0700
commit730a41775850f22bf76cc60ce31065d2bfc6b3fe (patch)
tree44d38344c1f6e5b808154ed565ecab6edfa1ebfd /kitchen-tests/.kitchen.travis.yml
parent0bbddd62b0c65781eacd43f2ca3334a1ed23c09e (diff)
downloadchef-730a41775850f22bf76cc60ce31065d2bfc6b3fe.tar.gz
Remove kitchen tests from spec/ directory, so tests can be run separately.
Diffstat (limited to 'kitchen-tests/.kitchen.travis.yml')
-rw-r--r--kitchen-tests/.kitchen.travis.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/kitchen-tests/.kitchen.travis.yml b/kitchen-tests/.kitchen.travis.yml
new file mode 100644
index 0000000000..6ea825fc12
--- /dev/null
+++ b/kitchen-tests/.kitchen.travis.yml
@@ -0,0 +1,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: