544
545
546
547
548
549
550
551
552
553
554
|
# File 'lib/cnvrg/project.rb', line 544
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
|