Example schema
Layerfile runner ID
Layerfile runners are indentified by a string composed of the runner name and index sepreated by a dash. A Layerfile runner’s name is determined in one of three ways:- A display name is set using the
LABELdirective - The naming structure of the directories containing the Layerfile containing names of up two two parent directories sepreated by a dash
- If the Layerfile is not in a directory it will be named
main-layerfile
SPLIT directive.
Examples
A Layerfile that contains the instruction:Layerfile
cool_layerfile_name.
If the Layerfile runner is retried the id of the new Layerfile runner will be cool_layerfile_name-2
A layerfile in the directory /Cypress/Layerfile will have the id Cypress.
A layerfile in the directory /Tests/Cypress/Layerfile will have the id Tests-Cypress.
A layerfile in the directory /Layerfiles/Tests/Cypress/Layerfile will have the id Tests-Cypress.
A Layerfile in the directory /Cypress/Layerfile that contains the instruction:
Layerfile
Cypress
Cypress-2
Cypress-3
Get the Layerfile runners for a given CI job
It’s often useful to get the most recent CI job given specific filters. This API endpoint allows for that.Prioritize a Layerfile runner snapshot
status can be one of "ok" or "error". If the latter exists, an "error"
value will be included with an explanation.