diff --git a/.github/workflows/db_schema.yml b/.github/workflows/db_schema.yml index 57ef83a2e..fdee76c0b 100644 --- a/.github/workflows/db_schema.yml +++ b/.github/workflows/db_schema.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-24.04 services: postgres: - image: postgres:13.16 + image: postgres:14.19 ports: ["5432:5432"] options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 env: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e9bc10ba8..2cbbaf542 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,7 +19,7 @@ jobs: timeout-minutes: 60 services: postgres: - image: postgres:13.16 + image: postgres:14.19 ports: ["5432:5432"] options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 env: diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d9df189dc..7165df830 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ tests: image: "ruby:3.3.8" stage: test services: - - postgres:13.16 + - postgres:14.19 cache: key: consul paths: diff --git a/docker-compose.yml b/docker-compose.yml index 63bd78c84..3e4767750 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: # use the preferred version of the official Postgres image # see https://hub.docker.com/_/postgres/ - image: postgres:13.16-bookworm + image: postgres:14.19-bookworm environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=$POSTGRES_PASSWORD diff --git a/docs/en/installation/docker.md b/docs/en/installation/docker.md index 88f42a101..e200f66e1 100644 --- a/docs/en/installation/docker.md +++ b/docs/en/installation/docker.md @@ -93,7 +93,7 @@ You should see an output similar to this: ```bash CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 603ec83b78a6 consuldemocracy-app "./docker-entrypoint…" 23 seconds ago Up 22 seconds consuldemocracy-app-run-afb6d68e2d99 -d57fdd9637d6 postgres:13.16 "docker-entrypoint.s…" 50 minutes ago Up 22 seconds 5432/tcp consuldemocracy-database-1 +d57fdd9637d6 postgres:14.19 "docker-entrypoint.s…" 50 minutes ago Up 22 seconds 5432/tcp consuldemocracy-database-1 ``` ## Running tests with RSpec diff --git a/docs/es/installation/docker.md b/docs/es/installation/docker.md index 8db5d62c3..468dad046 100644 --- a/docs/es/installation/docker.md +++ b/docs/es/installation/docker.md @@ -93,7 +93,7 @@ Deberías obtener algo similar a: ```bash CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 603ec83b78a6 consuldemocracy-app "./docker-entrypoint…" 23 seconds ago Up 22 seconds consuldemocracy-app-run-afb6d68e2d99 -d57fdd9637d6 postgres:13.16 "docker-entrypoint.s…" 50 minutes ago Up 22 seconds 5432/tcp consuldemocracy-database-1 +d57fdd9637d6 postgres:14.19 "docker-entrypoint.s…" 50 minutes ago Up 22 seconds 5432/tcp consuldemocracy-database-1 ``` ## Ejecutar tests con RSpec