Documentation
¶
Overview ¶
Package deploy implements `w17ctl deploy` — one person's way from the laptop to an environment, swarm or cloud. It runs what the deploy workflow runs, on the same generated scripts, with the operator's own credentials; what it skips is the review, the release branch and the record a CI run leaves — which is why it says so every time.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct {
Env string `name:"env" required:"" help:"The environment to deploy (deploy/<env>/)."`
Expect string `` /* 191-byte string literal not displayed */
StateBucket string `` /* 146-byte string literal not displayed */
WithTests bool `name:"with-tests" help:"Run the e2e suite (w17ctl test) first; a red suite stops the deploy."`
AllowDirty bool `name:"allow-dirty" help:"Deploy a tree with uncommitted changes (the images are then tagged as dirty)."`
BuildFlags []string `name:"build-flag" placeholder:"FLAG" help:"Passed to every docker build, e.g. --build-flag=--build-arg=X=1. Repeatable."`
Key string `name:"key" placeholder:"FILE" help:"The environment's age key file. Default: $SOPS_AGE_KEY, then $SOPS_AGE_KEY_FILE."`
LockPath string `name:"lock" placeholder:"PATH" default:"w17/lock.yaml" help:"Path to the lock file."`
Console string `` /* 160-byte string literal not displayed */
}
Cmd is `w17ctl deploy`.
Click to show internal directories.
Click to hide internal directories.