Gullintanni v0.1.0 Gullintanni.Pipeline
Defines a Gullintanni build pipeline.
A pipeline is uniquely identified by repository and encapsulates the state necessary to coordinate builds and merges.
Summary
Functions
Returns true if the user is an authorized reviewer on pipeline
Gets the current state of a pipeline
Gets a value from a pipeline by key
Puts the value for the given key in the pipeline
Starts a new pipeline with the given config settings
Returns true if all required pipeline configuration values exist in
config, otherwise false
Returns the pid of a pipeline agent, or :undefined if no process is
associated with the given identifier
Types
The pipeline reference
t() :: %Gullintanni.Pipeline{bot_name: String.t, config: Gullintanni.Config.t, merge_requests: map, repo: Gullintanni.Repo.t, worker: Gullintanni.Worker.t}
The pipeline type
Functions
Returns true if the user is an authorized reviewer on pipeline.
Gets a value from a pipeline by key.
handle_mreq_close(pipeline, Gullintanni.MergeRequest.id) :: :ok
handle_push(pipeline, Gullintanni.MergeRequest.id, Gullintanni.MergeRequest.sha) :: :ok
Puts the value for the given key in the pipeline.
Starts a new pipeline with the given config settings.
Returns true if all required pipeline configuration values exist in
config, otherwise false.
Returns the pid of a pipeline agent, or :undefined if no process is
associated with the given identifier.