Esta página só existe em inglês. O menu e os outros textos seguem em português.
rapadura plan
Show what a change would be, and whether it waits for a person, before you make it
Synopsis
Plans a change and stores nothing. The answer is the exact plan and its digest (the artifact, the environment revision, the names of the secrets the code runs with, the jobs, the caps), whether the change waits for a person's decision and why, the conditions the plan holds under (when one changes before the change runs, an approval of it is stale and a new plan is needed) and what cannot be undone: a code rollback does not reverse a migration or anything the code sent. The checks are the change's own, so a change that would be refused is refused here.
rapadura plan agenda --action site.rollback --version 3 rapadura plan agenda --action env.apply --set APP_URL=https://x.example --secret MAIL_PASSWORD rapadura plan agenda --action cron.set --jobs-file jobs.json rapadura plan blog --action domain.add --domain www.example.com.br
Actions: site.publish, site.rollback, site.delete, site.restore, site.purge, env.apply, cron.set, caps.set, domain.add, domain.remove. A secret is given by name; its value is never part of a plan.
rapadura plan <host> [flags]
Options
--action string the change to plan: site.publish, site.rollback, site.delete, site.restore, site.purge, env.apply, cron.set, caps.set, domain.add, domain.remove
--caps string for caps.set (the owner's): memory=512,cpus=1,disk=2048,pids=256
--domain string the domain of domain.add or domain.remove
-h, --help help for plan
--jobs-file string for cron.set: a JSON file with the whole new job list
--secret stringArray for env.apply: the name of a secret to set; its value is not asked and not part of a plan (repeatable)
--set stringArray for env.apply: a variable to set, KEY=value (repeatable)
--unset stringArray for env.apply: a key to remove (repeatable)
--version int the held version of a site.publish, or the version to roll back to
Options inherited from parent commands
--gateway string gateway URL (default from credentials, RAPADURA_GATEWAY or http://127.0.0.1:8090)
--json machine-readable JSON output
--request-key string a key (1 to 128 printable characters) that makes sending this change again safe: the gateway answers the first attempt's operation (default: a fresh random key per command)
SEE ALSO
- rapadura - Publish and manage sites and apps on rapadura.space