pipelines

package
v0.0.0-...-b57fd63 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPipelines

func GetPipelines() map[string]*Pipeline

func LoadPipelines

func LoadPipelines(directory string) error

Types

type Build

type Build struct {
	Triggers  []BuildTrigger
	Stages    []BuildStage
	Artifacts []string
}

type BuildCommand

type BuildCommand struct {
	RunBash  string
	Run      string
	ExitCode int
}

type BuildStage

type BuildStage struct {
	Image    string
	Workdir  string
	Commands []BuildCommand
}

type BuildTrigger

type BuildTrigger struct {
	Cron string
}

type Pipeline

type Pipeline struct {
	Repository *Repository
	Build      *Build
}

type Repository

type Repository struct {
	Origin string
	Branch string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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