Job Type: Workflow

October 3, 2018 ยท View on GitHub

If you have many jobs you might want to structure them in different files.

An example job definition:

{
    "version": 1,
    "jobs": [{
        "type": "workflow",
        "name": "deploy",
        "infrabox_file": "deployments.json",
        "depends_on": ["test"]
    }]
}
NameRequiredTypeDefaultDescription
typetruestringHas to be "git" to include a workflow from the same repository
nametruestringName of the job
infrabox_filetruestringPath to another infrabox.json file
depends_onfalseDependency Configuration[]Jobs may have dependencies. You can list all jobs which should finish before the current job may be executed.