actions

package
v0.0.0-...-9340bfe Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2016 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TagFlag represents the '-tag' flag
	TagFlag = "tag"
	// PullPolicyFlag represents the '-pull-policy' flag
	PullPolicyFlag = "pull-policy"
	// OrgFlag represents the '-org' flag
	OrgFlag = "org"
	// ShaFilepathFlag represents the --sha-filepath flag
	ShaFilepathFlag = "sha-filepath"
	// YesFlag represents the --yes flag
	YesFlag = "yes"
	// RepoFlag represents the '-repo' flag
	RepoFlag = "repo"
	// RefFlag represents the '-ref' flag (for specifying a SHA, branch or tag)
	RefFlag = "ref"
	// GHOrgFlag represents the '-ghOrg' flag
	GHOrgFlag = "ghOrg"
	// StagingDirFlag represents the '-stagingDir' flag
	StagingDirFlag = "stagingDir"
	// IncludeClosed represents the '--includeClosed' flag
	IncludeClosed = "includeClosed"
)
View Source
const (
	// ShortFlag is the cli flag that indicates whether to show short or long SHAs
	ShortFlag = "short"
)

Variables

View Source
var (

	// RouterChart represents the router chart and its files needing updating
	// for a release
	RouterChart = helmChart{
		Name:     "router-dev",
		Template: generateParamsRouterTpl,
		Files: []string{
			"README.md",
			"Chart.yaml",
		},
	}

	// WorkflowChart represents the workflow chart and its files needing updating
	// for a release
	WorkflowChart = helmChart{
		Name:     "workflow-dev",
		Template: generateParamsTpl,
		Files: []string{
			"README.md",
			"Chart.yaml",
		},
	}

	// WorkflowE2EChart represents the workflow e2e chart and its files needing updating
	// for a release
	WorkflowE2EChart = helmChart{
		Name:     "workflow-dev-e2e",
		Template: generateParamsE2ETpl,
		Files: []string{
			"README.md",
			"Chart.yaml",
			filepath.Join("tpl", "generate_params.toml"),
		},
	}
)

Functions

func GenerateChangelog

func GenerateChangelog(client *github.Client, dest io.Writer) func(*cli.Context) error

GenerateChangelog is the CLI action for creating an aggregated changelog from all of the Deis Workflow repos.

func GenerateIndividualChangelog

func GenerateIndividualChangelog(client *github.Client, dest io.Writer) func(*cli.Context) error

GenerateIndividualChangelog is the CLI action for creating a changelog for a single repo

func GetShas

func GetShas(ghClient *github.Client) func(c *cli.Context) error

GetShas is the CLI action for getting github shas of all of the Deis Workflow repos

func GitTag

func GitTag(client *github.Client) func(c *cli.Context) error

GitTag creates the CLI action for the 'deisrel git tag' command

func HelmStageE2E

func HelmStageE2E(ghClient *github.Client) func(*cli.Context) error

HelmStageE2E is the cli handler for generating a release helm chart for deis-e2e

func HelmStageRouter

func HelmStageRouter(ghClient *github.Client) func(*cli.Context) error

HelmStageRouter is the cli handler for generating a release helm chart for router

func HelmStageWorkflow

func HelmStageWorkflow(ghClient *github.Client) func(*cli.Context) error

HelmStageWorkflow is the cli handler for generating a release helm chart for workflow

func MoveMilestone

func MoveMilestone(ghClient *github.Client) func(c *cli.Context) error

func NopWriteCloser

func NopWriteCloser(w io.Writer) io.WriteCloser

NopWriteCloser returns a WriteCloser with a no-op Close method wrapping the provided Writer w.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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