Skip to content

Commit 6e2c596

Browse files
author
Dennis Hoer
committed
Add environment variable to test kitchen
1 parent 5bb90fb commit 6e2c596

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.kitchen.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ driver:
44

55
provisioner:
66
name: chef_solo
7-
require_chef_omnibus: 11.14
7+
require_chef_omnibus: 11.18
88

99
platforms:
1010
- name: centos-6.6
@@ -13,17 +13,27 @@ platforms:
1313
network:
1414
- ["forwarded_port", {guest: 4444, host: 4444}]
1515
- ["forwarded_port", {guest: 5555, host: 5555}]
16+
1617
- name: ubuntu-14.04
1718
driver:
1819
network:
1920
- ["forwarded_port", {guest: 4444, host: 4445}]
2021
- ["forwarded_port", {guest: 5555, host: 5556}]
22+
2123
- name: windows-2012r2
2224
driver:
2325
box: dhoer/windows-2012r2
2426
network:
2527
- ["forwarded_port", {guest: 4444, host: 4446}]
2628
- ["forwarded_port", {guest: 5555, host: 5557}]
29+
attributes:
30+
java:
31+
windows:
32+
# export WIN_JDK_URL=http://example.com/path/to/jdk-8u51-windows-i586.exe; kitchen dia
33+
url: <%= ENV['WIN_JDK_URL'] %>
34+
selenium:
35+
windows:
36+
java: C:\\Program Files (x86)\\Java\\jdk1.8.0_51\\bin\\java.exe
2737

2838
suites:
2939
- name: selenium_test

0 commit comments

Comments
 (0)