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
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ jobs:
rm -rf packages/boundary-fixture
pnpm boundary:audit

- name: Audit quickstart database bootstrap
run: |
grep -F 'image: timescale/timescaledb:2.28.2-pg15' docker-compose.quickstart.yml
grep -F 'cat /proc/1/comm' docker-compose.quickstart.yml

lint:
name: Lint
runs-on: ubuntu-24.04
Expand Down
8 changes: 5 additions & 3 deletions docker-compose.quickstart.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
postgres:
image: timescale/timescaledb:latest-pg15
image: timescale/timescaledb:2.28.2-pg15
environment:
POSTGRES_DB: humanly_dev
POSTGRES_USER: humanly_user
Expand All @@ -9,7 +9,9 @@ services:
volumes:
- quickstart_postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U humanly_user -d humanly_dev"]
# Timescale starts a temporary server during first-run tuning. Wait for
# the final PostgreSQL process so migrations cannot race its restart.
test: ["CMD-SHELL", "test \"$$(cat /proc/1/comm)\" = postgres && pg_isready -U humanly_user -d humanly_dev"]
interval: 10s
timeout: 5s
retries: 10
Expand All @@ -28,7 +30,7 @@ services:
restart: unless-stopped

quickstart-migrate:
image: timescale/timescaledb:latest-pg15
image: timescale/timescaledb:2.28.2-pg15
environment:
PGHOST: postgres
PGDATABASE: humanly_dev
Expand Down
Loading