diff options
author | Jeremiah Snapp <jeremiah@chef.io> | 2022-03-23 22:40:41 -0400 |
---|---|---|
committer | Jeremiah Snapp <jeremiah@chef.io> | 2022-03-23 22:43:50 -0400 |
commit | cb437294e3f75d52a27d9bc43aba41441c787bc3 (patch) | |
tree | 42736f2ec6c68c03a7bd174297622c487754755e | |
parent | 4a190091408be9bbbb43b3eeb2c7796788bdcc42 (diff) | |
download | chef-cb437294e3f75d52a27d9bc43aba41441c787bc3.tar.gz |
Update bk_win_functional.ps1 in verify pipeline
Remove some unnecessary things from the script and update the
verify pipeline to show that the test is using ruby 2.7.
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
-rw-r--r-- | .expeditor/scripts/bk_win_functional.ps1 | 6 | ||||
-rw-r--r-- | .expeditor/verify.pipeline.yml | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/.expeditor/scripts/bk_win_functional.ps1 b/.expeditor/scripts/bk_win_functional.ps1 index 05f8e57248..8b4a445b44 100644 --- a/.expeditor/scripts/bk_win_functional.ps1 +++ b/.expeditor/scripts/bk_win_functional.ps1 @@ -9,12 +9,8 @@ $ErrorActionPreference = 'Stop' Write-Output "--- Enable Ruby 2.7" -Write-Output "Add Uru to Environment PATH" -$env:PATH = "C:\Program Files (x86)\Uru;" + $env:PATH -[Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine) - Write-Output "Register Installed Ruby Version 2.7 With Uru" -Start-Process "C:\Program Files (x86)\Uru\uru_rt.exe" -ArgumentList 'admin add C:\ruby27\bin' -Wait +Start-Process "uru_rt.exe" -ArgumentList 'admin add C:\ruby27\bin' -Wait uru 271 if (-not $?) { throw "Can't Activate Ruby. Did Uru Registration Succeed?" } ruby -v diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml index daa9d0025e..f0e2b3183c 100644 --- a/.expeditor/verify.pipeline.yml +++ b/.expeditor/verify.pipeline.yml @@ -260,7 +260,7 @@ steps: docker: image: rubydistros/fedora-latest:3.0 -- label: "Functional Windows :ruby: 3.0" +- label: "Functional Windows :ruby: 2.7" commands: - .expeditor/scripts/bk_win_functional.ps1 expeditor: |