FluxGravityFLUXGRAVITY

Diagrams · Example gallery

CI/CD Pipeline Diagram: Stages Written Out, Example, Prompt

A CI/CD pipeline diagram shows these stages left to right: trigger, build, test, package, deploy to staging, approval, deploy to production and verify, with a failure path out of each gate. The first three are continuous integration and the rest are continuous delivery or deployment, as editorial guidance, not a standard. Below you can copy the stages, paste a suggested prompt into FluxGravity's Diagram skill (Spark and above, SVG and PNG export), and read a fictional GitHub Actions to Docker to AWS ECS example. Nothing here was produced or tested in the product.

By FluxGravity team
Original page-specific editorial map showing three stages of this guide
Original page-specific FluxGravity editorial map based on this guide's structure. It is not a product screenshot, account test, or performance result.

Direct answer

Read left to right: trigger, build, test, package, deploy to staging, approve, deploy to production, verify. Trigger, build and test are continuous integration (CI), and the stages after them are continuous delivery or deployment (CD). This is editorial guidance, not a standard, and teams draw the line in different places.

Use this guide to

  • Copy the eight stages and replace each [bracketed] part with your own tools.
  • Split them into continuous integration (stages 1 to 3) and continuous delivery or deployment (stages 4 to 8).
  • Paste the stages into the prompt below to get a diagram you can edit and export as SVG or PNG.
01Section 1 of 9

What are the stages in a CI/CD pipeline diagram?

Read left to right: trigger, build, test, package, deploy to staging, approve, deploy to production, verify. Trigger, build and test are continuous integration (CI), and the stages after them are continuous delivery or deployment (CD). This is editorial guidance, not a standard, and teams draw the line in different places.

1. Trigger: [push to main, pull request, tag or schedule]. Output: a run starts. Fail path: none, because no run starts.

2. Build: [install dependencies and compile]. Output: the build result. Fail path: stop the run and notify [team or channel].

3. Test: [unit tests, lint, integration tests]. Output: a pass or fail result. Fail path: stop the run and notify. This is where continuous integration ends in most diagrams.

4. Package: [build an image or package, give it a version, push it to a registry or artifact store]. Output: one versioned artifact. Fail path: stop and notify.

5. Deploy to staging: [release the artifact to a test environment]. Output: a running staging service. Fail path: roll back to the previous version.

6. Approve: [smoke tests or a named approver]. Output: a go or no-go. Fail path: no production deploy.

7. Deploy to production: [release the same artifact]. Output: a running production service. Fail path: roll back to the previous version.

8. Verify: [health check and alerts]. Output: confirmation, or an alert that starts a rollback or a fix.

One line to paste: Trigger > Build > Test > Package > Deploy to staging > Approve > Deploy to production > Verify, with a failure arrow from each gate to Notify the team. Some teams test before they build, so follow your own order.

Continuous delivery usually means a person approves the release to production. Continuous deployment usually means production is released automatically once the checks pass. Teams use both terms loosely, so label your own diagram with what actually happens.

Copy the eight stages and replace each [bracketed] part with your own tools.

Split them into continuous integration (stages 1 to 3) and continuous delivery or deployment (stages 4 to 8).

Paste the stages into the prompt below to get a diagram you can edit and export as SVG or PNG.

Delete any stage you do not run, such as staging or approval.

02Section 2 of 9

How do I adapt the stages to my own pipeline, or a small one?

Keep only the boxes you really run, name each gate and its failure path, then check the draft against your real configuration. A small or solo project can use four boxes: trigger, test, build, deploy.

A practical test for this page: a pipeline is a set of automated steps that moves a change from commit to a running service, with at least one check that can stop it. A script that only copies files has no gate, so a diagram of it would show one box.

Start by writing your stages in plain order, one line each. Add what triggers the run, what must pass at each gate, where the artifact is stored, and whether anything waits for a person. If a pipeline feels as if it does too much, draw it and see which boxes you cannot label with one job, then split them.

Compare the first draft with your real workflow file or pipeline settings. The diagram is only as accurate as your description, so check every box and arrow against what actually runs, and ask the agent to correct anything that does not match.

