Documentation ¶
Index ¶
- type Pipeline
- func (p *Pipeline) AssembleStep() error
- func (p *Pipeline) Cleanup()
- func (p *Pipeline) CompileStep() error
- func (p *Pipeline) DependenciesStep() error
- func (p *Pipeline) DistStep() error
- func (p *Pipeline) PackageStep() error
- func (p *Pipeline) ParseRepoConfig() error
- func (p *Pipeline) PipelineInitStep() error
- func (p *Pipeline) RunHook(hookKey string) error
- func (p *Pipeline) ScmCheckoutPullRequestStep(payload *scm.Payload) error
- func (p *Pipeline) ScmCheckoutPushPayloadStep(payload *scm.Payload) error
- func (p *Pipeline) ScmCleanupStep() error
- func (p *Pipeline) ScmPublishStep() error
- func (p *Pipeline) ScmRetrievePayloadStep() (*scm.Payload, error)
- func (p *Pipeline) Start(config config.Interface) error
- func (p *Pipeline) StepExecNotify(step string, callback func() error) error
- func (p *Pipeline) TestStep() error
- func (p *Pipeline) ValidateTools() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pipeline ¶
type Pipeline struct { Data *pipeline.Data Config config.Interface Scm scm.Interface Engine engine.Interface }
func (*Pipeline) AssembleStep ¶
now that the payload has been processed we can begin by building the code. this may be creating missing files/default structure, compilation, version bumping, etc.
func (*Pipeline) CompileStep ¶
this step should compile source
func (*Pipeline) DependenciesStep ¶
this step should download dependencies
func (*Pipeline) DistStep ¶
this step should push the release to the package repository (ie. npm, chef supermarket, rubygems)
func (*Pipeline) PackageStep ¶
this step should commit any local changes and create a git tag. It should also generate the releaser artifacts. Nothing should be pushed to remote repository
func (*Pipeline) ParseRepoConfig ¶
func (*Pipeline) PipelineInitStep ¶
func (*Pipeline) ScmCheckoutPullRequestStep ¶
func (*Pipeline) ScmCheckoutPushPayloadStep ¶
func (*Pipeline) ScmCleanupStep ¶
func (*Pipeline) ScmPublishStep ¶
func (*Pipeline) ScmRetrievePayloadStep ¶
func (*Pipeline) StepExecNotify ¶
func (*Pipeline) TestStep ¶
run the package test runner(s) (eg. npm test, rake test, kitchen test) and linters/formatters
func (*Pipeline) ValidateTools ¶
validate that required executables are available for the following build/test/package/etc steps