run

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package run implements the "run" step of pipelines.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(
	ctx context.Context,
	cfg *config.Config,
	pipeline *pipelines.Pipeline,
	name names.Name,
	specNames []string,
	k8sClient *k8s.K8s,
) error

Exec runs the commands of a pipeline.

func ExecBaseCommand added in v0.1.0

func ExecBaseCommand(
	ctx context.Context,
	cfg *config.Config,
	name names.Name,
	specName string,
	spec *pipelines.BaseCommand,
	sharedEnv []string,
	k8sClient *k8s.K8s,
) error

ExecBaseCommand executes a base command. Base commands can be test commands, hooks, batch commands, ...

func ExecHooks added in v0.1.0

func ExecHooks(
	ctx context.Context,
	cfg *config.Config,
	name names.Name,
	specName string,
	hooks []pipelines.CommandHook,
	sharedEnv []string,
	k8sClient *k8s.K8s,
) error

ExecHooks executes a slice of hooks. The hooks can depend on each other. They cannot depend on hooks not defined in the slice.

Types

This section is empty.

Directories

Path Synopsis
Package batch implements batch execution.
Package batch implements batch execution.
Package env implements environment variable templating.
Package env implements environment variable templating.

Jump to

Keyboard shortcuts

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