mirror of https://github.com/databricks/cli.git
21 lines
414 B
Go
21 lines
414 B
Go
|
package phases
|
||
|
|
||
|
import (
|
||
|
"github.com/databricks/bricks/bundle"
|
||
|
"github.com/databricks/bricks/bundle/artifacts"
|
||
|
"github.com/databricks/bricks/bundle/deploy/terraform"
|
||
|
)
|
||
|
|
||
|
// The deploy phase deploys artifacts and resources.
|
||
|
func Deploy() bundle.Mutator {
|
||
|
return newPhase(
|
||
|
"deploy",
|
||
|
[]bundle.Mutator{
|
||
|
artifacts.UploadAll(),
|
||
|
terraform.Interpolate(),
|
||
|
terraform.Write(),
|
||
|
terraform.Apply(),
|
||
|
},
|
||
|
)
|
||
|
}
|