Skip to content

Commit

Permalink
Update .kitchen.cloud.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
zuazo committed Oct 6, 2015
1 parent 489e379 commit 5299b22
Showing 1 changed file with 62 additions and 29 deletions.
91 changes: 62 additions & 29 deletions .kitchen.cloud.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,79 @@
---
driver:
digitalocean_client_id: <%= ENV['DIGITAL_OCEAN_CLIENT_ID'] %>
digitalocean_api_key: <%= ENV['DIGITAL_OCEAN_API_KEY'] %>
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'] %>
ssh:
forward_agent: true
ssh_key: <%= ENV['SSH_AGENT_PID'].nil? ? ENV['EC2_SSH_KEY_PATH'] : nil %>

provisioner:
name: chef_solo
require_chef_omnibus: true

platforms:
- name: centos-6.5
driver:
name: digitalocean
<% unless ENV['DIGITALOCEAN_ACCESS_TOKEN'].empty? %>
- name: centos-5-8-x64
driver_plugin: digitalocean
driver_config:
flavor: 512MB
region: Amsterdam 2
ssh_key_ids: <%= ENV['DIGITAL_OCEAN_SSH_KEY_IDS'] %>
ssh_key: <%= ENV['SSH_AGENT_PID'].nil? ? ENV['EC2_SSH_KEY_PATH'] : nil %>

- name: ubuntu-12.04
driver:
name: digitalocean
- name: centos-6-5-x64
driver_plugin: digitalocean
driver_config:
flavor: 512MB
region: Amsterdam 2
ssh_key_ids: <%= ENV['DIGITAL_OCEAN_SSH_KEY_IDS'] %>
ssh_key: <%= ENV['SSH_AGENT_PID'].nil? ? ENV['EC2_SSH_KEY_PATH'] : nil %>

- name: ubuntu-14.04
driver:
name: digitalocean
- name: centos-7-0-x64
driver_plugin: digitalocean
driver_config:
flavor: 512MB

- name: debian-6-0-x64
driver_plugin: digitalocean
driver_config:
flavor: 512MB

- name: debian-7-0-x64
driver_plugin: digitalocean
driver_config:
flavor: 512MB

- name: debian-8-x64
driver_plugin: digitalocean
driver_config:
flavor: 512MB
region: Amsterdam 2
ssh_key_ids: <%= ENV['DIGITAL_OCEAN_SSH_KEY_IDS'] %>
ssh_key: <%= ENV['SSH_AGENT_PID'].nil? ? ENV['EC2_SSH_KEY_PATH'] : nil %>

- name: amazon-2013.09.2
- name: ubuntu-12-04-x64
driver_plugin: digitalocean
driver_config:
flavor: 512MB

- name: ubuntu-14-04-x64
driver_plugin: digitalocean
driver_config:
flavor: 512MB

- name: ubuntu-15-04-x64
driver_plugin: digitalocean
driver_config:
flavor: 512MB
<% end %>

- name: amazon-2014.09.2
driver:
name: ec2
image_id: ami-8e682ce6
instance_type: t1.micro
transport:
username: ec2-user

- name: amazon-2015.03.1
driver:
name: ec2
image_id: ami-0f4cfd64
instance_type: t1.micro
transport:
username: ec2-user

- name: amazon-2015.09.0
driver:
name: ec2
image_id: ami-bba18dd2
flavor_id: t1.micro
image_id: ami-cf1066aa
instance_type: t1.micro
transport:
username: ec2-user
ssh_key: <%= ENV['SSH_AGENT_PID'].nil? ? ENV['EC2_SSH_KEY_PATH'] : nil %>

0 comments on commit 5299b22

Please sign in to comment.