This is an automated email from the ASF dual-hosted git repository. juergbi pushed a commit to branch jbilleter/buildgrid in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 675da7c75620b46702a73a066a820151e47392bf Author: Jürg Billeter <[email protected]> AuthorDate: Wed Nov 5 11:38:35 2025 +0100 .github/compose/ci.buildgrid.yml: Switch to PostgreSQL SQLite support is deprecated in BuildGrid and the default configuration now requires PostgreSQL instead. --- .github/compose/ci.buildgrid.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/compose/ci.buildgrid.yml b/.github/compose/ci.buildgrid.yml index 6ef8d422f..eb5cc4bb6 100644 --- a/.github/compose/ci.buildgrid.yml +++ b/.github/compose/ci.buildgrid.yml @@ -21,6 +21,26 @@ version: "3.2" services: + database: + image: registry.gitlab.com/buildgrid/buildgrid.hub.docker.com/buildgrid-postgres:nightly + environment: + POSTGRES_USER: bgd + POSTGRES_PASSWORD: insecure + POSTGRES_DB: bgd + volumes: + - type: volume + source: db + target: /var/lib/postgresql + networks: + - grid + ports: + - "5432:5432" + healthcheck: + test: ["CMD", "pg_isready", "-U", "bgd"] + interval: 1s + timeout: 5s + retries: 10 + controller: image: registry.gitlab.com/buildgrid/buildgrid.hub.docker.com/buildgrid:nightly command: [ @@ -30,6 +50,13 @@ services: - 50051:50051 networks: - grid + depends_on: + database: + condition: service_healthy + volumes: + - type: bind + source: ./buildgrid-config/ + target: /etc/buildgrid bot: image: registry.gitlab.com/buildgrid/buildgrid.hub.docker.com/buildbox:nightly @@ -51,3 +78,4 @@ networks: volumes: cache: + db:
