summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.expeditor/config.yml5
-rw-r--r--.expeditor/verify_private.pipeline.yml37
-rw-r--r--.expeditor/verify_public.pipeline.yml (renamed from .expeditor/verify.pipeline.yml)0
-rw-r--r--kitchen-tests/kitchen.azure.yml39
4 files changed, 80 insertions, 1 deletions
diff --git a/.expeditor/config.yml b/.expeditor/config.yml
index c5b5c83e06..1c982033c2 100644
--- a/.expeditor/config.yml
+++ b/.expeditor/config.yml
@@ -24,8 +24,11 @@ docker_images:
- chef
pipelines:
- - verify:
+ - verify/public:
+ definition: .expeditor/verify_public.pipeline.yml
public: true
+ - verify/private:
+ definition: .expeditor/verify_private.pipeline.yml
- verify/habitat:
description: >
A temporary pipeline to verify the habitat plans. Performs a local build,
diff --git a/.expeditor/verify_private.pipeline.yml b/.expeditor/verify_private.pipeline.yml
new file mode 100644
index 0000000000..03d871bba9
--- /dev/null
+++ b/.expeditor/verify_private.pipeline.yml
@@ -0,0 +1,37 @@
+---
+expeditor:
+ cached_folders:
+ - vendor
+ defaults:
+ buildkite:
+ retry:
+ automatic:
+ limit: 1
+ timeout_in_minutes: 30
+
+steps:
+
+#########################################################################
+ # START TEST KITCHEN ONLY
+#########################################################################
+
+- label: "Kitchen Tests Windows 10"
+ commands:
+ - scripts/bk_tests/bk_win_prep.ps1
+ - cd kitchen-tests
+ - kitchen test end-to-end-windows-10
+ artifact_paths:
+ - $PWD/.kitchen/logs/kitchen.log
+ env:
+ KITCHEN_YAML: kitchen.azure.yml
+ expeditor:
+ secrets:
+ AZURE_TENANT_ID:
+ account: azure/engineering-dev-test
+ field: tenant_id
+ AZURE_CLIENT_ID:
+ account: azure/engineering-dev-test
+ field: client_id
+ AZURE_CLIENT_SECRET:
+ account: azure/engineering-dev-test
+ field: client_secret
diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify_public.pipeline.yml
index 1791e3228c..1791e3228c 100644
--- a/.expeditor/verify.pipeline.yml
+++ b/.expeditor/verify_public.pipeline.yml
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]