Documentation
¶
Overview ¶
Package ci implements `w17ctl ci` — the automation that builds the images and deploys the declared infrastructure. The choice is one SetInfra lock edit (the CI block plus each environment's deploy branch); the workflows themselves are rendered by the console during codegen into .github/workflows/w17-*.yaml.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cmd ¶
type Cmd struct {
Init InitCmd `` /* 286-byte string literal not displayed */
Update UpdateCmd `cmd:"" help:"Change the CI choice. The same prompts, each defaulting to what the lock declares now."`
Show ShowCmd `cmd:"" help:"Print the CI choice and what to set up in GitHub."`
Remove RemoveCmd `cmd:"" help:"Stop generating the workflows. The next codegen deletes the w17-*.yaml it wrote."`
}
Cmd is `w17ctl ci`.
type InitCmd ¶
type InitCmd struct {
// contains filtered or unexported fields
}
InitCmd is `w17ctl ci init`.
type RemoveCmd ¶
type RemoveCmd struct {
LockPath string `name:"lock" placeholder:"PATH" default:"w17/lock.yaml" help:"Path to the lock file."`
Console string `` /* 176-byte string literal not displayed */
}
RemoveCmd is `w17ctl ci remove`.
Click to show internal directories.
Click to hide internal directories.