summaryrefslogtreecommitdiff
path: root/.expeditor
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 /.expeditor
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 '.expeditor')
-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
3 files changed, 41 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