pub enum ReleaseWorkflowStep {
Show 19 variants
CreateTrackerStorage,
InitTrackerDatabase,
RenderTrackerTemplates,
DeployTrackerConfigToRemote,
CreatePrometheusStorage,
RenderPrometheusTemplates,
DeployPrometheusConfigToRemote,
CreateGrafanaStorage,
RenderGrafanaTemplates,
DeployGrafanaProvisioning,
CreateMysqlStorage,
RenderBackupTemplates,
CreateBackupStorage,
DeployBackupConfigToRemote,
InstallBackupCrontab,
RenderCaddyTemplates,
DeployCaddyConfigToRemote,
RenderDockerComposeTemplates,
DeployComposeFilesToRemote,
}Expand description
Application-layer representation of a release workflow step.
Mirrors crate::domain::environment::state::ReleaseStep for error
reporting in ReleaseCommandHandlerError variants that need to surface
the step that failed. SDK consumers can display or match on these variants
without importing the domain module.
§Examples
use torrust_tracker_deployer_lib::application::errors::ReleaseWorkflowStep;
let step = ReleaseWorkflowStep::InitTrackerDatabase;
assert_eq!(step.to_string(), "Initialize Tracker Database");Variants§
CreateTrackerStorage
Creating tracker storage directories on remote host
InitTrackerDatabase
Initializing tracker SQLite database file
RenderTrackerTemplates
Rendering Tracker configuration templates to the build directory
DeployTrackerConfigToRemote
Deploying tracker configuration to the remote host via Ansible
CreatePrometheusStorage
Creating Prometheus storage directories on remote host
RenderPrometheusTemplates
Rendering Prometheus configuration templates to the build directory
DeployPrometheusConfigToRemote
Deploying Prometheus configuration to the remote host via Ansible
CreateGrafanaStorage
Creating Grafana storage directories on remote host
RenderGrafanaTemplates
Rendering Grafana provisioning templates to the build directory
DeployGrafanaProvisioning
Deploying Grafana provisioning configuration to the remote host via Ansible
CreateMysqlStorage
Creating MySQL storage directories on remote host
RenderBackupTemplates
Rendering Backup configuration templates to the build directory
CreateBackupStorage
Creating Backup storage directories on remote host
DeployBackupConfigToRemote
Deploying Backup configuration to the remote host via Ansible
InstallBackupCrontab
Installing backup crontab and maintenance script
RenderCaddyTemplates
Rendering Caddy configuration templates to the build directory
DeployCaddyConfigToRemote
Deploying Caddy configuration to the remote host via Ansible
RenderDockerComposeTemplates
Rendering Docker Compose templates to the build directory
DeployComposeFilesToRemote
Deploying compose files to the remote host via Ansible
Trait Implementations§
Source§impl Clone for ReleaseWorkflowStep
impl Clone for ReleaseWorkflowStep
Source§fn clone(&self) -> ReleaseWorkflowStep
fn clone(&self) -> ReleaseWorkflowStep
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ReleaseWorkflowStep
impl Debug for ReleaseWorkflowStep
Source§impl Display for ReleaseWorkflowStep
impl Display for ReleaseWorkflowStep
Source§impl From<ReleaseStep> for ReleaseWorkflowStep
impl From<ReleaseStep> for ReleaseWorkflowStep
Source§fn from(s: ReleaseStep) -> Self
fn from(s: ReleaseStep) -> Self
Source§impl PartialEq for ReleaseWorkflowStep
impl PartialEq for ReleaseWorkflowStep
impl Copy for ReleaseWorkflowStep
impl Eq for ReleaseWorkflowStep
impl StructuralPartialEq for ReleaseWorkflowStep
Auto Trait Implementations§
impl Freeze for ReleaseWorkflowStep
impl RefUnwindSafe for ReleaseWorkflowStep
impl Send for ReleaseWorkflowStep
impl Sync for ReleaseWorkflowStep
impl Unpin for ReleaseWorkflowStep
impl UnsafeUnpin for ReleaseWorkflowStep
impl UnwindSafe for ReleaseWorkflowStep
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::RequestSource§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.