From f9f8f5b4867cb98e3ea8919a9c1e82494089c585 Mon Sep 17 00:00:00 2001 From: nikhil2611 Date: Wed, 20 Sep 2023 11:20:28 +0530 Subject: [PATCH] update some gems Signed-off-by: nikhil2611 --- .expeditor/run_windows_tests.ps1 | 5 +++++ .expeditor/verify.pipeline.yml | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/.expeditor/run_windows_tests.ps1 b/.expeditor/run_windows_tests.ps1 index ffc1d42..3cce207 100644 --- a/.expeditor/run_windows_tests.ps1 +++ b/.expeditor/run_windows_tests.ps1 @@ -1,8 +1,13 @@ # Stop script execution when a non-terminating error occurs $ErrorActionPreference = "Stop" + # This will run ruby test on windows platform Write-Output "--- Bundle install" +ruby --version +bundler --version +gem update --system +If ($lastexitcode -ne 0) { Exit $lastexitcode } bundle config --local path vendor/bundle If ($lastexitcode -ne 0) { Exit $lastexitcode } diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml index 4142f81..7b9af24 100644 --- a/.expeditor/verify.pipeline.yml +++ b/.expeditor/verify.pipeline.yml @@ -36,19 +36,27 @@ steps: - label: run-specs-ruby-3.0-windows command: - .expeditor/run_windows_tests.ps1 + timeout_in_minutes: 20 expeditor: executor: docker: host_os: windows shell: ["powershell", "-Command"] image: rubydistros/windows-2019:3.0 + user: 'NT AUTHORITY\SYSTEM' + environment: + - FORCE_FFI_YAJL=ext + - EXPIRE_CACHE=true + - CHEF_LICENSE=accept-no-persist - label: run-specs-ruby-3.1-windows command: - .expeditor/run_windows_tests.ps1 + timeout_in_minutes: 20 expeditor: executor: docker: host_os: windows shell: ["powershell", "-Command"] image: rubydistros/windows-2019:3.1 + user: 'NT AUTHORITY\SYSTEM'