This repository was archived by the owner on Nov 29, 2023. It is now read-only.
forked from cloudfoundry-community-attic/inception-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.kitchen.yml
More file actions
39 lines (37 loc) · 1.27 KB
/
.kitchen.yml
File metadata and controls
39 lines (37 loc) · 1.27 KB
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
---
driver_plugin: <%= ENV['AWS_ACCESS_KEY_ID'] ? "ec2" : "vagrant" %>
platforms:
<% if ENV['AWS_ACCESS_KEY_ID'] %>
- name: precise64_ec2
driver_plugin: ec2
driver_config:
aws_access_key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
aws_secret_access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
# Default keypair is in Stark & Wayne AWS account for kitchen CI testing
aws_ssh_key_id: <%= ENV['AWS_SSH_KEY_NAME'] || 'kitchen' %> # name of the AWS keypair to use
ssh_key: <%= ENV['AWS_SSH_KEY_PATH'] || File.expand_path("../config/ssh/kitchen-aws", __FILE__) %> # private key such as ~/.ssh/id_rsa that matches the AWS keypair
region: us-east-1
availability_zone: us-east-1b
flavor_id: m1.medium
image_id: ami-856f02ec # us-east-1 12.04 amd64
username: ubuntu
groups:
- default
- ssh
require_chef_omnibus: true
<% else %>
- name: precise64_virtualbox
driver_config:
provider: virtualbox
box: precise64
box_url: http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box
require_chef_omnibus: true
<% end %>
suites:
- name: default
run_list:
- recipe[bosh_inception]
attributes:
fog:
aws_access_key_id: PERSONAL_ACCESS_KEY
aws_secret_access_key: PERSONAL_SECRET