Why?

While this is less of an example pipeline, this is a simple introduction to a critical primitive to form pipelines.

Also, due to the fact that there are minimal external factors (Resources) for the system to check and resolve. This is often used overall test system health.

2.1 Hello World pipeline

A single job is the simplest form of pipeline.

Pipeline Configuration

---
jobs:
  - name: job
    public: true
    plan:
      - task: simple-task
        config:
          platform: linux
          image_resource:
            type: registry-image
            source: { repository: busybox }
          run:
            path: echo
            args: ["Hello, world!"]

References