summaryrefslogtreecommitdiff
path: root/kitchen-tests/kitchen.azure.yml
diff options
context:
space:
mode:
authorBryan McLellan <btm@loftninjas.org>2020-05-13 10:56:48 -0400
committerBryan McLellan <btm@loftninjas.org>2020-05-13 15:36:37 -0400
commitaf7b453f86e8656a30f3f5fa43e6a74ca8741008 (patch)
treef972db73ab7d0700387e8174803eb81bf0192279 /kitchen-tests/kitchen.azure.yml
parentdf065cfc02f93872fc2e37263fa1c408eac471ca (diff)
downloadchef-af7b453f86e8656a30f3f5fa43e6a74ca8741008.tar.gz
Add private Windows 10 Azure e2e test to Expeditor
To have access to the vault for cloud credentials, we have to have a separate private pipeline. Signed-off-by: Bryan McLellan <btm@loftninjas.org>
Diffstat (limited to 'kitchen-tests/kitchen.azure.yml')
-rw-r--r--kitchen-tests/kitchen.azure.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/kitchen-tests/kitchen.azure.yml b/kitchen-tests/kitchen.azure.yml
new file mode 100644
index 0000000000..c44c76579b
--- /dev/null
+++ b/kitchen-tests/kitchen.azure.yml
@@ -0,0 +1,39 @@
+---
+driver:
+ name: azurerm
+
+driver_config:
+ subscription_id: 80b824de-ec53-4116-9868-3deeab10b0cd
+ location: West US2
+ machine_size: Standard_B4ms
+
+provisioner:
+ name: chef_zero
+ deprecations_as_errors: true
+ chef_license: accept-no-persist
+ product_name: chef
+ client_rb:
+ diff_disabled: true
+ always_dump_stacktrace: true
+
+transport:
+ name: winrm
+
+verifier:
+ name: inspec
+ format: progress
+
+platforms:
+- name: windows-10
+ driver:
+ image_id: /subscriptions/80b824de-ec53-4116-9868-3deeab10b0cd/resourceGroups/EDM_Master_Storage_Resource_Group/providers/Microsoft.Compute/images/testkitchen-win-10
+ use_managed_disk: true
+ winrm_powershell_script: |-
+ Set-WSManQuickConfig -Force -SkipNetworkProfileCheck
+ netsh advfirewall firewall set rule name="Windows Remote Management (HTTP-In)" profile=public protocol=tcp localport=5985 remoteip=localsubnet new remoteip=any
+ Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
+
+suites:
+ - name: end-to-end
+ run_list:
+ - recipe[end_to_end::windows]