cicd

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2025 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ActionsCmd = &cli.Command{
	Name:   "actions",
	Usage:  "Copies action files templates",
	Action: cmdtools.Wrap(ActionTemplates),
}
View Source
var BackupCmd = &cli.Command{
	Name:   "backup",
	Usage:  "Generate backup workflows for resources",
	Action: cmdtools.Wrap(BackupWorkflow),
}
View Source
var Command = &cli.Command{
	Name:        "cicd",
	Usage:       "Manage github workflows",
	Description: "Command for working with github CI/CD workflows",
	Commands: []*cli.Command{
		ActionsCmd,
		BackupCmd,
		DriftCmd,
	},
}

Command defines the env commands for interacting and generating github workflow/action file artifacts.

View Source
var DriftCmd = &cli.Command{
	Name:   "drift",
	Usage:  "Creates the drift detection workflow",
	Action: cmdtools.Wrap(DriftDetection),
}

Functions

func ActionTemplates

func ActionTemplates(_ context.Context, input cmdtools.CommandInput) error

ActionTemplates copies action.yaml files from the templates folder so services can use re-usable workflow helpers in CI/CD.

func AppPRWorkflow

func AppPRWorkflow(_ context.Context, input cmdtools.CommandInput) error

AppPRWorkflow bootstraps all the GitHub workflows for a WebKit application.

func BackupWorkflow

func BackupWorkflow(_ context.Context, input cmdtools.CommandInput) error

BackupWorkflow creates backup workflows for every resource if the backup config is enabled.

func DriftDetection

func DriftDetection(_ context.Context, input cmdtools.CommandInput) error

DriftDetection simply copies the drift detection workflow.

Types

This section is empty.

Jump to

Keyboard shortcuts

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