promote

package
v0.2.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoPromote

func DoPromote(dir string, info version.Info, osArgs ...string) int

func Promote

func Promote(dir, name, timestamp string, target *config.Gitops, args Args, gitConfig config.Git) error

Types

type Args

type Args struct {
	args.Globals
	Target     string `arg:"" name:"target" help:"the target in the .buildtools.yaml" default:""`
	Tag        string `name:"tag" help:"override the tag to deploy, not using the CI or VCS evaluated value" default:""`
	URL        string `name:"url" help:"override the URL to the Git repository where files will be generated" default:""`
	Path       string `name:"path" help:"override the path in the Git repository where files will be generated" default:""`
	User       string `name:"user" help:"username for Git access" default:"git"`
	PrivateKey string `name:"key" help:"private key for Git access (defaults to ~/.ssh/id_rsa)" default:""`
	Password   string `name:"password" help:"password for private key" default:""`
	Out        string `name:"out" short:"o" help:"write output to specified file instead of committing and pushing to Git" default:""`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL