Commit 63f4a29
authored
Rewrite scaleDown to fix a series of bugs (#864)
On scaleDown:
- [FIX] Guaranteed stop the runners from the oldest to the newest,
avoiding having runners for too long;
- [FIX] Fixed bug where a runner could be removed from GHA but kept
running on AWS;
- [IMPROVED] Try to maintain always a minimum of `minAvailableRunners`
runners free;1 parent 51d8113 commit 63f4a29
File tree
8 files changed
+1244
-341
lines changed- terraform-aws-github-runner/modules/runners/lambdas/runners/src
- scale-runners
8 files changed
+1244
-341
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
| 351 | + | |
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
581 | 586 | | |
582 | 587 | | |
583 | 588 | | |
| |||
0 commit comments