New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prompt for release deployment selection when there shouldn't be #167
Comments
Hello. Thanks for the detailed description. The selection you see while deploying are the available built releases in your release store, which you can deploy to a host. If you want to build and deploy a release immediately without that selection, you can use the edeliver And if you want the release selection to be more meaningful, you can add commit-count or the build date to the (auto-) version. |
Awesome. When you write,
I set my release store (I think, unless I'm misunderstanding) to But as you can see from the output above, |
Hey @hut8 , |
Hey, @hut8. This is almost 2 years too late, but these leftover releases are coming from your local release store. For me, this is in my project, at I'm leaving this here in case someone else is having the same question. |
Hey! I'm new to Elixir so this may be a PEBKAC, but thanks for an awesome tool either way. It makes me feel like I'm using Capistrano but better. However I think I've found a bug 馃槚
It almost looks like #36, but I'm pretty sure it's different as I've set
GIT_CLEAN_PATHS=${GIT_CLEAN_PATHS:="rel"}
and it seems like the correct files exist in that directory (rel
contains what I expect; see below).Environment
mix edeliver --version
):edeliver v1.4.0
elixir -v
):Current behavior
I've deployed my app a couple of times. My build and production server are the same machine. I have AUTO_VERSION set:
export AUTO_VERSION='git-revision'
as well asGIT_CLEAN_PATHS=${GIT_CLEAN_PATHS:="rel"}
When I build with
mix edeliver build release --verbose
, it ends (successfully) with the following:So as you can see, I just built
0.0.3+bc2cc13
. Good so far.When I run
mix edeliver deploy release production --clean-deploy --start-deploy --verbose
, I'm met with:Now I'm confused. Isn't
--clean-deploy
supposed to get rid of the old releases? When I search for these releases on the build machine (which is also the production server), here's the output when I try to find where the releases are actually going:Also, listing the releases directory, I get what I expect:
Expected behavior
Because I'm using
--clean-deploy
, I would expect that only0.0.3+bc2cc13
is found when running . I'm not sure why0.0.3+604f892
is found at all (runningsudo find / -iname '*604f892*' 2> /dev/null
on the build/production machine returns nothing ever), and edeliver finds the current production release, which it shouldn't.The text was updated successfully, but these errors were encountered: