Open buildreactive opened 9 months ago
Oh.
I see. Took a while figure this out but fly launch
doesn't seem to work with umbrella apps. :( Looks like it's trying to do a phx.gen.release
in the root:
mix phx.gen.release
** (Mix) mix phx.gen.release is not supported in umbrella applications.
Run this task in your web application instead.
But if I try from the individual applications I run into other problems:
=> CACHED [builder 14/17] RUN mix compile 0.0s
=> ERROR [builder 15/17] COPY config/runtime.exs config/ 0.0s
------
> [builder 5/17] COPY mix.exs mix.lock ./:
------
------
> [builder 8/17] COPY config/config.exs config/prod.exs config/:
------
------
> [builder 15/17] COPY config/runtime.exs config/:
------
Error: failed to fetch an image or build from source: error building: failed to solve: failed to compute cache key: "/config/runtime.exs" not found: not found
Describe the bug
flyctl
fails to launch app and exits without useful diagnostics:fly v0.1.131 darwin/arm64 Commit: b530c016ec97c797ed68a9842796034eb157b883-dirty BuildDate: 2023-12-01T20:01:40Z
** Paste your
fly.toml
flyctl
exits before writing thefly.toml
(so there is none).Command output:
I tried running the following to get diagnostic output:
Results were uninformative. Truncating as there was a lot of output.
The next line should have been:
But it never gets there.