Skip to content

An interface that says what needs you

Choose a tag to compare

@btouchard btouchard released this 18 Nov 23:04
· 44 commits to main since this release
Immutable release. Only release title and notes can be modified.

This release is for the person who opens Palier to see what needs them, and nothing else.

The web interface is new. It sorts the stacks by what they ask of you, follows a run as it happens without reloading the page, and no longer keeps an old failure on screen once the stack is back in service. Palier also reads tags made of a build number, scans one stack on request, and rolls back without asking the registry for anything.

Proven on the bench

Like every Palier feature, these ran in a virtual machine with a real Docker.

What Scenario What happened
A run followed live whoami v1.10.1 → v1.12.0, applied automatically The "Updating now" card appeared by itself. The run page went from Running to Completed without a reload, and a text selected in the events stayed selected.
A plan read on its page Outline, PostgreSQL 16.14 → 18.7 and Redis 7.4.11 → 8.10.3 The two steps with their risk, operations and quoted facts, then a dry run from the button.
A rollback that does not pull One service with pull_policy: always on a registry that does not answer, and a target that exits at once The run ended rolled back and the stack came back as it was. On the same machine, a plain docker compose up -d fails on that service.
One stack scanned whoami changed by hand outside Palier Read again alone in 1.3 s from its page, and its state recomputed.
Build-number tags ghcr.io/jitsi/web:stable-11248-2 Version read from the tag, stable-11248-3 offered, stable-11509 held for maturation.

Not shown on the bench: the update that follows the scan of one stack, and the update of an image on a build-number tag. Both were planned, not applied.

What is new

An interface that says what needs you

The list of stacks opens on a sentence, "2 stacks need you.", and sorts the stacks by what they ask:

  • Needs you: a failed or rolled back update with its cause, an incomplete plan, a plan that waits for your decision, an open alert.
  • Updating now: the run in progress, its steps drawn as stairs.
  • Update planned and Being checked: what Palier will do on its own, and what it is still reading.
  • Partly tracked: the services whose version Palier cannot tell, and why.
  • Up to date: everything else, with a filter on the stack or service name.

The page of a stack shows the upgrade path, the plan with its operations and the facts quoted from the release notes, the services, the backups and the runs. The page of a run shows its steps and its events as they come: you can close it, the run goes on in Palier.

Pages that refresh in place

Pages no longer reload. Every 3 seconds during a scan or a run, every 30 seconds otherwise, Palier patches what changed: a panel you opened stays open, a date you are typing stays typed, a text you selected in the events stays selected. "Scan now" is in the top bar of every page, and says "Scan queued" while Palier finishes what it is doing.

Scripts and fonts are served by Palier itself: the interface makes no request to another site. It is dark only; the light theme is gone.

Scan one stack

After you change a Compose file by hand, the "Scan this stack" button on its page reads that stack again, alone: its versions, release notes and advisories, then its plan and, when automatic apply allows it, its update. The other stacks are left as they are. The full scan keeps its schedule.

Tags made of a build number

Some projects name their releases by a build number, with a revision when the image is rebuilt:

services:
  web:
    image: ghcr.io/jitsi/web:stable-11248-2

Palier now reads stable-11248-2 as a precise version: build 11248, revision 2. A new build counts as a minor version and a revision as a patch, so the images of one release, dependencies included, move to the next build together. See Version detection.

A rollback that asks nothing of the registry

To roll back, Palier puts back the images it kept and recreates the stack. A service with pull_policy: always made that step pull again: a registry that refused, or a tag that had moved since, failed the rollback or put back another image than the one that ran. Palier now pulls only an image that is absent from the machine.

Fixes

  • A stack repaired since a failed run, with nothing left to apply, kept the state "failed" until another run passed. The interface and palier status now follow the rule of the notifications: a failed run counts while the stack is not in service or a plan is pending.
  • GitHub answers 404 on the security advisories of a private repository, whatever the token. Palier reported it as an error on the notes; it now reads it as no advisory.

Image

ghcr.io/kolapsis/palier:0.6.0
ghcr.io/kolapsis/palier@sha256:933c2fa0e95c14409b1b5a89eff015e045a503ae4730617053c85f6d59b35dea

Multi-arch (linux/amd64, linux/arm64), built from deploy/Dockerfile by the release workflow, with SLSA provenance and an SBOM attached.

Verify the image

cosign verify ghcr.io/kolapsis/palier:0.6.0 \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  --certificate-identity https://github.com/kOlapsis/palier/.github/workflows/release.yml@refs/tags/v0.6.0
gh attestation verify oci://ghcr.io/kolapsis/palier:0.6.0 --owner kOlapsis