#799: fixed run list for deploy scheme 1
This commit is contained in:
parent
9233c49ae5
commit
725d58a346
@ -345,6 +345,8 @@ module Devops
|
|||||||
end
|
end
|
||||||
@out.flush
|
@out.flush
|
||||||
cmd << " -j http://#{DevopsConfig.config[:address]}:#{DevopsConfig.config[:port]}/#{DevopsConfig.config[:url_prefix]}/v2.0/deploy/data/#{file}"
|
cmd << " -j http://#{DevopsConfig.config[:address]}:#{DevopsConfig.config[:port]}/#{DevopsConfig.config[:url_prefix]}/v2.0/deploy/data/#{file}"
|
||||||
|
else
|
||||||
|
cmd << " -r #{deploy_info["run_list"].join(",")}"
|
||||||
end
|
end
|
||||||
ip = if @server.public_ip.nil?
|
ip = if @server.public_ip.nil?
|
||||||
@server.private_ip
|
@server.private_ip
|
||||||
@ -425,7 +427,7 @@ module Devops
|
|||||||
def create_run_list out, deploy_info
|
def create_run_list out, deploy_info
|
||||||
out << "\nGenerate run list hook...\n"
|
out << "\nGenerate run list hook...\n"
|
||||||
if deploy_info["run_list"]
|
if deploy_info["run_list"]
|
||||||
out << "Deploy info already contains 'run_list': #{deploy_info["run_list"].join(",")}\n"
|
out << "Deploy info already contains 'run_list': #{deploy_info["run_list"].join(", ")}\n"
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
out << "Project run list: #{@project.run_list.join(", ")}\n"
|
out << "Project run list: #{@project.run_list.join(", ")}\n"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user