From tag to published release
From tag to published release, with two lanes, a decision and a loop back. Illustrative process. Recipe "Release flow" in the Recipes guide of the documentation.
From tag to published release
examples/recipes/release-flow/spec.json{
"schemaVersion": 1,
"type": "flow",
"title": "From tag to published release",
"source": "Illustrative process for this recipe",
"width": 1000,
"height": 700,
"flow": {
"lanes": [
{
"id": "dev",
"label": "Maintainer"
},
{
"id": "ci",
"label": "Pipeline"
}
],
"nodes": [
{
"id": "tag",
"label": "Push version tag",
"kind": "start",
"lane": "dev"
},
{
"id": "build",
"label": "Build artifacts",
"lane": "ci"
},
{
"id": "sums",
"label": "Write checksums",
"lane": "ci"
},
{
"id": "ok",
"label": "Checks pass?",
"kind": "decision",
"lane": "ci"
},
{
"id": "fix",
"label": "Fix and retag",
"lane": "dev"
},
{
"id": "publish",
"label": "Publish release",
"kind": "end",
"lane": "ci"
}
],
"edges": [
{
"from": "tag",
"to": "build"
},
{
"from": "build",
"to": "sums"
},
{
"from": "sums",
"to": "ok"
},
{
"from": "ok",
"to": "publish",
"label": "yes"
},
{
"from": "ok",
"to": "fix",
"label": "no"
},
{
"from": "fix",
"to": "tag"
}
]
},
"mobile": {
"width": 360,
"height": 760
}
}Focus
Source: Illustrative process for this recipe
Show chart data
| Step | Kind | Lane | Leads to |
|---|---|---|---|
| Push version tag | start | Maintainer | Build artifacts |
| Build artifacts | step | Pipeline | Write checksums |
| Write checksums | step | Pipeline | Checks pass? |
| Checks pass? | decision | Pipeline | Publish release (yes), Fix and retag (no) |
| Fix and retag | step | Maintainer | Push version tag |
| Publish release | end | Pipeline |