pub enum ProjectOutcome {
Checked,
Skipped,
Created,
Imported,
Recorded,
ImportedUnverified,
Applied,
TagsRolledBack,
RolledBack,
AppliedBackupUnsynced,
}Expand description
How a project deploy ended (V6).
Variants§
Checked
--check: nothing was written.
Skipped
The live project already was this release; nothing was written and no run directory was created.
Created
The project was absent from the gateway and was created (D-13).
Imported
The live project was replaced and its canonical digest equals the artifact’s.
Recorded
The live project already equalled the artifact; only the release record was written (K14).
ImportedUnverified
The project was imported but the canonical digest read back does not equal the artifact’s (K11). Fail-safe: no record, no second import.
Applied
A project that owns tag providers (Phase 26, D-07): the tags and the project were deployed in one run and both verified.
TagsRolledBack
A tag-owning run failed in its tag step or its tag verify, before the
project import was sent, and its automatic rollback restored and
verified everything it wrote (26-11). A verdict: data.ok false,
slug deploy_rolled_back, exit 6.
RolledBack
A tag-owning run failed at the project import or its read-back after
the tags were applied, and its automatic rollback restored the
project from its pre-image (when it had one) and the tags (26-11). A
verdict: data.ok false, slug deploy_rolled_back, exit 6.
AppliedBackupUnsynced
A tag-owning run on a redundant pair applied and verified everything
on the master, wrote its records, and the backup did not prove it
holds the owned tags within the budget, the one resync and the second
budget (26-13). Nothing is rolled back for it. A verdict: data.ok
false, slug deploy_backup_unsynced, exit 6, the reason in
data.tags.backup.
Implementations§
Trait Implementations§
Source§impl Clone for ProjectOutcome
impl Clone for ProjectOutcome
impl Copy for ProjectOutcome
Source§impl Debug for ProjectOutcome
impl Debug for ProjectOutcome
impl Eq for ProjectOutcome
Source§impl PartialEq for ProjectOutcome
impl PartialEq for ProjectOutcome
Source§impl Serialize for ProjectOutcome
impl Serialize for ProjectOutcome
impl StructuralPartialEq for ProjectOutcome
Auto Trait Implementations§
impl Forget for ProjectOutcome
impl Freeze for ProjectOutcome
impl Move for ProjectOutcome
impl RefUnwindSafe for ProjectOutcome
impl Send for ProjectOutcome
impl Sync for ProjectOutcome
impl Unpin for ProjectOutcome
impl UnsafeUnpin for ProjectOutcome
impl UnwindSafe for ProjectOutcome
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.