feat: skip scaled processes that are missing in the Procfile
This allows folks to deploy apps that don't have a web process without needing to scale that process down before/after the first deploy. Note that the formations key in the app.json or a manual scale of other processes will be necessary to start anything non-web. Closes #5700
This commit is contained in:
@@ -64,6 +64,9 @@ func main() {
|
||||
processType := flag.Arg(1)
|
||||
port := common.ToInt(flag.Arg(2), 5000)
|
||||
err = ps.TriggerProcfileGetCommand(appName, processType, port)
|
||||
case "procfile-exists":
|
||||
appName := flag.Arg(0)
|
||||
err = ps.TriggerProcfileExists(appName)
|
||||
case "ps-can-scale":
|
||||
appName := flag.Arg(0)
|
||||
canScale := common.ToBool(flag.Arg(1))
|
||||
|
||||
Reference in New Issue
Block a user