mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-03-11 13:59:36 +02:00
Merge pull request #1618 from bradrydzewski/master
change script to pipeline per feedback
This commit is contained in:
commit
30a0e4f873
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -64,7 +64,7 @@ clone:
|
||||
cache:
|
||||
mount: node_modules
|
||||
|
||||
script:
|
||||
pipeline:
|
||||
test:
|
||||
image: golang
|
||||
commands:
|
||||
|
Loading…
x
Reference in New Issue
Block a user