Skip to content

v0.4.0

Choose a tag to compare

@btouchard btouchard released this 10 Nov 21:42
· 82 commits to main since this release
Immutable release. Only release title and notes can be modified.

New

  • Backups before each update, sent off the machine: the palier.backup label (dump, volumes, or dump,volumes) has Palier back up a service before any change to its stack. dump exports the database of a PostgreSQL, MySQL or MariaDB image while it runs (pg_dumpall, mysqldump, mariadb-dump); volumes stops the service and the services that depend on it, archives its mounts in a tar, and starts them again. Each file streams to an rclone remote through a throwaway rclone/rclone:1.75.2 container, without being written to the disk of the machine, with a .sha256 next to it, under <destination>/<stack>/<service>/<date>/. If a backup fails, the run is abandoned and nothing is changed; a file left half sent is deleted. See Backups.
  • Any rclone destination: PALIER_BACKUP_TO names an rclone remote and a path, such as offsite:palier, and every RCLONE_ variable of Palier goes to the rclone container (RCLONE_CONFIG_OFFSITE_TYPE=s3…): S3 and compatible stores, SFTP, WebDAV, Backblaze B2, Azure Blob and the other rclone backends. Tried on MinIO, SFTP and WebDAV.
  • palier.backup.to: a destination for one service, instead of PALIER_BACKUP_TO.
  • PALIER_BACKUP_KEEP (default 7): the backups kept for each service; the older ones are deleted after each new one.
  • Webhook events backup_done and backup_failed, one per file, with the location, size, SHA-256, engine and databases, for a tool that fetches the file and tests its restore.
  • Last backups shown: palier show and the stack page list the last backup of each service and kind, with its location, size and SHA-256, and the last failure when it came after. The Settings page has a Backups section.

Changes

  • The first backup pulls docker.io/rclone/rclone:1.75.2, as the first restore point pulls busybox.

Image

ghcr.io/kolapsis/palier:0.4.0
ghcr.io/kolapsis/palier@sha256:39ee3b4062d867eeeff6eed268d0d7ea8d40d5c001028cec7c5ca723f0f6a9e9

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.4.0 \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  --certificate-identity https://github.com/kOlapsis/palier/.github/workflows/release.yml@refs/tags/v0.4.0
gh attestation verify oci://ghcr.io/kolapsis/palier:0.4.0 --owner kOlapsis