Skip to content

Commit

Permalink
update some gems
Browse files Browse the repository at this point in the history
Signed-off-by: nikhil2611 <[email protected]>
  • Loading branch information
nikhil2611 committed Sep 20, 2023
1 parent ca66555 commit f9f8f5b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .expeditor/run_windows_tests.ps1
Original file line number Diff line number Diff line change
@@ -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 }
Expand Down
8 changes: 8 additions & 0 deletions .expeditor/verify.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit f9f8f5b

Please sign in to comment.