Gitlab CI: Update postgres for rum tests.
This commit is contained in:
parent
40fa1099bf
commit
935dce9a0b
|
@ -154,22 +154,6 @@ unit-testing-erratic:
|
||||||
- mix ecto.migrate
|
- mix ecto.migrate
|
||||||
- mix test --only=erratic
|
- mix test --only=erratic
|
||||||
|
|
||||||
# Removed to fix CI issue. In this early state it wasn't adding much value anyway.
|
|
||||||
# TODO Fix and reinstate federated testing
|
|
||||||
# federated-testing:
|
|
||||||
# stage: test
|
|
||||||
# cache: *testing_cache_policy
|
|
||||||
# services:
|
|
||||||
# - name: minibikini/postgres-with-rum:12
|
|
||||||
# alias: postgres
|
|
||||||
# command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]
|
|
||||||
# script:
|
|
||||||
# - mix deps.get
|
|
||||||
# - mix ecto.create
|
|
||||||
# - mix ecto.migrate
|
|
||||||
# - epmd -daemon
|
|
||||||
# - mix test --trace --only federated
|
|
||||||
|
|
||||||
unit-testing-rum:
|
unit-testing-rum:
|
||||||
extends:
|
extends:
|
||||||
- .build_changes_policy
|
- .build_changes_policy
|
||||||
|
@ -177,7 +161,7 @@ unit-testing-rum:
|
||||||
stage: test
|
stage: test
|
||||||
cache: *testing_cache_policy
|
cache: *testing_cache_policy
|
||||||
services:
|
services:
|
||||||
- name: minibikini/postgres-with-rum:12
|
- name: lainsoykaf/postgres-with-rum:13
|
||||||
alias: postgres
|
alias: postgres
|
||||||
command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]
|
command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]
|
||||||
variables:
|
variables:
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
FROM postgres:13-bullseye
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y postgresql-13-rum/bullseye-pgdg
|
Loading…
Reference in New Issue