oxidecomputer / omicron

Omicron: Oxide control plane
Mozilla Public License 2.0
252 stars 40 forks source link

releng: run omicron-package with `--only` (and other small fixes) #7150

Open iliana opened 3 days ago

iliana commented 3 days ago

This is a late follow-up to #5799 that I've had lying around in a branch for a while. We now instruct omicron-package to instruct Cargo to only build the binaries we actually want for that particular stage of the releng process. This has the effect of allowing the OS images to build while Cargo is busy building Nexus, for instance.

This does not improve the speed for the CI job significantly, but does show some improvements in local incremental rebuilds. There is some straggling time once the TUF repo is built running cargo xtask verify-libraries --release that can reduce time-to-TUF-repo by a few more minutes by making our check there more correct (see #7149).