chartletv0.21.0

← All examples

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
From tag to published release
From tag to published releaseFlow chart with 6 steps and 6 connections in 2 lanes: Maintainer and Pipeline. Most connected: Checks pass? (3 connections). Loop: Push version tag → Build artifacts → Write checksums → Checks pass? → Fix and retag → Push version tag. Push version tag (start) in Maintainer: leads to Build artifacts. Build artifacts in Pipeline: leads to Write checksums. Write checksums in Pipeline: leads to Checks pass?. Checks pass? (decision) in Pipeline: leads to Publish release (yes) and Fix and retag (no). Fix and retag in Maintainer: leads to Push version tag. Publish release (end) in Pipeline: no further step.MaintainerPipelinePush version tag → Build artifactsBuild artifacts → Write checksumsWrite checksums → Checks pass?Checks pass? → Publish release: yesChecks pass? → Fix and retag: noFix and retag → Push version tagyesnoPush version tagPush version tagBuild artifactsBuild artifactsWrite checksumsWrite checksumsChecks pass?Checks pass?Fix and retagFix and retagPublish releasePublish release
From tag to published releaseFlow chart with 6 steps and 6 connections in 2 lanes: Maintainer and Pipeline. Most connected: Checks pass? (3 connections). Loop: Push version tag → Build artifacts → Write checksums → Checks pass? → Fix and retag → Push version tag. Push version tag (start) in Maintainer: leads to Build artifacts. Build artifacts in Pipeline: leads to Write checksums. Write checksums in Pipeline: leads to Checks pass?. Checks pass? (decision) in Pipeline: leads to Publish release (yes) and Fix and retag (no). Fix and retag in Maintainer: leads to Push version tag. Publish release (end) in Pipeline: no further step.MaintainerPipelinePush version tag → Build artifactsBuild artifacts → Write checksumsWrite checksums → Checks pass?Checks pass? → Publish release: yesChecks pass? → Fix and retag: noFix and retag → Push version tagyesnoPush version tagPush versiontagBuild artifactsBuildartifactsWrite checksumsWritechecksumsChecks pass?Checks pass?Fix and retagFix and retagPublish releasePublishrelease

Source: Illustrative process for this recipe

Show chart data
Data for From tag to published release
StepKindLaneLeads to
Push version tagstartMaintainerBuild artifacts
Build artifactsstepPipelineWrite checksums
Write checksumsstepPipelineChecks pass?
Checks pass?decisionPipelinePublish release (yes), Fix and retag (no)
Fix and retagstepMaintainerPush version tag
Publish releaseendPipeline
  • Release flow
  • Flow chart (lanes)
  • SVG, strict build, narrow screen