ojob ojob.io/docker/ojobrt job=hello.yaml tag=ubi-nightly method=local env.KEY=abc
Runs a provided job in a oJobRT docker container.
Name | Description |
---|---|
job | The path of the oJob to execute (the oJob path will be shared with the container) |
tag | Optionally provide a alternative openaf/ojobrt container tag (default: nightly) |
method | The oJobRT method to use. If different from local the "job" argument will be use as OJOB_CONFIG |
env.KEY | To pass environment variables just add "env.LETTERS=abc env.NUMBERS=123 …" where LETTERS and NUMBERS will be the keys assuming each corresponding value |