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/README.md b/README.md index 6ec267c31..fcaada8c3 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ You can access the main website of the project at [http://consuldemocracy.org](h **NOTE**: The installation process will vary depending on your operating system. Please make sure to follow the [Local Installation Guide](docs/en/installation/local_installation.md) appropriate for your OS. -Prerequisites: install git, Ruby 3.3.8, CMake, pkg-config, Node.js 20.19.2, ImageMagick and PostgreSQL (>=9.5). +Prerequisites: install git, Ruby 3.3.8, CMake, pkg-config, Node.js 20.19.2, ImageMagick and PostgreSQL (>=13). **Note**: The `bin/setup` command below might fail if you've configured a username and password for PostgreSQL. If that's the case, edit the lines containing `username:` and `password:` (adding your credentials) in the `config/database.yml` file and run `bin/setup` again. diff --git a/README_ES.md b/README_ES.md index 9889a1180..64aff847d 100644 --- a/README_ES.md +++ b/README_ES.md @@ -34,7 +34,7 @@ Puedes acceder a la página principal del proyecto en [http://consuldemocracy.or **NOTA**: El proceso de instalación varía según el sistema operativo. Por favor, consulta la [documentación de instalación local](docs/es/installation/local_installation.md) apropiada para tu SO. -Prerrequisitos: tener instalado git, Ruby 3.3.8, CMake, pkg-config, Node.js 20.19.2, ImageMagick y PostgreSQL (9.5 o superior). +Prerrequisitos: tener instalado git, Ruby 3.3.8, CMake, pkg-config, Node.js 20.19.2, ImageMagick y PostgreSQL (13 o superior). **Nota**: Es posible que ejecutar `bin/setup`, como se indica a continuación, falle si has configurado un nombre de usuario y contraseña para PostgreSQL. Si es así, edita las líneas que contienen `username:` y `password:` (añadiendo tus credenciales) en el fichero `config/database.yml` y ejecuta `bin/setup` de nuevo. diff --git a/docker-compose.yml b/docker-compose.yml index 9fa49af98..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 + image: postgres:14.19-bookworm environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=$POSTGRES_PASSWORD diff --git a/docs/en/README.md b/docs/en/README.md index f113a13fb..e8969c581 100644 --- a/docs/en/README.md +++ b/docs/en/README.md @@ -12,7 +12,7 @@ You can access the main website of the project at [http://consuldemocracy.org](h **NOTE**: For more detailed instructions, check the [local installation docs](installation/local_installation.md). -Prerequisites: install git, Ruby 3.3.8, CMake, pkg-config, Node.js 20.19.2, ImageMagick and PostgreSQL (>=9.5). +Prerequisites: install git, Ruby 3.3.8, CMake, pkg-config, Node.js 20.19.2, ImageMagick and PostgreSQL (>=13). **Note**: The `bin/setup` command below might fail if you've configured a username and password for PostgreSQL. If that's the case, edit the lines containing `username:` and `password:` (adding your credentials) in the `config/database.yml` file and run `bin/setup` again. 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/README.md b/docs/es/README.md index 1a3e93289..c846eaf44 100644 --- a/docs/es/README.md +++ b/docs/es/README.md @@ -12,7 +12,7 @@ Puedes acceder a la página principal del proyecto en [http://consuldemocracy.or **NOTA**: para unas instrucciones más detalladas, consulta la [documentación de instalación local](installation/local_installation.md). -Prerrequisitos: tener instalado git, Ruby 3.3.8, CMake, pkg-config, Node.js 20.19.2, ImageMagick y PostgreSQL (9.5 o superior). +Prerrequisitos: tener instalado git, Ruby 3.3.8, CMake, pkg-config, Node.js 20.19.2, ImageMagick y PostgreSQL (13 o superior). **Nota**: Es posible que ejecutar `bin/setup`, como se indica a continuación, falle si has configurado un nombre de usuario y contraseña para PostgreSQL. Si es así, edita las líneas que contienen `username:` y `password:` (añadiendo tus credenciales) en el fichero `config/database.yml` y ejecuta `bin/setup` de nuevo. 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 diff --git a/publiccode.yml b/publiccode.yml index 5993d1bb6..4c2381891 100644 --- a/publiccode.yml +++ b/publiccode.yml @@ -121,5 +121,5 @@ dependsOn: - name: Node.js version: "20.19.2" - name: PostgreSQL - versionMin: "9.5" - - name: ImageMagick \ No newline at end of file + versionMin: "13" + - name: ImageMagick