Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions compiler/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,6 @@ type Engine interface {
// InitStep step process into a yaml configuration.
InitStep(*yaml.Build) (*yaml.Build, error)

// Script Compiler Interface Functions

// ScriptStages defines a function that injects the script
// for each step in every stage in a yaml configuration.
ScriptStages(yaml.StageSlice) (yaml.StageSlice, error)
// ScriptSteps defines a function that injects the script
// for each step in a yaml configuration.
ScriptSteps(yaml.StepSlice) (yaml.StepSlice, error)

// Substitute Compiler Interface Functions

// SubstituteStages defines a function that replaces every
Expand Down
12 changes: 0 additions & 12 deletions compiler/native/compile.go
Original file line number Diff line number Diff line change
Expand Up @@ -417,12 +417,6 @@ func (c *Client) compileSteps(ctx context.Context, p *yaml.Build, _pipeline *api
return nil, _pipeline, err
}

// inject the scripts into the steps
p.Steps, err = c.ScriptSteps(p.Steps)
if err != nil {
return nil, _pipeline, err
}

// create executable representation
build, err := c.TransformSteps(r, p)
if err != nil {
Expand Down Expand Up @@ -525,12 +519,6 @@ func (c *Client) compileStages(ctx context.Context, p *yaml.Build, _pipeline *ap
return nil, _pipeline, err
}

// inject the scripts into the stages
p.Stages, err = c.ScriptStages(p.Stages)
if err != nil {
return nil, _pipeline, err
}

// create executable representation
build, err := c.TransformStages(r, p)
if err != nil {
Expand Down
Loading
Loading