in lib/google/serverless/exec.rb [687:707]
def start_deployment_strategy app_info
describe_deployment_strategy
entrypoint_file = app_yaml_file = temp_version = nil
begin
puts "\n---------- DEPLOY COMMAND ----------"
secret = create_secret
entrypoint_file = copy_entrypoint secret
app_yaml_file = copy_app_yaml app_info, entrypoint_file
temp_version = deploy_temp_app app_yaml_file
puts "\n---------- EXECUTE COMMAND ----------"
puts "COMMAND: #{@command.inspect}\n\n"
exit_status = track_status temp_version, secret
puts "\nEXIT STATUS: #{exit_status}"
ensure
puts "\n---------- CLEANUP ----------"
::File.unlink entrypoint_file if entrypoint_file
::File.unlink app_yaml_file if app_yaml_file
delete_temp_version temp_version
end
end