Skip to content

Spawner 2.2.1

Latest

Choose a tag to compare

@github-actions github-actions released this 11 Oct 09:31
· 1 commit to master since this release
Immutable release. Only release title and notes can be modified.

Spawner is an open source, self-hosted preview environment manager: a copy of your app for each git branch, on your own server, with its own URLs, database and logs, for teams and their coding agents. Documentation, changelog.

Updates from 2.1 that keep every URL answering, and spawner up sending the clones a workspace holds. A server that answers 404 page not found everywhere since its update to 2.2.0 gets its URLs back with install.sh --upgrade, run once on the server: its dashboard cannot be reached to update it.

  • An upgrade checks that Traefik serves the dashboard, over HTTPS too, and goes back to the previous version when it does not, rather than ending with a warning about the certificate. The installer also makes Traefik's routes readable before it starts the stack, and starts Traefik again when it could not read them: the update from 2.1 to 2.2 could leave Traefik, which runs without capabilities since 2.2, unable to read the routes 2.1 wrote, every URL answering 404 page not found.
  • spawner up sends the git repositories cloned inside the project: a directory with its own .git, such as the clones of a workspace repository, was skipped as a submodule, so that a compose file building ../api passed the check of spawner up and failed on the server (compose.path_not_found), and each clone needed a source in spawner.yaml and a --source at every spawner up. Such a clone is now sent with the project, as its own git sees it: tracked files and untracked ones that are not ignored, without untracked node_modules/, vendor/ and .env files, plus what upload.include names; it counts toward the upload limits. Submodules are still skipped, and so are the other worktrees of the repository checked out inside it. spawner up names the clones it sends, and runs git with core.fsmonitor off, so that the config of a clone cannot name a command to run.

Install

On a new server:

curl -fsSL https://github.com/Flosk6/Spawner/releases/download/v2.2.1/install.sh | sudo bash -s -- --version 2.2.1

Upgrade

From the dashboard: Update to 2.2.1 on the System page. From the server:

curl -fsSL https://github.com/Flosk6/Spawner/releases/download/v2.2.1/install.sh | sudo bash -s -- --upgrade --version 2.2.1

Both back the database up first, and go back to the previous version if the new one does not start.

Files

  • install.sh: the installer of this version.
  • spawner: the CLI and MCP server in one file, for Node.js 20 or later. Or npm install -g spawner-cli@2.2.1.
  • SHA256SUMS: their checksums.
  • Image: ghcr.io/flosk6/spawner:2.2.1 (sha256:9db7ef1238bffe04571aca9835241fae575f73fe12618018acc1f235240c1493, linux/amd64, linux/arm64).

Verify

The image, install.sh and spawner carry build provenance attestations from this repository's release workflow:

gh attestation verify install.sh -R Flosk6/Spawner
gh attestation verify oci://ghcr.io/flosk6/spawner:2.2.1 -R Flosk6/Spawner

Or compare the files with their checksums: curl -fsSL -O https://github.com/Flosk6/Spawner/releases/download/v2.2.1/install.sh -O https://github.com/Flosk6/Spawner/releases/download/v2.2.1/SHA256SUMS && sha256sum -c --ignore-missing SHA256SUMS