Skip to content

Commit

Permalink
Make clippy use single-use queues and no retries
Browse files Browse the repository at this point in the history
There's no need to retry clippy commands, they should be deterministic.
Additionally re-using a container may cause us to get false positives
due to rust-lang/rust-clippy#2604. This
change should help us avoid that.

Signed-off-by: Jon Bauman <[email protected]>
  • Loading branch information
baumanj committed Apr 16, 2019
1 parent 05adae3 commit e39a0e4
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .expeditor/verify.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,14 @@ steps:
agents:
queue: 'single-use-privileged'
timeout_in_minutes: 10
retry:
automatic:
limit: 1


- label: "[lint] :windows: :paperclip: clippy!"
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: 'default-windows-privileged'
queue: 'single-use-windows-privileged'
timeout_in_minutes: 25
retry:
automatic:
limit: 1

#######################################################################
# Unit Tests - Linux!
Expand Down

0 comments on commit e39a0e4

Please sign in to comment.