Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swap windows jobs to docker (as much as possible) #6603

Merged
merged 5 commits into from
Jun 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
200 changes: 182 additions & 18 deletions .expeditor/verify.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,14 @@ steps:
command:
- .\test\run_clippy.ps1 stable .\test\unexamined_lints.txt .\test\allowed_lints.txt .\test\lints_to_fix.txt .\test\denied_lints.txt
agents:
queue: 'single-use-windows-privileged'
timeout_in_minutes: 25
queue: 'default-windows-privileged'
mwrock marked this conversation as resolved.
Show resolved Hide resolved
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 40

#######################################################################
# Unit Tests - Linux!
Expand Down Expand Up @@ -374,6 +380,12 @@ steps:
- ./test/run_cargo_test.ps1 builder-api-client
agents:
queue: 'default-windows-privileged'
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 25
retry:
automatic:
Expand All @@ -384,15 +396,27 @@ steps:
- ./test/run_cargo_test.ps1 butterfly -Nightly -Features "lock_as_mutex deadlock_detection" -TestOptions "--test-threads=1"
agents:
queue: 'default-windows-privileged'
timeout_in_minutes: 20
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 25
soft_fail: true

- label: "[unit] :windows: butterfly lock_as_rwlock"
command:
- ./test/run_cargo_test.ps1 butterfly -Nightly -Features "lock_as_rwlock deadlock_detection" -TestOptions "--test-threads=1"
agents:
queue: 'default-windows-privileged'
timeout_in_minutes: 20
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 40
retry:
automatic:
limit: 1
Expand All @@ -404,15 +428,27 @@ steps:
- ./test/run_cargo_test.ps1 butterfly -TestOptions "--test-threads=1 --ignored"
agents:
queue: 'default-windows-privileged'
timeout_in_minutes: 20
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 25
soft_fail: true

- label: "[unit] :windows: common"
command:
- ./test/run_cargo_test.ps1 common -TestOptions "--test-threads=1"
agents:
queue: 'default-windows-privileged'
timeout_in_minutes: 20
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 25
retry:
automatic:
limit: 1
Expand All @@ -422,6 +458,12 @@ steps:
- ./test/run_cargo_test.ps1 core
agents:
queue: 'default-windows-privileged'
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 20
retry:
automatic:
Expand All @@ -432,7 +474,13 @@ steps:
- ./test/run_cargo_test.ps1 hab
agents:
queue: 'default-windows-privileged'
timeout_in_minutes: 20
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 25
retry:
automatic:
limit: 1
Expand All @@ -442,6 +490,12 @@ steps:
- ./test/run_cargo_test.ps1 http-client
agents:
queue: 'default-windows-privileged'
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 20
retry:
automatic:
Expand All @@ -452,7 +506,13 @@ steps:
- ./test/run_cargo_test.ps1 launcher-client
agents:
queue: 'default-windows-privileged'
timeout_in_minutes: 10
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 20
retry:
automatic:
limit: 1
Expand All @@ -462,7 +522,13 @@ steps:
- ./test/run_cargo_test.ps1 launcher-protocol
agents:
queue: 'default-windows-privileged'
timeout_in_minutes: 10
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 20
retry:
automatic:
limit: 1
Expand All @@ -472,7 +538,13 @@ steps:
- ./test/run_cargo_test.ps1 pkg-export-docker
agents:
queue: 'default-windows-privileged'
timeout_in_minutes: 20
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 25
retry:
automatic:
limit: 1
Expand All @@ -482,6 +554,12 @@ steps:
- ./test/run_cargo_test.ps1 pkg-export-tar
agents:
queue: 'default-windows-privileged'
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 20
retry:
automatic:
Expand All @@ -493,6 +571,12 @@ steps:
- ./test/run_cargo_test.ps1 sup -Features "lock_as_mutex" -TestOptions "--test-threads=1"
agents:
queue: 'default-windows-privileged'
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 40
soft_fail: true

Expand All @@ -502,6 +586,12 @@ steps:
- ./test/run_cargo_test.ps1 sup -Features "lock_as_rwlock" -TestOptions "--test-threads=1"
agents:
queue: 'default-windows-privileged'
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 40
retry:
automatic:
Expand All @@ -513,6 +603,12 @@ steps:
- ./test/run_cargo_test.ps1 sup -Features "nitox_stream" -TestOptions "--test-threads=1"
agents:
queue: 'default-windows-privileged'
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 40
retry:
automatic:
Expand All @@ -523,6 +619,12 @@ steps:
- ./test/run_cargo_test.ps1 sup-client
agents:
queue: 'default-windows-privileged'
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 20
retry:
automatic:
Expand All @@ -533,6 +635,12 @@ steps:
- ./test/run_cargo_test.ps1 sup-protocol
agents:
queue: 'default-windows-privileged'
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 20
retry:
automatic:
Expand All @@ -543,6 +651,12 @@ steps:
- ./test/run_studio_test.ps1 "studio-from-source"
agents:
queue: 'default-windows-privileged'
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 5
retry:
automatic:
Expand Down Expand Up @@ -746,7 +860,14 @@ steps:
command:
- ./support/ci/build_component.ps1 hab
agents:
queue: 'single-use-windows-privileged'
queue: 'default-windows-privileged'
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 40
retry:
automatic:
limit: 1
Expand All @@ -758,7 +879,13 @@ steps:
command:
- ./support/ci/build_component.ps1 launcher
agents:
queue: 'single-use-windows-privileged'
queue: 'default-windows-privileged'
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
retry:
automatic:
limit: 1
Expand All @@ -770,7 +897,13 @@ steps:
command:
- ./support/ci/build_component.ps1 pkg-export-docker
agents:
queue: 'single-use-windows-privileged'
queue: 'default-windows-privileged'
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
retry:
automatic:
limit: 1
Expand All @@ -782,7 +915,14 @@ steps:
command:
- ./support/ci/build_component.ps1 pkg-export-tar
agents:
queue: 'single-use-windows-privileged'
queue: 'default-windows-privileged'
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
timeout_in_minutes: 40
retry:
automatic:
limit: 1
Expand All @@ -794,7 +934,13 @@ steps:
command:
- ./support/ci/build_component.ps1 plan-build-ps1
agents:
queue: 'single-use-windows-privileged'
queue: 'default-windows-privileged'
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
retry:
automatic:
limit: 1
Expand All @@ -806,7 +952,13 @@ steps:
command:
- ./support/ci/build_component.ps1 studio
agents:
queue: 'single-use-windows-privileged'
queue: 'default-windows-privileged'
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
retry:
automatic:
limit: 1
Expand All @@ -818,7 +970,13 @@ steps:
command:
- ./support/ci/build_component.ps1 sup
agents:
queue: 'single-use-windows-privileged'
queue: 'default-windows-privileged'
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
retry:
automatic:
limit: 1
Expand All @@ -830,7 +988,13 @@ steps:
command:
- ./support/ci/build_component.ps1 windows-service
agents:
queue: 'single-use-windows-privileged'
queue: 'default-windows-privileged'
plugins:
docker#v3.2.0:
image: "chefes/buildkite-windows"
shell: [ "powershell", "-Command" ]
always-pull: true
propagate-environment: true
retry:
automatic:
limit: 1
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function Invoke-Build([string]$Path, [switch]$Clean, [string]$Command, [switch]$
Install-RustToolchain $toolchain
rustup component add --toolchain $Toolchain rustfmt
Setup-Environment
Invoke-Expression "cargo +$ToolChain $Command --all -- --check"
Invoke-Expression "cargo +$ToolChain $Command --all"
break
}
"clippy" {
Expand Down
Loading