commit: 935dce9a0b9ae4ff2d44033ec372f64b7fb6b5ce
parent 40fa1099bf9770dd0535690c1b1ebf8aad60306b
Author: Lain Soykaf <lain@lain.com>
Date: Wed, 13 Dec 2023 12:45:52 +0400
Gitlab CI: Update postgres for rum tests.
Diffstat:
2 files changed, 4 insertions(+), 17 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
@@ -154,22 +154,6 @@ unit-testing-erratic:
- mix ecto.migrate
- 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:
extends:
- .build_changes_policy
@@ -177,7 +161,7 @@ unit-testing-rum:
stage: test
cache: *testing_cache_policy
services:
- - name: minibikini/postgres-with-rum:12
+ - name: lainsoykaf/postgres-with-rum:13
alias: postgres
command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]
variables:
diff --git a/ci/postgres_rum/Dockerfile b/ci/postgres_rum/Dockerfile
@@ -0,0 +1,3 @@
+FROM postgres:13-bullseye
+
+RUN apt-get update && apt-get install -y postgresql-13-rum/bullseye-pgdg