pipeline

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAndPush

func BuildAndPush(ctx context.Context, cfg *config.DeployConfig, opts *DeployOptions) (string, error)

BuildAndPush is the exported entry point for the standalone build command

func Deploy

func Deploy(ctx context.Context, opts *DeployOptions) error

Deploy executes the full deployment pipeline

Types

type DeployOptions

type DeployOptions struct {
	ConfigPath  string
	Environment string
	EnvFile     string
	DeployInfra bool
	SkipSSM     bool
	DryRun      bool
	StreamLogs  bool
	Wait        bool
	TailLines   int
	Message     string
}

DeployOptions configures a deployment pipeline run

type Deployer

type Deployer interface {
	Update(ctx context.Context, cfg *config.DeployConfig, env, imageURI string) error
	WaitStable(ctx context.Context, cfg *config.DeployConfig, env string) error
}

Deployer performs the runtime-specific "update to new image" step and an optional wait for the deployment to stabilize.

Jump to

Keyboard shortcuts

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