Skip to content

A new version

new-version.mp4 (1:00, 720p, with sound): as soon as a change merges to a service’s main, the rollout starts on its own and works its way through the rings. Nobody touches a cell. It shows the intended flow.

Nothing here is specific to the GitLab chart. The video uses the Orbit chart for demo purposes, with made-up versions (0.11.4 to 0.13.0). Any service with a pin in rings/<ring>/versions/<service>.yaml in phaleron-config, the GitLab chart included, moves through the rings the same way.

TimeStepWhat happens
0:00Merge to main, and the rollout startsThe rings run different Orbit versions today: ring-0 0.12.2, ring-1 0.12.1, ring-2 0.11.4.
0:061 · A change merges to mainA feature change merges to Orbit’s main. Auto-deploy builds Orbit chart 0.13.0, and release tooling pins it in rings/ring-0/versions/orbit.yaml in phaleron-config.
0:182 · ring-0The QA cell’s Argo CD sees the new pin and deploys 0.13.0: synced and healthy.
0:283 · ring-1ring-0 is healthy, so the promoter copies the versions file to ring-1: one line changes. cell-01 and cell-02 sync on their own.
0:404 · ring-2The same copy and the same sync for cell-03 and cell-04.
0:52DoneOne merge to main. Everything after it is automatic, and nothing in the path is specific to the GitLab chart.

How each part works, from phaleron-config:

  • A ring pins the version; a cell never does. rings/<ring>/versions/<service>.yaml holds each service’s chart version. ring-0 is written by release tooling; every other ring is written only by the promoter, which copies the file from the ring before it.
  • Every service gets the same path. Each cell’s ApplicationSet creates one Argo CD Application per versions file in its ring, so adding a service to the fleet means adding its versions file; the rollout path comes with it. phaleron-config pins gitlab, membrane and orgmover today; orbit.yaml in the video is illustrative.
  • Cells pull, nobody pushes. Each cell’s Argo CD reconciles from phaleron-config, every three minutes by default or on a webhook, so a new pin reaches every cell in the ring without anyone acting on a cell.
  • The gate shown is a placeholder. The video opens each gate when every cell in the ring is Synced and Healthy. phaleron-config still has gate: TODO; see promotion/README.md for the candidates.

Editing

Last updated on