Repository navigation
Commit 677875f
authored
fix(build): restore Windows lint and trim the image build context (#5021)
* fix(windows): restore Windows lint on main
The Windows-only host proxy passed 18 arguments to
ProxyHandle::start_with_bind_addr after #4276 added reserved_destination.
It hosts no OTLP relay, so it passes None.
The network supervisor trust artifact helpers only act on Unix, so
Clippy flags their Result as unnecessary on Windows; allow it there, as
other cfg-dependent helpers do.
Signed-off-by: Kris Hicks <khicks@nvidia.com>
* build(docker): exclude nested build outputs from the image build context
.dockerignore excluded only the top-level target directory, so image
builds from the repository root also sent nested Cargo target
directories (e2e/rust, tests, examples), node_modules, and the .jj
store as context: about 15 GB in a local checkout, which a remote
Podman machine copies on every build. Exclude target and node_modules
at any depth, and .jj. The images copy only prebuilt binaries from
deploy/docker/.build.
Signed-off-by: Kris Hicks <khicks@nvidia.com>
---------
Signed-off-by: Kris Hicks <khicks@nvidia.com>1 parent 2fb8d78 commit 677875f
3 files changed
Lines changed: 10 additions & 2 deletions
File tree
- crates
- openshell-server/src
- openshell-supervisor-network/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | | - | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| 416 | + | |
416 | 417 | | |
417 | 418 | | |
418 | 419 | | |
| |||
429 | 430 | | |
430 | 431 | | |
431 | 432 | | |
| 433 | + | |
432 | 434 | | |
433 | 435 | | |
434 | 436 | | |
| |||
449 | 451 | | |
450 | 452 | | |
451 | 453 | | |
| 454 | + | |
452 | 455 | | |
453 | 456 | | |
454 | 457 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| 227 | + | |
227 | 228 | | |
228 | 229 | | |
229 | 230 | | |
| |||
0 commit comments