pub struct LifecycleStep {
pub name: String,
pub when: LifecycleEvent,
pub run: String,
}Expand description
A named step in the release lifecycle pipeline.
lifecycle:
- name: lint
when: pre_release
run: "cargo clippy -- -D warnings"
- name: notify
when: post_release
run: "./scripts/notify-slack.sh"Fields§
§name: StringStep name (for logging).
when: LifecycleEventWhen this step runs in the release pipeline.
run: StringShell command to execute. SR_VERSION and SR_TAG env vars are set.
Trait Implementations§
Source§impl Clone for LifecycleStep
impl Clone for LifecycleStep
Source§fn clone(&self) -> LifecycleStep
fn clone(&self) -> LifecycleStep
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LifecycleStep
impl Debug for LifecycleStep
Source§impl<'de> Deserialize<'de> for LifecycleStep
impl<'de> Deserialize<'de> for LifecycleStep
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LifecycleStep
impl PartialEq for LifecycleStep
Source§impl Serialize for LifecycleStep
impl Serialize for LifecycleStep
impl StructuralPartialEq for LifecycleStep
Auto Trait Implementations§
impl Freeze for LifecycleStep
impl RefUnwindSafe for LifecycleStep
impl Send for LifecycleStep
impl Sync for LifecycleStep
impl Unpin for LifecycleStep
impl UnsafeUnpin for LifecycleStep
impl UnwindSafe for LifecycleStep
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
Mutably borrows from an owned value. Read more