0
0
forked from toolshed/abra

WIP: make "abra app new" callable by code

Part of coop-cloud/organising#212.
This commit is contained in:
2021-11-03 09:10:13 +01:00
parent f041083604
commit 7d8e2d9dd1
5 changed files with 308 additions and 282 deletions

View File

@ -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
}