Method: Cnvrg::Project#deploy

Defined in:
lib/cnvrg/project.rb

#deploy(file_to_run, function, input_params, commit_to_run, instance_type, image_slug, scheduling_query, local_timestamp, workers, file_input) ⇒ Object



413
414
415
416
417
418
419
420
421
422
# File 'lib/cnvrg/project.rb', line 413

def deploy(file_to_run, function, input_params, commit_to_run, instance_type, image_slug, scheduling_query, local_timestamp,workers, file_input)
  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})
  return response
end