From 7f707b2a6fdd72dc340b1af5751e4f07b2e264e4 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Thu, 14 Nov 2024 21:49:02 +0100 Subject: [PATCH] ci: disable postgresql fsync --- .forgejo/workflows/testing.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/testing.yml b/.forgejo/workflows/testing.yml index a04817fd04..96e5648527 100644 --- a/.forgejo/workflows/testing.yml +++ b/.forgejo/workflows/testing.yml @@ -216,11 +216,13 @@ jobs: ldap: image: code.forgejo.org/oci/test-openldap:latest pgsql: - image: 'code.forgejo.org/oci/postgres:15' + image: code.forgejo.org/oci/bitnami/postgresql:15 env: - POSTGRES_DB: test - POSTGRES_PASSWORD: postgres - options: --tmpfs /var/lib/postgresql/data + POSTGRESQL_DATABASE: test + POSTGRESQL_PASSWORD: postgres + POSTGRESQL_FSYNC: off + POSTGRESQL_EXTRA_FLAGS: -c full_page_writes=off + options: --tmpfs /bitnami/postgresql steps: - uses: https://code.forgejo.org/actions/checkout@v4 - uses: ./.forgejo/workflows-composite/setup-env