summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn <john.mccrae@progress.com>2022-12-14 14:27:38 -0800
committerJohn <john.mccrae@progress.com>2022-12-14 14:27:38 -0800
commitb7373874e39d083bb22d63dac5bcedeb3d99c0f6 (patch)
tree2c36bbe9941dd78ad2f3990fbe3928c90316fa38
parentfaf41a2b3fbad47e14bb6d058e10d83662d84526 (diff)
downloadchef-b7373874e39d083bb22d63dac5bcedeb3d99c0f6.tar.gz
Correcting the habitat pipeline issue for Windows
Signed-off-by: John <john.mccrae@progress.com>
-rw-r--r--.expeditor/habitat-test.pipeline.yml8
1 files changed, 2 insertions, 6 deletions
diff --git a/.expeditor/habitat-test.pipeline.yml b/.expeditor/habitat-test.pipeline.yml
index 20686468f3..a898b67a5e 100644
--- a/.expeditor/habitat-test.pipeline.yml
+++ b/.expeditor/habitat-test.pipeline.yml
@@ -37,17 +37,13 @@ steps:
- label: ":windows: Validate Habitat Builds of Chef Infra"
commands:
- - $EXPEDITOR_PKG_IDENTS_CHEFINFRACLIENTX86_64WINDOWS = 'chef/chef-infra-client/18.0.179/20221109104144'
- - . ./.expeditor/scripts/ensure-minimum-viable-hab.ps1
- - Write-Host "--- Installing $EXPEDITOR_PKG_IDENTS_CHEFINFRACLIENTX86_64WINDOWS"
- - $env:Path = [System.Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path", "User")
- - hab pkg install $EXPEDITOR_PKG_IDENTS_CHEFINFRACLIENTX86_64WINDOWS
- - . ./habitat/tests/test.ps1 -PackageIdentifier $EXPEDITOR_PKG_IDENTS_CHEFINFRACLIENTX86_64WINDOWS
+ - /workdir/.expeditor/scripts/habitat-test.ps1
expeditor:
executor:
windows:
privileged: true
single-use: true
+ shell: ["powershell", "-Command"]
# Wait for the package testing to succeed before promoting whatever was tested.
- wait