|
28 | 28 | if: >-
|
29 | 29 | github.repository_owner == 'llvm' &&
|
30 | 30 | (github.event_name != 'pull_request' || github.event.action != 'closed')
|
| 31 | + # We explicitly distribute jobs between the us-west and us-central clusters |
| 32 | + # because the racey assignment that Github ARC should be doing automatically |
| 33 | + # is not currently working. |
| 34 | + # TODO(boomanaiden154): Remove this once we have finished investigating and |
| 35 | + # have fixed the Github ARC scheduling. |
31 | 36 | runs-on:
|
32 |
| - group: ${{ (endsWith(github.run_id, '0') || endsWith(github.run_id, '2') || endsWith(github.run_id, '4') || endsWith(github.run_id, '6') || endsWith(github.run_id, '8')) && 'llvm-premerge-cluster-us-west' || 'llvm-premerge-cluster-us-central' }} |
| 37 | + group: ${{ ( |
| 38 | + endsWith(github.run_id, '0') || |
| 39 | + endsWith(github.run_id, '2') || |
| 40 | + endsWith(github.run_id, '4') || |
| 41 | + endsWith(github.run_id, '6') || |
| 42 | + endsWith(github.run_id, '8') |
| 43 | + ) && |
| 44 | + 'llvm-premerge-cluster-us-west' || |
| 45 | + 'llvm-premerge-cluster-us-central' |
| 46 | + }} |
33 | 47 | labels: llvm-premerge-linux-runners
|
34 | 48 | steps:
|
35 | 49 | - name: Checkout LLVM
|
@@ -90,8 +104,22 @@ jobs:
|
90 | 104 | if: >-
|
91 | 105 | github.repository_owner == 'llvm' &&
|
92 | 106 | (github.event_name != 'pull_request' || github.event.action != 'closed')
|
| 107 | + # We explicitly distribute jobs between the us-west and us-central clusters |
| 108 | + # because the racey assignment that Github ARC should be doing automatically |
| 109 | + # is not currently working. |
| 110 | + # TODO(boomanaiden154): Remove this once we have finished investigating and |
| 111 | + # have fixed the Github ARC scheduling. |
93 | 112 | runs-on:
|
94 |
| - group: ${{ (endsWith(github.run_id, '0') || endsWith(github.run_id, '2') || endsWith(github.run_id, '4') || endsWith(github.run_id, '6') || endsWith(github.run_id, '8')) && 'llvm-premerge-cluster-us-west' || 'llvm-premerge-cluster-us-central' }} |
| 113 | + group: ${{ ( |
| 114 | + endsWith(github.run_id, '0') || |
| 115 | + endsWith(github.run_id, '2') || |
| 116 | + endsWith(github.run_id, '4') || |
| 117 | + endsWith(github.run_id, '6') || |
| 118 | + endsWith(github.run_id, '8') |
| 119 | + ) && |
| 120 | + 'llvm-premerge-cluster-us-west' || |
| 121 | + 'llvm-premerge-cluster-us-central' |
| 122 | + }} |
95 | 123 | labels: llvm-premerge-windows-2022-runners
|
96 | 124 | defaults:
|
97 | 125 | run:
|
|
0 commit comments