capistrano_multiconfig_parallel 2.0.0.beta2 → 2.0.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc6c00a21fbf7faf7a052902b3c12ded21479384
|
4
|
+
data.tar.gz: cfe3da7e2c52eea6c80e8854864893f9f619f7e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dea45eb7c462650b47d8dc5f637ba5dd613e54b8b532adda39862ee6640bbe8b50557938c048c67b09cde63b2efe52e320f41d93b51ef2e254d7eb5373f8817
|
7
|
+
data.tar.gz: 0a6ab329fd5f60c6828e6608d95afbc3436a59c7ecc8251b7135b501496637d8e6a547647fbc83ee0a0805a5f63d7a886a453e4e4a4ed597159c5e1bf910937a
|
@@ -87,8 +87,7 @@ module CapistranoMulticonfigParallel
|
|
87
87
|
def execute_deploy
|
88
88
|
log_to_file("invocation chain #{@job_id} is : #{@rake_tasks.inspect}")
|
89
89
|
check_child_proces
|
90
|
-
job.
|
91
|
-
command = job.command.fetch_deploy_command
|
90
|
+
command = job.fetch_deploy_command
|
92
91
|
log_to_file("worker #{@job_id} executes: #{command}")
|
93
92
|
@child_process.async.work(@job, command, actor: Actor.current, silent: true)
|
94
93
|
end
|
@@ -174,6 +174,7 @@ module CapistranoMulticonfigParallel
|
|
174
174
|
end
|
175
175
|
|
176
176
|
def fetch_deploy_command
|
177
|
+
prepare_application_for_deployment
|
177
178
|
# config_flags = CapistranoMulticonfigParallel.configuration_flags.merge("capistrano_version": job_capistrano_version)
|
178
179
|
environment_options = setup_command_line.join(' ')
|
179
180
|
command = "#{check_rvm_loaded} && if [ `which bundler |wc -l` = 0 ]; then gem install bundler;fi && (#{bundle_gemfile_env(@job_final_gemfile)} bundle check || #{bundle_gemfile_env(@job_final_gemfile)} bundle install ) && WEBSOCKET_LOGGING=#{debug_websocket?} LOG_FILE=#{websocket_config.fetch('log_file_path', nil)} #{bundle_gemfile_env(@job_final_gemfile)} bundle exec cap #{job_stage} #{capistrano_action} #{environment_options}"
|