View source: R/gateaux_job_runner.R
gateaux_job_runner | R Documentation |
Call arbitrary gateaux jobs from R
gateaux_job_runner(
pars_list = NULL,
report_name,
server = "gorbachev.io",
JWT,
log_jobs = T,
prefix = "jobs",
append = TRUE,
cpus = "",
memory = ""
)
pars_list |
A named list of named lists of environment variables and job requirements - one list per job. Each named list defines a job tag (name), with up to three sub-lists: * pars (named environment variables passed to the job), * wants (named optional job dependencies), * requires (named required job dependencies). |
report_name |
The name of the job |
JWT |
String: Authentication token. |
log_jobs |
Export job parameters to logfile? |
prefix |
for the list, can include path |
append |
append to existing file? |
cpus |
cpus for apparatchik, will override any gorbachev.yaml settings |
memory |
memory for apparatchik, will override any gorbachev.yaml settings#' |
Server |
The gateaux server url to use. defaults to gorbachev.io |
JSON API return
Dragonfly bakery
pars = list(Run1 = list(pars = list(Env1 = "This_env", Env2 = "That_env"), wants = list(Upstream_job = 1234), requires = list(Upstream_job2 = 4321)),
Run2 = list(pars = list(Env1 = "That_env", Env2 = "This_env"), wants = list(Upstream_job = 2222), requires = list(Upstream_job2 = 4321)))
gateaux_job_runner(pars,
report_name = "bakeR-testreport",
JWT = JWT)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.