Commit 1d29dea
committed
fix(toolchains): add releases.astral.sh mirror for python-build-standalone (bazel-contrib#3761)
Currently, python-build-standalone runtimes are only downloaded from
github.com. If github.com is down or experiencing 5xx errors, builds
will fail because the runtimes cannot be fetched.
To fix this, add releases.astral.sh as a secondary fallback mirror URL.
If the requested base_url starts with the standard or legacy github.com
release prefix, we append the equivalent releases.astral.sh URL to
rendered_urls.1 parent 2da7640 commit 1d29dea
2 files changed
Lines changed: 69 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| |||
1435 | 1439 | | |
1436 | 1440 | | |
1437 | 1441 | | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
1438 | 1450 | | |
1439 | 1451 | | |
1440 | 1452 | | |
| |||
1490 | 1502 | | |
1491 | 1503 | | |
1492 | 1504 | | |
1493 | | - | |
| 1505 | + | |
| 1506 | + | |
1494 | 1507 | | |
1495 | 1508 | | |
1496 | 1509 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
51 | 106 | | |
52 | 107 | | |
53 | 108 | | |
| |||
0 commit comments