summaryrefslogtreecommitdiff
path: root/kitchen-tests/kitchen.azure.yml
blob: c44c76579beb76fb831cbf030b570b9ad04ae576 (plain)
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:
  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]