forked from toolshed/abra
WIP: make "abra app new" callable by code
Part of coop-cloud/organising#212.
This commit is contained in:
@ -330,8 +330,15 @@ func createServerDir(domainName string) error {
|
||||
}
|
||||
|
||||
func deployTraefik(c *cli.Context, cl *dockerClient.Client, domainName string) error {
|
||||
// TODO: implement
|
||||
logrus.Warn("NOT IMPLEMENTED - COMING SOON")
|
||||
internal.NoInput = true
|
||||
internal.RecipeName = "traefik"
|
||||
internal.NewAppServer = domainName
|
||||
internal.NewAppName = config.SanitiseAppName(domainName)
|
||||
if err := internal.NewAction(c); err != nil {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
|
||||
// TODO: run app deploy with all args passed through
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user