commit | 7670e67e72d6d4aaac174b91f4465a67479e1026 | [log] [tgz] |
---|---|---|
author | Leopold Schabel <leo@nexantic.com> | Fri Nov 15 13:49:53 2019 +0100 |
committer | Leopold Schabel <leo@nexantic.com> | Fri Nov 15 13:49:53 2019 +0100 |
tree | e76d204e13a52816182f86599f22c6ce95eebeb6 | |
parent | 383d4bb84b7b5062b859f81db10e3f16bd427739 [diff] |
Improve core/scripts:launch ergonomics - Disable qemu monitor multiplexing. We don't need the monitor for most debugging tasks, and disabling it means we can kill the VM using Ctrl-C. - Strip metacharacters and DOS newlines from qemu serial output. This makes logs easier to read in the CI, and prevents it from messing with terminal settings locally. - Copy swtpm_data to a temporary directory to ensure we never override the build inputs (which can happen in a local run without sandbox). Re-running the target no longer triggers rebuilds for swtpm_data. - Remove local tag from :launch - it works fine in the sandbox. Test Plan: Ran the test multiple times, no rebuilds occurred: bazel test core/scripts:test_boot X-Origin-Diff: phab/D264 GitOrigin-RevId: 70d52e8a4cf24747d18fbaffeddb6e30bcdf61da
This is the monorepo storing all of nexantic's internal projects and libraries.
All builds should be executed using the shipped nexantic-dev
container which is automatically built by the create script.
The container contains all necessary dependencies and env configurations necessary to get started right away.
Spinning up: scripts/create_container.sh
Spinning down: scripts/destroy_container.sh
Running commands: scripts/run_in_container.sh @
Using bazel: scripts/bin/bazel @