Commit 7c47438
authored
ci: configure internal HF registries on self-hosted runners (#162)
## Summary
Add a `Configure internal registries` step right after
`actions/checkout@v4` in every job of `ci.yml`. The step runs:
```sh
curl -sSL https://registries.huggingface.tech/setup.sh | bash
```
This points cargo, apt, and any other package fetches at the
corp-tailnet-internal proxies, which the `hf-mount-ci-pub` (and
`hf-mount-ci-pub-m5dn-24xlarge`) self-hosted runners can reach.
Affected jobs: `lint-test`, `smoke-test`, `fsx`, `xfstests`,
`pjdfstest`, `bench`.
## Out of scope
`release.yml` and `_docker-build.yml` target GitHub-hosted
`ubuntu-22.04` runners, which are not on the corp tailnet and therefore
cannot reach `registries.huggingface.tech`. They are intentionally left
untouched.1 parent 812f192 commit 7c47438
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| |||
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
75 | 81 | | |
76 | 82 | | |
77 | 83 | | |
| |||
100 | 106 | | |
101 | 107 | | |
102 | 108 | | |
| 109 | + | |
| 110 | + | |
103 | 111 | | |
104 | 112 | | |
105 | 113 | | |
| |||
122 | 130 | | |
123 | 131 | | |
124 | 132 | | |
| 133 | + | |
| 134 | + | |
125 | 135 | | |
126 | 136 | | |
127 | 137 | | |
| |||
146 | 156 | | |
147 | 157 | | |
148 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
149 | 162 | | |
150 | 163 | | |
151 | 164 | | |
| |||
212 | 225 | | |
213 | 226 | | |
214 | 227 | | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
215 | 231 | | |
216 | 232 | | |
217 | 233 | | |
| |||
0 commit comments