summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2019-04-15 07:56:46 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2019-04-15 07:56:46 +0000
commit8ede9d188e20d9e173fa6f0c5d899771a392b78a (patch)
tree35525d0d32afa7491097003f81234420ef155e7c
parent20d8dc53c8b1268c5823cc18e594c54400776ba3 (diff)
parentaada4607b7a442044e4b09bf4ad2fd5feb7cc53e (diff)
downloadgitlab-ce-8ede9d188e20d9e173fa6f0c5d899771a392b78a.tar.gz
Merge branch 'sh-disable-postgresql-fsync-ci' into 'master'
Disable PostgreSQL fsync for faster CI Closes #60435 See merge request gitlab-org/gitlab-ce!27295
-rw-r--r--.gitlab-ci.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8f80f1656d6..8219bacda92 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -78,13 +78,15 @@ stages:
.use-pg: &use-pg
services:
- - postgres:9.6
- - redis:alpine
+ - name: postgres:9.6
+ command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]
+ - name: redis:alpine
.use-pg-10: &use-pg-10
services:
- - postgres:10.0
- - redis:alpine
+ - name: postgres:10.0
+ command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]
+ - name: redis:alpine
.use-mysql: &use-mysql
services: