pub struct CoverageSetupCloud {
pub project_id: Option<String>,
pub git_sha: Option<String>,
pub endpoint: String,
pub api_key_env: String,
pub browser_key_env: Option<String>,
pub commit_sha_env: Vec<String>,
pub ci: CoverageSetupCi,
pub source_maps: CoverageSetupSourceMaps,
pub activation_url: Option<String>,
pub wait_command: String,
pub wait: Option<CoverageSetupWait>,
}Expand description
Fallow Cloud plan of fallow coverage setup --cloud.
The beacon, the inventory, the source maps and the deployment registration must all carry the same commit SHA. The plan names only the environment variable names of keys, never a key value.
Fields§
§project_id: Option<String>Fallow Cloud project id (owner/repo), or null when it was not detected.
git_sha: Option<String>Commit SHA that --wait checks: --git-sha, else HEAD of the
working tree, or null outside a git repository.
endpoint: StringFallow Cloud API base URL.
api_key_env: StringEnvironment variable that holds the full API key in CI and on the server.
browser_key_env: Option<String>Environment variable that holds the ingest-only browser key, when a member runs in the browser.
commit_sha_env: Vec<String>Environment variables the server snippets read the deployed commit SHA from, in order.
ci: CoverageSetupCiCI steps that upload the inventory and source maps and register the deployment.
source_maps: CoverageSetupSourceMapsWhether the production build needs a source map upload.
activation_url: Option<String>Activation endpoint that reports each setup step, or null without a project id.
wait_command: StringCommand that waits until the cloud reports every step as done.
wait: Option<CoverageSetupWait>Result of --wait, present only when the command waited.