619
620
621
622
623
624
625
626
627
628
629
|
# File 'lib/cnvrg/project.rb', line 619
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
|