summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2022-11-09 16:39:25 +0600
committerJohn McCrae <john.mccrae@progress.com>2022-11-09 16:39:25 +0600
commit85360c14ee1a787be7fad7a34f77081ab36f39b7 (patch)
treed6268c5353000188a5dddecff2fc378498fceb53
parent26c5974fca47d49a26d98e2354f7e846d913a583 (diff)
downloadchef-85360c14ee1a787be7fad7a34f77081ab36f39b7.tar.gz
Updating the the hab script to account for a missing env variable
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r--.expeditor/habitat-test.pipeline.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.expeditor/habitat-test.pipeline.yml b/.expeditor/habitat-test.pipeline.yml
index 569f82dcca..96cfe79f69 100644
--- a/.expeditor/habitat-test.pipeline.yml
+++ b/.expeditor/habitat-test.pipeline.yml
@@ -38,10 +38,11 @@ steps:
- label: ":windows: Validate Habitat Builds of Chef Infra"
commands:
- $EXPEDITOR_PKG_IDENTS_CHEFINFRACLIENTX86_64WINDOWS = 'chef/chef-infra-client/18.0.178/20221108210251'
- - powershell -File ./.expeditor/scripts/ensure-minimum-viable-hab.ps1
+ - . ./.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
- - powershell -File ./habitat/tests/test.ps1 -PackageIdentifier $EXPEDITOR_PKG_IDENTS_CHEFINFRACLIENTX86_64WINDOWS
+ - . ./habitat/tests/test.ps1 -PackageIdentifier $EXPEDITOR_PKG_IDENTS_CHEFINFRACLIENTX86_64WINDOWS
expeditor:
executor:
windows: