I have been building and deploying an elixir app to production with edeliver. I have now organized the application into an umbrella project and am getting stuck configuring edeliver to build the project.
My initial thoughts were that each app in the umbrella would need its own .deliver/config
and I would have to build and deploy each application in the umbrella independently, which I was cool with. When I run mix edeliver build release
in one of the apps, it starts the build process. However, it ends up creating a build for each of the applications on the build server.
Ultimately, it fails the process at the point where it needs to find the tar to download, with it complaining Please set RELEASE_VERSION=x
. Each app has it's own release version in the mix file which was all that was required to set the release version for the build previously.
ls: cannot access /data/web/staging.my-app.com/build/rel/my-app/releases/*/: No such file or directory
Failed to detect generated release version at
[email protected]:/data/web/staging.my-app.com/build/rel/my-app/releases/
Please set RELEASE_VERSION=x
Detected several releases:
FAILED
2:
ssh
basename: illegal option -- o
usage: basename string [suffix]
basename [-a] [-s suffix] string [...]
ConnectTimeout=3
[email protected]
ls
basename: illegal option -- A
usage: basename string [suffix]
basename [-a] [-s suffix] string [...]
*