1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-10 17:53:36 +02:00

fix: speedup build by turning off postgres fsync

This commit is contained in:
Ivar Conradi Østhus 2022-12-14 19:47:02 +01:00
parent 34c12c8234
commit 1a606be6b1
No known key found for this signature in database
GPG Key ID: 14F51E4841AF1DE1
2 changed files with 5 additions and 3 deletions

View File

@ -19,10 +19,11 @@ jobs:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres
image: 'bitnami/postgresql:latest'
# Provide the password for postgres
env:
POSTGRES_PASSWORD: postgres
POSTGRESQL_FSYNC: 'off'
# Set health checks to wait until postgres has started
ports:
- 5432:5432

View File

@ -9,15 +9,16 @@ jobs:
strategy:
matrix:
node-version: [14.x]
node-version: [16.x]
services:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres
image: 'bitnami/postgresql:latest'
# Provide the password for postgres
env:
POSTGRES_PASSWORD: postgres
POSTGRESQL_FSYNC: 'off'
# Set health checks to wait until postgres has started
ports:
- 5432:5432