I'm using mina 0.3.8, mina-sidekiq and mina-unicorn in one of my projects.
Recently i'm trying to update mina version from 0.3.8 to 1.0.6. But after follow each step of the migration guide (https://github.com/mina-deploy/mina/blob/master/docs/migrating.md) and get the deploy task "working", i observed a different behavior with the :environment task.
On version 0.3.8, the :environment task is getting executed once, even when there are many other tasks referencing to it. On 1.0.6, its strangely getting executed twice.
The differences can be clearly observed comparing the trace log of the two versions:
Note on the last log that the environment is getting executed two times (one time on "default step" and one time on "launch step"), as if it were invoked the first time.
Doing several tests I realized that any task that is explicit referred to the environment (example: https://cl.ly/381D0P0m3s18) makes the environment task get invoked and executed again.
I dont know if its a real problem, but the rvm:use and the other environment steps are apparently getting executed two times unnecessarily.
Do you guys also experience this behavior with the new version? Is it expected?
Hi guys,
I'm using mina 0.3.8, mina-sidekiq and mina-unicorn in one of my projects.
Recently i'm trying to update mina version from 0.3.8 to 1.0.6. But after follow each step of the migration guide (https://github.com/mina-deploy/mina/blob/master/docs/migrating.md) and get the deploy task "working", i observed a different behavior with the
:environment
task.On version 0.3.8, the
:environment
task is getting executed once, even when there are many other tasks referencing to it. On 1.0.6, its strangely getting executed twice.The differences can be clearly observed comparing the trace log of the two versions:
0.3.8 deploy --trace
1.0.6 deploy --trace
Note on the last log that the
environment
is getting executed two times (one time on "default step" and one time on "launch step"), as if it were invoked the first time.Doing several tests I realized that any task that is explicit referred to the
environment
(example: https://cl.ly/381D0P0m3s18) makes theenvironment
task get invoked and executed again.I dont know if its a real problem, but the
rvm:use
and the other environment steps are apparently getting executed two times unnecessarily.Do you guys also experience this behavior with the new version? Is it expected?