Set benchmark job to use dedicated database server

This commit is contained in:
Mark Felder 2020-01-14 16:24:19 -06:00
parent b4532277b1
commit cbb98c9b58

View File

@ -36,10 +36,7 @@ benchmark:
when: manual when: manual
variables: variables:
MIX_ENV: benchmark MIX_ENV: benchmark
services: DB_HOST: pleromaci-db1.your.org
- name: postgres:9.6
alias: postgres
command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]
script: script:
- mix deps.get - mix deps.get
- mix ecto.create - mix ecto.create