busbar-actions/Busbar — sf-snapshot

Create a Salesforce scratch-org snapshot (OrgSnapshot) via direct API. Auths the DevHub via busbar-auth.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
target-instancePRIMARY OIDC path: instance URL of the Busbar-equipped DevHub to mint a short-lived token against (e.g. busbar-pilot-demo2). Passed to the binary as SF_INSTANCE_URL; with `id-token: write` granted, busbar-auth OIDC-exchanges in-process (no SF_ACCESS_TOKEN handoff).no""
nameSnapshot name (unique within the DevHub).yes
source-org15- or 18-char id of the source scratch org (the `ScratchOrg` field from sf-org-create output).yes
descriptionOptional description.no""
contentOptional content selector (usually `metadatadata`).no""
poll-timeout-secsSeconds to wait for the snapshot to reach Active (can take 30+ min for large orgs).no3600
result-outputPath to write the snapshot result JSON.no.busbar/snapshot-result.json
versionRelease tag of the sf-snapshot binary. Falls back to env.BUSBAR_ACTION_VERSION, then "latest".no""
binary-repoGitHub repo hosting prebuilt binary releases. Falls back to env.BUSBAR_ACTION_REPO, then busbar-actions/actions-dist.no""
namedescription
snapshot-idOrgSnapshot record id (pass to sf-org-delete --snapshot-id when retiring).
statusFinal status (Active on success).
snapshot-nameCanonical snapshot name.
rotated"true" when zero-downtime rotation was used.
expiration-dateSnapshot expiration date when provided by Salesforce.
result-pathPath to the JSON file containing the snapshot result.