change script to pipeline

This commit is contained in:
Brad Rydzewski 2016-05-04 16:06:40 -07:00
parent 712319c913
commit eaf2d30335
3 changed files with 4 additions and 3 deletions

View file

@ -45,6 +45,7 @@ func (v *workspaceOp) VisitContainer(node *parse.ContainerNode) error {
// container should launch in the workspace
return nil
}
node.Container.WorkingDir = node.Root().Path
root := node.Root()
node.Container.WorkingDir = root.Path
return nil
}

View file

@ -141,7 +141,7 @@ type root struct {
Volumes volumeList
Networks networkList
Services containerList
Script containerList
Script containerList `yaml:"pipeline"`
Cache container
Clone container
Build build

View file

@ -64,7 +64,7 @@ clone:
cache:
mount: node_modules
script:
pipeline:
test:
image: golang
commands: