pub struct ProjectsInput {
pub repo: PathBuf,
pub targets: PathBuf,
pub env: String,
pub release: String,
pub allow_downgrade: bool,
pub allow_first_change: Option<String>,
pub allow_destructive: bool,
pub artifact_sha256: Option<String>,
pub tags_sha256: Option<String>,
}Expand description
What the caller supplies.
Fields§
§repo: PathBufThe project repo root.
targets: PathBufThe root holding targets/<ENV>.yaml (default: repo).
env: StringThe environment name.
release: StringThe release tag being deployed, as given.
allow_downgrade: bool--allow-downgrade: let an older release than the recorded one
replace it (D-03).
allow_first_change: Option<String>--allow-first-change <REASON>: let the first ign deploy of a
project change what the gateway runs (D-12). 1 to 500 characters.
allow_destructive: bool--allow-destructive (26-20, D-02): let the run delete the tags the
previous deploy of this project placed and the repo no longer holds
(data.tags.removed), through the master’s tag-delete route.
artifact_sha256: Option<String>--artifact-sha256: the canonical digest of the artifact the reviewer
saw (64 lowercase hex). Compared with the artifact the checkout builds
before any host or gateway contact (D-01, V1); None is allowed here
because the CLI (Decision C) decides when it is required.
--tags-sha256: the data.tags.tags_sha256 the reviewer saw (64
lowercase hex), the digest of the owned tag content (26-05, TAGDEP-10,
D-07). Compared with the checkout’s owned tags before any host or
gateway contact. Refused for a project that owns no provider; None
is allowed here because the CLI (Decision C) decides when it is
required.