List stages in order, one per line.

Name each gate and what failing it does.

Say where the built artifact is stored.

State every environment and who approves.

03Section 3 of 9

What makes a good CI/CD pipeline diagram?

A good pipeline diagram shows each stage in order, what triggers it, what it produces, and where a failure stops the run. A reader should follow it from commit to running service without guessing.

Most pipeline pictures fail because they list tools instead of showing flow. A useful diagram answers three questions: what starts the pipeline, what has to pass before the next stage begins, and where the finished artifact ends up. If a reviewer cannot trace a commit to a deployed service in one pass, the diagram needs work.

This is editorial guidance, not a standard. Keep one level of detail per picture. A high-level view with five or six boxes is easier to read than a diagram that also shows every script, secret and environment variable.

Name the trigger: push, pull request, tag or schedule.

Show pass and fail paths out of every gate.

Label what each stage hands to the next.

Mark where a human approval happens, if any.

04Section 4 of 9

How can FluxGravity make a CI/CD pipeline diagram?

You describe the pipeline to the agent in chat using the Diagram skill. The result opens in the Creations panel, where you can edit it and download SVG or PNG. Diagram needs the Spark plan or higher.

The Diagram skill is the one built for this job: describe a system and get an editable diagram to export or share. It opens from Spark, so Free accounts cannot use it. FluxGravity does not offer export to other diagramming formats, so plan on SVG or PNG as your deliverables.

The facts about your pipeline come from you. The agent draws what you describe, so the more exactly you name your stages, tools and gates, the closer the first draft will be to what your team actually runs. Nothing on this page was produced or tested in the product.

Skill: Diagram, opened with #diagram in chat.

Lowest plan: Spark.

Exports: SVG and PNG, plus a share link.

Edited in the Creations panel after it opens.

05Section 5 of 9

What prompt should I use?

Paste the suggested prompt below and replace each [bracketed] part with your own pipeline details. It names stages, tools, gates and the output you want.

The prompt below is written so you can paste it as is. The brackets mark the details only you know. If your pipeline has no approval step or no staging environment, delete those lines instead of leaving them in, so the diagram does not show stages you do not run.

Suggested prompt (not yet tested): "Draw a CI/CD pipeline diagram as a left-to-right flow for [service name]. Trigger: [push to the main branch]. Stages in order: [run tests], [build a Docker image], [push the image to a registry], [deploy to staging on AWS ECS], [manual approval], [deploy to production on AWS ECS]. Show a failure path from [tests] and [staging] to [notify the team]. Label each stage with its tool: [GitHub Actions, Docker, AWS ECS]. Use short labels, one box per stage, and keep the diagram on one page. Export as SVG."

Ask for one view per request. A request for the main pipeline and a separate request for rollback keeps each picture readable. You can then ask the agent for changes to a result in chat.

Replace every [bracketed] item with your detail.

Delete lines for stages you do not have.

Ask for SVG or PNG at the end.

Keep one view per request.

06Section 6 of 9

CI/CD pipeline diagram: what does a fictional example look like?

Fictional example: a small team ships a web service from GitHub Actions through Docker to AWS ECS. This describes the scenario and what a good result should contain. It is not a result FluxGravity produced.

Scenario: a four-person team keeps its code on a Git host and uses GitHub Actions for automation. Every push to the main branch should run tests, build a Docker image, push it to a container registry, and deploy to a staging service on AWS ECS. A person approves before the production deploy. The team wants one SVG for its onboarding document.

A good result should show the trigger on the left, then test, build and deploy as three clearly separated stages, with the registry between build and deploy. It should show a fail path from the test gate that stops the run, an approval step before production, and the two ECS targets, staging then production, at the end.

The table titled "Fictional stages for a GitHub Actions, Docker and AWS ECS pipeline" shows the same fictional example in full.

Trigger: push to main on the Git host.

Test stage: unit tests, a lint step, a pass gate.

Build stage: Docker image built and pushed to a registry.

Deploy stage: staging ECS, approval, production ECS.

