|
|
@ -83,6 +83,13 @@ func Convert(d []byte, remote string) ([]byte, error) {
|
|
|
|
toContainer(container),
|
|
|
|
toContainer(container),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
} else if os.Getenv("DRONE_CONVERT_YAML_LEGACY_CLONE") == "true" {
|
|
|
|
|
|
|
|
pipeline.Clone.Disable = true
|
|
|
|
|
|
|
|
pipeline.Steps = append(pipeline.Steps, &droneyaml.Container{
|
|
|
|
|
|
|
|
Name: "clone",
|
|
|
|
|
|
|
|
Image: "plugins/git",
|
|
|
|
|
|
|
|
Pull: "if-not-exists",
|
|
|
|
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
for _, container := range from.Services.Containers {
|
|
|
|
for _, container := range from.Services.Containers {
|
|
|
|