Documentation
¶
Index ¶
- func NewCommand(ctx context.Context, cfg config.Config, repo *git.Repository, ...) (string, error)
- func PromoteCommand(ctx context.Context, cfg config.Config, repo *git.Repository) (string, error)
- func Run(ctx context.Context, args []string) (string, error)
- func StatusCommand(ctx context.Context, cfg config.Config, repo *git.Repository) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
func NewCommand(ctx context.Context, cfg config.Config, repo *git.Repository, group, app, tag string) (string, error)
NewCommand creates the initial PR which is going to be merged to the first environment. The main difference to PromoteCommand is that it does not use a previous PR to create the first PR.
func PromoteCommand ¶
PromoteCommand is run after a PR is merged. It creates a new PR for the next environment if there is one present.
func StatusCommand ¶
StatusCommand is run inside a PR to check if the PR can be merged.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.