mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-05 17:53:12 +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
|
||||
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
|
||||
|
5
.github/workflows/build_prs_jest_report.yaml
vendored
5
.github/workflows/build_prs_jest_report.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user