07Section 7 of 9

CI/CD pipeline diagram: what do the plan, caps and credits look like?

The Diagram skill opens on Spark. Its published output price is 2 credits per diagram. Chat turns, and any web search or upload reading, cost credits on top of that.

Spark is $5 a month and includes 650 credits a month; Pro is $20 with 2,800 and Ultra is $50 with 7,000. Annual billing is 20% less. Paid credits renew monthly and do not roll over. The 2 credits is an output price for a diagram, not a price for the whole job, because the chat turns you use to get there are metered separately.

If you upload a pipeline file or document for the agent to read, reading an upload costs 1 credit a page for PDF, with other rates by file type. Free accounts get 100 credits once, valid for 30 days, but Free cannot open the Diagram skill.

Diagram output: 2 credits.

Chat replies are metered, at least 1 credit.

Reading an upload: 1 credit a page for PDF, with other rates by file type.

Web search costs extra credits when used.

08Section 8 of 9

CI/CD pipeline diagram: what are the limits, and when is something else better?

FluxGravity makes diagrams you describe; this page does not cover reading your repository or monitoring a live pipeline. For a diagram that must track real runs, use the tooling that owns that data.

The agent draws from your description. This page does not cover connecting to your pipeline to confirm the stages are right, so accuracy is your job to check. Collaboration on a shared diagram is not available, and exports are SVG and PNG only. For a report on run history or build times, a monitoring tool is the better fit.

A diagram is also a poor substitute for a workflow file when someone needs the exact commands. Use the picture to explain the shape of the pipeline and the file to define it.

Check every stage against your real configuration.

Exports are SVG and PNG only.

Team workspaces and collaboration are not available.

Use monitoring for live run data, not a diagram.

09Section 9 of 9

CI/CD pipeline diagram: what mistakes should I avoid?

The common ones are cramming everything into one picture, leaving out failure paths, and showing stages you do not actually run. Each makes the diagram less trustworthy to the next reader.

Crowding is the first trap. If one picture tries to cover the main pipeline, rollback, secrets handling and every environment, nobody can read it. Split the views and ask for each separately, which also keeps your chat requests focused.

The second is drawing only the happy path. Reviewers want to know what happens when a test fails or an approval is rejected. The third is copying a generic template and leaving in a staging step your team skipped, which teaches new people the wrong process.

Do not mix main flow and rollback in one view.

Always show where a failed gate stops.

Remove stages you do not run.

Label arrows with what is handed over.

What you need and what you get

Taken from FluxGravity's product documentation for the Diagram skill and the plans.

