stdmagesvc

package
v0.0.157 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPush

func BuildPush(deploymentIdent string) error

BuildPush will build new container and push them to the registry.

func Deploy

func Deploy(deploymentIdent string) error

Deploy the service by forcing a new deployment and waiting for it to be stable.

func DockerLogin

func DockerLogin() error

DockerLogin logs docker into ther registry.

func Init

func Init(
	awsProfile string,
	awsRegion string,
	registry string,
	stackName string,
	exportPrefix string,
	serviceIdent string,
	composeProbjectName string,
	dockerImagePrefix string,
	ecsClusterName string,
	_ ...[]string,
)

Init inits the mage targets. The weird signature is to make Mage ignore this when importing.

func PrintDeploymentInfo

func PrintDeploymentInfo() error

Types

type Deployment

type Deployment struct {
	Services map[string]*Service
}

Deployment describes deployment information.

type Deployments

type Deployments map[string]*Deployment

Deployments hold the deployments we found.

func ReadDeploymentInfo

func ReadDeploymentInfo() (Deployments, error)

ReadDeploymentInfo will read the exports of the stack and structure it in service information.

type Service

type Service struct {
	RepositoryName string
	MainImageTag   string
	ServiceName    string
}

Service describes service information.

Jump to

Keyboard shortcuts

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