Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several features (AWS CloudFormation Support, IAM Support, Kinesis, DynamoDB, and local auth options) #172

Merged
merged 14 commits into from
Mar 19, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 49 additions & 61 deletions .kitchen.cloud.yml
Original file line number Diff line number Diff line change
@@ -1,88 +1,44 @@
---
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'] %>
availability_zone: <%= ENV['AWS_AVAILABILITY_ZONE'] %>
iam_profile_name: ChefKitchenTestAws
aws_ssh_key_id: chef-kitchen-test-aws
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file needs to get updated with the contents of the latest file in master. I've updated all the boxes to the latest released and made sure we test on RHEL platforms as well. Also we need to make sure that any driver config is configurable and works for any users. We need to be able to set these in travis at some point so we can test on each PR.


provisioner:
name: chef_zero
require_chef_omnibus: 11.16.0
data_path: test/shared

platforms:
- name: amazon-2014.09
driver_plugin: ec2
driver_config:
image_id: ami-50842d38
username: ec2-user
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
flavor_id: m1.small

- name: ubuntu-12.04
driver_plugin: ec2
driver_config:
image_id: ami-2ccc7a44
username: ubuntu
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
flavor_id: m1.small

- name: ubuntu-12.04-hvm
driver_plugin: ec2
driver_config:
image_id: ami-3ccc7a54
username: ubuntu
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
flavor_id: t2.small

- name: ubuntu-14.04
driver_plugin: ec2
driver_config:
image_id: ami-8caa1ce4
username: ubuntu
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
flavor_id: m1.small

- name: ubuntu-14.04-hvm
driver_plugin: ec2
driver_config:
image_id: ami-9aaa1cf2
username: ubuntu
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
flavor_id: t2.small

- name: amazon-2014.09-hvm
driver_plugin: ec2
driver_config:
image_id: ami-fccc6d94
username: ec2-user
ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>
flavor_id: t2.small
- name: ubuntu-12.04
driver_plugin: ec2

- name: ubuntu-14.04
driver_plugin: ec2

suites:

suites:
- name: default
run_list:
- recipe[aws]
- recipe[aws]

- name: ebs_volume
run_list:
- recipe[aws_test::ebs_volume]
- recipe[aws_test::ebs_volume]
attributes:
aws_test:
key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>

- name: ebs_raid
run_list:
- recipe[aws_test::ebs_raid]
- recipe[aws_test::ebs_raid]
attributes:
aws_test:
key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>

- name: elastic_ip
run_list:
- recipe[aws_test::elastic_ip]
- recipe[aws_test::elastic_ip]
attributes:
aws_test:
key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
Expand All @@ -91,7 +47,7 @@ suites:

- name: elb
run_list:
- recipe[aws_test::elb]
- recipe[aws_test::elb]
attributes:
aws_test:
key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
Expand All @@ -100,15 +56,15 @@ suites:

- name: resource_tag
run_list:
- recipe[aws_test::resource_tag]
- recipe[aws_test::resource_tag]
attributes:
aws_test:
key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>

- name: s3_file
run_list:
- recipe[aws_test::s3_file]
- recipe[aws_test::s3_file]
attributes:
aws_test:
key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
Expand All @@ -118,8 +74,40 @@ suites:

- name: instance_monitoring
run_list:
- recipe[aws_test::instance_monitoring]
- recipe[aws_test::instance_monitoring]
attributes:
aws_test:
key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>

- name: cfn_stack
run_list:
- recipe[aws_test::cfn_stack]

- name: iam_user
run_list:
- recipe[aws_test::iam_user]

- name: iam_group
run_list:
- recipe[aws_test::iam_group]

- name: iam_policy
run_list:
- recipe[aws_test::iam_policy]

- name: iam_role
run_list:
- recipe[aws_test::iam_role]

- name: kinesis_stream
run_list:
- recipe[aws_test::kinesis_stream]

- name: dynamodb_table_create
run_list:
- recipe[aws_test::dynamodb_table_create]

- name: dynamodb_table_update
run_list:
- recipe[aws_test::dynamodb_table_update]
Loading