ItemLowest planOutput or capPublished credit price
Diagram skill (#diagram)SparkSVG, PNG and a share link2 credits per diagram
Chat to describe the pipelineMetered, not plan-specificText replies in chatMetered, at least 1 credit
Reading an uploaded fileMetered, not plan-specificPDF, DOCX, PPTX or text read for contextPDF 1 credit a page, PPTX 1 credit a slide, DOCX and text files 1 credit per 3,000 characters, images no reading fee
Web search in a requestMetered, not plan-specificSearch results used by the agent15 credits a message with the switch on

Stage checklist for your prompt

Editorial guidance for what to collect before you ask for the diagram.

StageWhat to stateGate or output
TriggerPush, pull request, tag or scheduleWhich branch starts a run
TestUnit tests, lint, other checksPass or fail path
BuildImage or package builtWhere it is stored
DeployStaging, approval, productionTargets and who approves

Fictional stages for a GitHub Actions, Docker and AWS ECS pipeline

Written for this page as a text version of what the diagram should show. It is not an output produced by FluxGravity.

StageToolPasses whenIf it fails
TriggerGit hostA push reaches the main branchNo run starts
TestGitHub ActionsThe unit tests and the lint step passThe run stops and the team is notified
BuildDockerThe image builds and is pushed to the registryThe run stops and the team is notified
Deploy to stagingAWS ECS, staging serviceThe service reports healthyRoll back to the previous image
ApprovalA named personThe approver accepts the staging resultNo production deploy happens
Deploy to productionAWS ECS, production serviceThe service reports healthyRoll back to the previous image

How this guide was prepared

Method, scope, and limitations

Product details come from FluxGravity's internal product documentation, last checked against the product code on 24 Oct 2026. Guidance about the document, chart or task itself is editorial and has not been independently sourced. No FluxGravity account test, screenshot, export or credit measurement was made for this guide.

Plan, caps and credits

Plan names, monthly credits, page, sheet and slide caps and per-output credit prices come from FluxGravity's internal product documentation, last checked against the product code on 24 Oct 2026.

Suggested prompt

The prompt is written for this task from the inputs the task needs. It was not run in the product, so it is labelled untested.

Fictional example

The example is invented for this page and labelled fictional. It describes inputs and what a good result contains; it is not output FluxGravity produced.

Limits

What FluxGravity does not offer for this job, and what the page does not cover, is stated from the same product documentation.

  • • Nothing on this page was produced or tested in FluxGravity; the example is fictional and describes what a good result should contain.
  • • The suggested prompt has not been run, so results will vary with the details you supply.
  • • The page does not check your real pipeline configuration or any tool's current behavior.
  • • Credit figures are published output prices only; chat turns and other charges come on top.
  • • Review the result yourself before you rely on it.

Buyer questions

CI/CD Pipeline Diagram: Stages Written Out, Example, Prompt: questions answered

Direct answers to the questions buyers ask before choosing a workflow.

What are the stages of a CI/CD pipeline (also written cicd)?

A common order is trigger, build, test, package, deploy to staging, approve, deploy to production and verify, with a failure path out of each gate. Some teams test before they build and some skip staging, so draw the stages you actually run. This is editorial guidance, not a standard.

What is the difference between CI and CD in a pipeline diagram?

Continuous integration (CI) covers the stages that merge and check a change: trigger, build and test. Continuous delivery or deployment (CD) covers the stages that release it: package, deploy, approve and verify. Teams draw the boundary in different places, so this is common practice, not a standard.

What is the difference between continuous delivery and continuous deployment?

Continuous delivery usually keeps a manual approval before production, and continuous deployment releases to production automatically when the checks pass. Teams use the two terms loosely, so show the approval step in your diagram only if a person really gives it.

How many stages should a CI/CD diagram show?

Five or six boxes make a readable high-level view, and the eight stages above are a full version. Keep one level of detail per picture and put rollback in a separate diagram. This is editorial guidance, not a standard.

What stages does a small or solo project need?

Four boxes can be enough: trigger, test, build and deploy to one environment. Add staging, approval and monitoring only when you run them, so the diagram matches what really happens.

Which FluxGravity skill makes a CI/CD pipeline diagram?

The Diagram skill, opened with #diagram in chat. You describe your build, test and deploy stages, and the result opens in the Creations panel, where you can edit it and download SVG or PNG. The skill needs the Spark plan or higher.

Can I export the diagram as SVG?

Yes. Diagrams export as SVG and PNG, and the skill also gives a share link. FluxGravity does not offer export to other diagramming formats, so use SVG or PNG for your documents and slides.

Does the Free plan include the Diagram skill?

No. The Diagram skill needs Spark, the lowest paid plan at $5 a month. Free opens documents, slides and spreadsheets. A Free account can still use chat, but not this skill.

How many credits does a pipeline diagram cost?

The published output price for a diagram is 2 credits. That is an output price, not a price for the whole job: chat turns, web search and reading any uploaded file cost credits on top of it.

Will FluxGravity read my repository to draw the pipeline?

This page does not cover reading a repository. The agent draws from the description you give it, so compare the first draft against your real workflow and ask for corrections in chat.

Can I use this for tools other than the ones in the example?

Yes. The example names a specific toolchain only as a fictional scenario. Replace the [bracketed] parts of the prompt with your own trigger, stages, registry and deploy targets, and delete any stage you do not run.

Continue the workflow

Your next draft

Bring the brief. Keep the final decision.

Start with verified facts, use the prompt in this guide, and approve every customer-facing claim before it leaves your workflow.

Open FluxGravity