-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Some applications may want to run different services in different environments. For example a production application might run specific background workers for priority tasks while non-production runs all background workers as a single service.
If the user sets an APPPACK_TOML environment variable, the builder should try to load TOML from that path. If it doesn't exist, the build should fail.
An example would be a user setting apppack -a <app_name> config set APPPACK_TOML=apppack.minimal.toml. Subsequent builds should load apppack.minimal.toml instead of apppack.toml.
This will require updating some hard-coded references. Here are a couple examples, but there may be others:
apppackTomlExists, err := b.state.FileExists("apppack.toml") if _, err := os.Stat("apppack.toml"); os.IsNotExist(err) {
CuriousLearner and blsmth
Metadata
Metadata
Assignees
Labels
No labels