Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-29 05:06:11 +01:00

ci: disable postgresql fsync

This commit is contained in:
Michael Kriese 2024-11-14 21:49:02 +01:00
parent d1ad4dd561
commit c18c9e0881
No known key found for this signature in database
GPG key ID: F8D7748549A5986A

View file

@ -215,11 +215,13 @@ jobs:
ldap: ldap:
image: docker.io/gitea/test-openldap:latest image: docker.io/gitea/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