ci: disable postgresql fsync
This commit is contained in:
parent
b21cc70dd7
commit
7f707b2a6f
1 changed files with 6 additions and 4 deletions
|
@ -216,11 +216,13 @@ jobs:
|
||||||
ldap:
|
ldap:
|
||||||
image: code.forgejo.org/oci/test-openldap:latest
|
image: code.forgejo.org/oci/test-openldap:latest
|
||||||
pgsql:
|
pgsql:
|
||||||
image: 'code.forgejo.org/oci/postgres:15'
|
image: code.forgejo.org/oci/bitnami/postgresql:15
|
||||||
env:
|
env:
|
||||||
POSTGRES_DB: test
|
POSTGRESQL_DATABASE: test
|
||||||
POSTGRES_PASSWORD: postgres
|
POSTGRESQL_PASSWORD: postgres
|
||||||
options: --tmpfs /var/lib/postgresql/data
|
POSTGRESQL_FSYNC: off
|
||||||
|
POSTGRESQL_EXTRA_FLAGS: -c full_page_writes=off
|
||||||
|
options: --tmpfs /bitnami/postgresql
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
- uses: ./.forgejo/workflows-composite/setup-env
|
- uses: ./.forgejo/workflows-composite/setup-env
|
||||||
|
|
Loading…
Reference in a new issue