2658d0ebfa
Add new `build_status` types module for tracking pipeline stage execution status across prebake, bake, and finalize phases. Introduce `NotificationCore` dispatcher that processes notification methods by priority groups with fallback on failure. Status files written to `/tmp/.hbwstatus` in JSON lines format.
15 lines
703 B
Rust
15 lines
703 B
Rust
pub const DEFAULT_WORKSPACE: &str = "/workspace";
|
|
pub const BOOTSTRAP_SCRIPT_PATH: &str = "/bootstrap.sh";
|
|
pub const BAKE_SCRIPT_PATH: &str = "bake.sh";
|
|
pub const PIPELINE_SKIP_ERRORCODE: u8 = 233;
|
|
pub const TRIVIAL_SCRIPT_NAME: &str = "BAKE_TRIVIAL";
|
|
pub const FINALIZE_PLUGIN_MANIFEST: &str = "manifest";
|
|
pub const FINALIZE_PLUGIN_MANIFEST_EXTENSION: &[&str] = &[".yml", ".yaml"];
|
|
pub const FINALIZE_SHELL_ENVPREFIX: &str = "HBW_ARG";
|
|
pub const FINALIZE_STANDALONE_PLUGIN_PATH: &str = "/tmp/baker/plugin";
|
|
|
|
/// Standalone mode build status file directory
|
|
pub const STANDALONE_STATUS_DIR: &str = "/tmp";
|
|
/// Standalone mode build status file name
|
|
pub const STANDALONE_STATUS_FILE: &str = ".hbwstatus";
|