mirror of
https://codeberg.org/Toasterson/solstice-ci.git
synced 2026-04-10 21:30:41 +00:00
This commit introduces gRPC-based log streaming between the VM runner (`solstice-runner`) and orchestrator. Key updates include: - Implemented gRPC server in the orchestrator for receiving and processing runner logs. - Added log streaming and job result reporting in the `solstice-runner` client. - Defined `runner.proto` with messages (`LogItem`, `JobEnd`) and the `Runner` service. - Updated orchestrator to accept gRPC settings and start the server. - Modified cloud-init user data to include gRPC endpoint and request ID for runners. - Enhanced message queue logic to handle job results via `publish_job_result`. - Configured `Cross.toml` for cross-compilation of the runner.
14 lines
No EOL
439 B
TOML
14 lines
No EOL
439 B
TOML
# Cross configuration for building the workflow runner for VM targets
|
|
# Reference: https://github.com/cross-rs/cross
|
|
|
|
[target.x86_64-unknown-linux-gnu]
|
|
image = "ghcr.io/cross-rs/x86_64-unknown-linux-gnu:main"
|
|
|
|
[target.x86_64-unknown-illumos]
|
|
image = "ghcr.io/cross-rs/x86_64-unknown-illumos:main"
|
|
|
|
[build]
|
|
pre-build = [
|
|
"dpkg --add-architecture $CROSS_DEB_ARCH",
|
|
"apt-get update && apt-get install --assume-yes protobuf-compiler"
|
|
] |