Skip to content

backmesh v0.3.3

Choose a tag to compare

@depombo depombo released this 13 Nov 21:29

Upgrade with backmesh upgrade; there's no need to uninstall. Install the CLI with curl -fsSL https://backmesh.com/install.sh | sh.

Changes

  • Caches in your own cloud. backmesh install and upgrade create a cache bucket in each runner region. Swap actions/cache for backmesh/cache@v1: same inputs, restores fetch in parallel, and saves upload after the job. --cache-cap sets each repository's limit, 10 GB by default.
  • Automatic caches. With no workflow change, a job restores the toolchains and npm, Yarn or pnpm caches it used last time. Folders a workflow already caches are left alone. Set BACKMESH_AUTO_CACHE: false to turn it off.
  • docker kill $(docker ps -q) no longer kills the runner. The runner's own container is hidden from docker ps and skipped by kill, stop and rm.
  • Closer to ubuntu-latest. apt-get install works without apt-get update first; the tool cache is writable; LANG, ImageOS and /usr/games match; /dev/shm is half the runner's memory. See Coming from ubuntu-latest.
  • Sign-in is GitHub's device flow only. install prints a code for github.com/login/device; the connect pages are gone and --device is no longer an option.
  • Faster starts. The runner image uses zstd layers, runners start before the listener's housekeeping, and a launch that the cloud refuses moves to another region after 75 s instead of 3 minutes. Pins anycloud 0.1.77, which pulls the runner image with parallel unpacking.
  • Cue results in backmesh status. Start waits are split by what started the runner: a cue, a prediction or the job itself.
  • Every reclaimed run gets a note. A run that lost a spot VM gets a backmesh: reclaims check run explaining the rerun.

Images, signed with cosign keyless by this repository's workflows:

  • runner: ghcr.io/anycloud-sh/backmesh-runner@sha256:59940b77b6e9c367b6712b8cf5d70f50614e08e6002da2f3552ecc4873bf4648
  • listener: ghcr.io/anycloud-sh/backmesh-listener@sha256:a254c53250620c309a2385e27df54ad821683861ad9a469b70d912ee7e719970

Verify each with:

cosign verify ghcr.io/anycloud-sh/backmesh-runner@sha256:59940b77b6e9c367b6712b8cf5d70f50614e08e6002da2f3552ecc4873bf4648 --certificate-identity https://github.com/anycloud-sh/backmesh/.github/workflows/image.yml@refs/tags/v0.3.3 --certificate-oidc-issuer https://token.actions.githubusercontent.com
cosign verify ghcr.io/anycloud-sh/backmesh-listener@sha256:a254c53250620c309a2385e27df54ad821683861ad9a469b70d912ee7e719970 --certificate-identity https://github.com/anycloud-sh/backmesh/.github/workflows/image.yml@refs/tags/v0.3.3 --certificate-oidc-issuer https://token.actions.githubusercontent.com

Pins anycloud 0.1.77; each CLI binary embeds compatibility.json, which backmesh upgrade reads. checksums.txt holds their sha256 digests.