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:
parent
34c12c8234
commit
1a606be6b1
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
@ -19,10 +19,11 @@ jobs:
|
|||||||
# Label used to access the service container
|
# Label used to access the service container
|
||||||
postgres:
|
postgres:
|
||||||
# Docker Hub image
|
# Docker Hub image
|
||||||
image: postgres
|
image: 'bitnami/postgresql:latest'
|
||||||
# Provide the password for postgres
|
# Provide the password for postgres
|
||||||
env:
|
env:
|
||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
|
POSTGRESQL_FSYNC: 'off'
|
||||||
# Set health checks to wait until postgres has started
|
# Set health checks to wait until postgres has started
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
|
5
.github/workflows/build_prs_jest_report.yaml
vendored
5
.github/workflows/build_prs_jest_report.yaml
vendored
@ -9,15 +9,16 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [14.x]
|
node-version: [16.x]
|
||||||
services:
|
services:
|
||||||
# Label used to access the service container
|
# Label used to access the service container
|
||||||
postgres:
|
postgres:
|
||||||
# Docker Hub image
|
# Docker Hub image
|
||||||
image: postgres
|
image: 'bitnami/postgresql:latest'
|
||||||
# Provide the password for postgres
|
# Provide the password for postgres
|
||||||
env:
|
env:
|
||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
|
POSTGRESQL_FSYNC: 'off'
|
||||||
# Set health checks to wait until postgres has started
|
# Set health checks to wait until postgres has started
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
|
Loading…
Reference in New Issue
Block a user