Treatment localStep

cicd/naive::localStep


Parameters

↳ var commands: Vec<Command> (process/command::Command)
↳ var description: string = ""
↳ var github: bool = false
↳ var github_project: string = ""
↳ var github_sha: string = ""
↳ var github_token: string = ""
↳ var gitlab: bool = false
↳ var gitlab_pipeline_id: string = ""
↳ var gitlab_project_id: string = ""
↳ var gitlab_ref: string = ""
↳ var gitlab_root_url: string = "https://gitlab.com/api/v4"
↳ var gitlab_sha: string = ""
↳ var gitlab_token: string = ""
↳ var log_service_response: bool = false
↳ var name: string
↳ var report: bool = true
↳ var variables: Option<StringMap> = _ (std/data/string_map::StringMap)

Inputs

⇥ trigger: Block<void>

Outputs

↦ completed: Block<void>
↦ error: Block<void>
↦ failed: Block<void>
↦ finished: Block<void>
↦ started: Block<void>
↦ success: Block<void>


Run a CI/CD step on the local machine.

Executes commands sequentially on the local executor with the optional variables environment. Wraps localStepTerminable with a fixed terminate signal (no external cancellation).

CI/CD service state reporting is controlled by report, github, and gitlab flags, using the corresponding token/project/sha parameters for each platform. description and log_service_response are forwarded to the service reporting treatment.

started fires when the first command begins; completed when all commands succeed; success when the overall step is considered successful; error on non-zero exit; failed on executor-level failure; finished always at the end.