Skip to content

Commit 2e5d5a9

Browse files
author
Jaymala Sinha
committed
Add Windows verification tests to Buildkite
Signed-off-by: Jaymala Sinha <[email protected]>
1 parent ac881b7 commit 2e5d5a9

File tree

4 files changed

+87
-0
lines changed

4 files changed

+87
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
echo "--- system details"
2+
$Properties = 'Caption', 'CSName', 'Version', 'BuildType', 'OSArchitecture'
3+
Get-CimInstance Win32_OperatingSystem | Select-Object $Properties | Format-Table -AutoSize
4+
5+
# Set-Item -Path Env:Path -Value ($Env:Path + ";C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin")
6+
$Env:Path="C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\ruby26\bin;C:\ci-studio-common\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Users\ContainerAdministrator\AppData\Local\Microsoft\WindowsApps;C:\Go\bin;C:\Users\ContainerAdministrator\go\bin"
7+
8+
9+
ruby -v
10+
bundle --version
11+
gem -v
12+
bundle env
13+
14+
echo "--- bundle install"
15+
bundle install --jobs=7 --retry=3 --without docs debug
16+
17+
echo "+++ bundle exec rake acceptance "
18+
bundle exec rake acceptance
19+
20+
exit $LASTEXITCODE
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
echo "--- system details"
2+
$Properties = 'Caption', 'CSName', 'Version', 'BuildType', 'OSArchitecture'
3+
Get-CimInstance Win32_OperatingSystem | Select-Object $Properties | Format-Table -AutoSize
4+
5+
# Set-Item -Path Env:Path -Value ($Env:Path + ";C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin")
6+
$Env:Path="C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\ruby26\bin;C:\ci-studio-common\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Users\ContainerAdministrator\AppData\Local\Microsoft\WindowsApps;C:\Go\bin;C:\Users\ContainerAdministrator\go\bin"
7+
8+
9+
ruby -v
10+
bundle --version
11+
gem -v
12+
bundle env
13+
14+
echo "--- bundle install"
15+
bundle install --jobs=7 --retry=3 --without docs debug
16+
17+
echo "+++ bundle exec rake functional "
18+
bundle exec rake functional
19+
20+
exit $LASTEXITCODE
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
echo "--- system details"
2+
$Properties = 'Caption', 'CSName', 'Version', 'BuildType', 'OSArchitecture'
3+
Get-CimInstance Win32_OperatingSystem | Select-Object $Properties | Format-Table -AutoSize
4+
5+
# Set-Item -Path Env:Path -Value ($Env:Path + ";C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin")
6+
$Env:Path="C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\ruby26\bin;C:\ci-studio-common\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Users\ContainerAdministrator\AppData\Local\Microsoft\WindowsApps;C:\Go\bin;C:\Users\ContainerAdministrator\go\bin"
7+
8+
9+
ruby -v
10+
bundle --version
11+
gem -v
12+
bundle env
13+
14+
echo "--- bundle install"
15+
bundle install --jobs=7 --retry=3 --without docs debug
16+
17+
echo "+++ bundle exec rake unit "
18+
bundle exec rake unit
19+
20+
exit $LASTEXITCODE

.expeditor/verify.pipeline.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,30 @@ steps:
2626
executor:
2727
docker:
2828
image: ruby:2.6-stretch
29+
30+
- label: run-specs-windows-unit-2.6
31+
command:
32+
- /workdir/.expeditor/buildkite/verify-unit.ps1
33+
expeditor:
34+
executor:
35+
docker:
36+
host_os: windows
37+
shell: ["powershell", "-Command"]
38+
39+
- label: run-specs-windows-functional-2.6
40+
command:
41+
- /workdir/.expeditor/buildkite/verify-funct.ps1
42+
expeditor:
43+
executor:
44+
docker:
45+
host_os: windows
46+
shell: ["powershell", "-Command"]
47+
48+
- label: run-specs-windows-acceptance-2.6
49+
command:
50+
- /workdir/.expeditor/buildkite/verify-accept.ps1
51+
expeditor:
52+
executor:
53+
docker:
54+
host_os: windows
55+
shell: ["powershell", "-Command"]

0 commit comments

Comments
 (0)