This repository helps to use notebook as a workflow.
Starts service without container:
nb2service tests/testrepo/workflow-notebook.ipynb
Builds service container and starts it:
nb2worker tests/testrepo/
Builds one-shot container and cwl:
nb2worker tests/testrepo/ --build --job
Generates cwl:
nb2cwl tests/testrepo/
Deploys a service
Building and deploying RESTful (Swagger) service:
$ nb2deploy https://renkulab.io/gitlab/vladimir.savchenko/oda-sdss legacysurvey
Alternatively, using kaniko
:
$ nb2deploy https://renkulab.io/gitlab/astronomy/mmoda/fermi fermi-an-test --build-engine kaniko
Motivation
See development guide for details https://odahub.io/docs/guide-development/