feat: add support for formation key in app.json file

Still needs triggers for ps-can-scale and ps-scale-set.

Refs #4500
This commit is contained in:
Jose Diaz-Gonzalez
2021-03-22 00:24:56 -04:00
parent 9d0bc930a6
commit 6d9520e599
3 changed files with 52 additions and 8 deletions

View File

@@ -64,6 +64,10 @@ func TriggerPreDeploy(appName string, imageTag string) error {
return err
}
if err := setScale(appName, image); err != nil {
return err
}
if common.PropertyGet("common", appName, "deployed") == "true" {
return nil
}