Documentation ¶
Index ¶
- func FeatureDeleteStaleCommand(ctx context.Context, cfg config.Config, repo *git.Repository, ...) (string, error)
- func FeatureNewCommand(ctx context.Context, cfg config.Config, repo *git.Repository, ...) (string, error)
- 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 FeatureDeleteStaleCommand ¶ added in v1.1.0
func FeatureNewCommand ¶ added in v1.1.0
func FeatureNewCommand(ctx context.Context, cfg config.Config, repo *git.Repository, group, app, tag, feature string) (string, error)
FeatureNewCommand is similar to NewCommand but creates a PR with a temporary deployment of the application. A totally new application will be created instead of overriding the existing application deployment.
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.