453
454
455
456
457
458
459
460
461
462
463
|
# File 'lib/cnvrg/project.rb', line 453
def deploy(file_to_run, function, input_params, commit_to_run, instance_type, image_slug, scheduling_query, local_timestamp,workers, file_input, title)
response = Cnvrg::API.request("users/#{@owner}/projects/#{@slug}/deploy", 'POST', {file_to_run: file_to_run, function: function,
image_slug: image_slug, input_params: input_params,
commit_sha1: commit_to_run,
instance_type: instance_type,
scheduling_query: scheduling_query,
local_timestamp: local_timestamp,
workers:workers,file_input:file_input,
title: title})
return response
end
|