Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ name: sprout preview (reusable)
# packages: write
# jobs:
# preview:
# uses: simpros/sprout/.github/workflows/preview.yml@v0.8.3
# uses: simpros/sprout/.github/workflows/preview.yml@v0.9.0
# with:
# sprout_version: v0.8.3
# sprout_version: v0.9.0
# secrets:
# SPROUT_URL: ${{ secrets.SPROUT_URL }}
# SPROUT_TOKEN: ${{ secrets.SPROUT_TOKEN }}
Expand All @@ -48,7 +48,7 @@ on:
workflow_call:
inputs:
sprout_version:
description: "sprout release tag to install (e.g. v0.8.3). Set explicitly to the tag in the caller's uses: ref."
description: "sprout release tag to install (e.g. v0.9.0). Set explicitly to the tag in the caller's uses: ref."
type: string
required: true
app_context:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM oven/bun:1.4.0
ARG SPROUT_VERSION=0.8.3
ARG SPROUT_VERSION=0.9.0
ARG SPROUT_TELEMETRY_ENDPOINT=
ARG SPROUT_TELEMETRY_AUTH=
LABEL org.opencontainers.image.title="sprout"
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sprout/cli",
"version": "0.8.3",
"version": "0.9.0",
"private": true,
"license": "AGPL-3.0-only",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion apps/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sprout/server",
"version": "0.8.3",
"version": "0.9.0",
"private": true,
"license": "AGPL-3.0-only",
"type": "module",
Expand Down
6 changes: 3 additions & 3 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deploy/coolify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ preview routes via Traefik Docker labels only.
container on `coolify`. Operators wanting a dedicated DB network keep
using the external-overlay path in
[`docs/operator-deploy.md`](../../docs/operator-deploy.md#production-shaped-deploy-external--coolify-traefik).
- **Pinned image.** The tag (`ghcr.io/simpros/sprout:0.8.3`) is pinned on
- **Pinned image.** The tag (`ghcr.io/simpros/sprout:0.9.0`) is pinned on
purpose and a Coolify resource copies this file at creation time — it
does not follow upstream updates. Bump the pin deliberately.
- The gateway ensures the `sprout_preview` role itself from the superuser
Expand Down
2 changes: 1 addition & 1 deletion deploy/coolify/gateway.compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
retries: 10

gateway:
image: ghcr.io/simpros/sprout:0.8.3
image: ghcr.io/simpros/sprout:0.9.0
restart: unless-stopped
networks:
- coolify
Expand Down
10 changes: 5 additions & 5 deletions docs/ci-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ shell scripts:
```yaml
# .gitlab-ci.yml
include:
- component: $CI_SERVER_FQDN/<group>/sprout-ci/preview@v0.8.3
- component: $CI_SERVER_FQDN/<group>/sprout-ci/preview@v0.9.0
inputs: { stage: deploy }
```

Replace `<group>/sprout-ci` with the component project path on the
instance and `v0.8.3` with the adopted sprout release. Where the component
instance and `v0.9.0` with the adopted sprout release. Where the component
project is unavailable, use the `include: remote` fallback documented in
[`templates/README.md`](../templates/README.md) (remote includes must set
`sprout_version` explicitly to the tag in the URL).
Expand Down Expand Up @@ -132,9 +132,9 @@ permissions:
packages: write
jobs:
preview:
uses: simpros/sprout/.github/workflows/preview.yml@v0.8.3
uses: simpros/sprout/.github/workflows/preview.yml@v0.9.0
with:
sprout_version: v0.8.3
sprout_version: v0.9.0
secrets:
SPROUT_URL: ${{ secrets.SPROUT_URL }}
SPROUT_TOKEN: ${{ secrets.SPROUT_TOKEN }}
Expand Down Expand Up @@ -194,7 +194,7 @@ Pick the asset that matches the host libc (names are honest):
| `sprout-linux-x64-musl` | musl | Alpine runners; install `libstdc++` |

```bash
TAG=v0.8.3
TAG=v0.9.0

# glibc hosts
curl -fsSL -o /usr/local/bin/sprout \
Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ variables (`SPROUT_APP_ENV` / `SPROUT_SEED_ENV` dotenv blobs).
## 3. CI wiring (one include)

Add the include to `.gitlab-ci.yml`. Replace `<group>/sprout-ci` with the
component project path on the instance and `v0.8.3` with the adopted
component project path on the instance and `v0.9.0` with the adopted
release:

```yaml
include:
- component: $CI_SERVER_FQDN/<group>/sprout-ci/preview@v0.8.3
- component: $CI_SERVER_FQDN/<group>/sprout-ci/preview@v0.9.0
inputs: { stage: deploy }
```

Expand Down
8 changes: 4 additions & 4 deletions docs/operator-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@ external orchestrators:

```bash
# From the repo root (reproducible with Bun 1.4.0 base + frozen lockfile)
docker build -t ghcr.io/simpros/sprout:0.8.3 \
--build-arg SPROUT_VERSION=0.8.3 \
docker build -t ghcr.io/simpros/sprout:0.9.0 \
--build-arg SPROUT_VERSION=0.9.0 \
.
# Optional: push after docker login to GHCR (or your registry)
# docker push ghcr.io/simpros/sprout:0.8.3
# docker push ghcr.io/simpros/sprout:0.9.0
```

Image label `org.opencontainers.image.version` mirrors `SPROUT_VERSION`
(Dockerfile default tracks the monorepo pin; prefer a published release tag
such as `v0.8.3` / image `:0.8.3` in production). Pin operators and CI to a
such as `v0.9.0` / image `:0.9.0` in production). Pin operators and CI to a
release tag or GHCR digest — not an untagged local build — when publishing
previews.

Expand Down
6 changes: 3 additions & 3 deletions docs/telemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ state database:
{
"event": "install",
"install_id": "3f9d7a1e-8b2c-4d5e-9f01-23456789abcd",
"sprout_version": "0.8.3",
"sprout_version": "0.9.0",
"runtime": "bun 1.4.0",
"platform": "linux/x64",
"db_provider": "sqlite",
Expand All @@ -50,7 +50,7 @@ bring-up plan, whether the preview ended seeded, and measured timings
{
"event": "deploy",
"install_id": "3f9d7a1e-8b2c-4d5e-9f01-23456789abcd",
"sprout_version": "0.8.3",
"sprout_version": "0.9.0",
"runtime": "bun 1.4.0",
"platform": "linux/x64",
"db_provider": "postgres",
Expand All @@ -71,7 +71,7 @@ means the row never recorded a code:
{
"event": "deploy",
"install_id": "3f9d7a1e-8b2c-4d5e-9f01-23456789abcd",
"sprout_version": "0.8.3",
"sprout_version": "0.9.0",
"runtime": "bun 1.4.0",
"platform": "linux/x64",
"db_provider": "postgres",
Expand Down
4 changes: 2 additions & 2 deletions examples/adopting-repo/.github/workflows/sprout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ permissions:

jobs:
preview:
uses: simpros/sprout/.github/workflows/preview.yml@v0.8.3
uses: simpros/sprout/.github/workflows/preview.yml@v0.9.0
with:
sprout_version: v0.8.3
sprout_version: v0.9.0
secrets:
SPROUT_URL: ${{ secrets.SPROUT_URL }}
SPROUT_TOKEN: ${{ secrets.SPROUT_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion examples/adopting-repo/.gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include:
- component: $CI_SERVER_FQDN/<group>/sprout-ci/preview@v0.8.3
- component: $CI_SERVER_FQDN/<group>/sprout-ci/preview@v0.9.0
inputs: { stage: deploy }
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sprout",
"version": "0.8.3",
"version": "0.9.0",
"private": true,
"license": "AGPL-3.0-only",
"workspaces": [
Expand Down
2 changes: 1 addition & 1 deletion packages/api-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sprout/api-client",
"version": "0.8.3",
"version": "0.9.0",
"private": true,
"license": "AGPL-3.0-only",
"type": "module",
Expand Down
6 changes: 3 additions & 3 deletions templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ variables (plus optional `GITLAB_TOKEN` for MR notes), and one include. No adopt
```yaml
# .gitlab-ci.yml
include:
- component: $CI_SERVER_FQDN/<group>/sprout-ci/preview@v0.8.3
- component: $CI_SERVER_FQDN/<group>/sprout-ci/preview@v0.9.0
inputs: { stage: deploy }
```

Expand Down Expand Up @@ -133,9 +133,9 @@ content, no shell):

```yaml
include:
- remote: "https://raw.githubusercontent.com/simpros/sprout/v0.8.3/templates/preview.yml"
- remote: "https://raw.githubusercontent.com/simpros/sprout/v0.9.0/templates/preview.yml"
inputs:
sprout_version: v0.8.3
sprout_version: v0.9.0
stage: deploy
```

Expand Down
Loading