steps

package
v0.0.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Jobs = []jobs.IJob{}

All jobs

Functions

func AddAllSteps

func AddAllSteps(ctx common.DCtx, wrk *engine.Workspace) error

Creates jobs of all required steps

func AddBuildSteps

func AddBuildSteps(ctx common.DCtx, wrk *engine.Workspace) error

Creates jobs of build image step

For all required projects

func AddCustomScriptSteps

func AddCustomScriptSteps(ctx common.DCtx, wrk *engine.Workspace) error

Creates jobs of run custom script step

First it checks if it needed

func AddDeploySrvSteps

func AddDeploySrvSteps(ctx common.DCtx, wrk *engine.Workspace) error

Creates jobs of deploy service step

For all required services

func AddPreapreEnvSteps

func AddPreapreEnvSteps(ctx common.DCtx, wrk *engine.Workspace) error

Creates jobs of prepare environment step

For all required environment

func AddRemoveEnvSteps

func AddRemoveEnvSteps(ctx common.DCtx, wrk *engine.Workspace) error

Creates jobs of remove environment step

For all required environments

func AddRemoveSrvSteps

func AddRemoveSrvSteps(ctx common.DCtx, wrk *engine.Workspace) error

Creates jobs of remove service step

For all required steps

func PrintErrors

func PrintErrors(ctx common.DCtx) bool

Prints errors of all jobs with state "ERROR"

func PrintJobsTableState

func PrintJobsTableState(ctx common.DCtx)

Prints table with jobs state

func PrintJobsTableToDo

func PrintJobsTableToDo(ctx common.DCtx)

Prints table with jobs to do

func RunJobs

func RunJobs(ctx common.DCtx, threads int)

Runs all existings jobs

Types

This section is empty.

Jump to

Keyboard shortcuts

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