From fde4d3f189552dd587bab64bacf2d689da91c551 Mon Sep 17 00:00:00 2001 From: Molly Struve Date: Mon, 13 Jul 2020 08:09:26 -0500 Subject: [PATCH] Update Docs, Travis, and Containers to Use Postgres 11 (#9232) * Update Docs and Containers to Use Postgres 11<, Bump Travis to 10 * Update installation docs as well Co-authored-by: rhymes --- .travis.yml | 2 +- README.md | 2 +- container-compose.yml | 2 +- docker-compose.yml | 2 +- docs/installation/linux.md | 2 +- docs/installation/mac.md | 2 +- docs/installation/windows.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2698dd96e..645348827 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ cache: rvm: - 2.7.1 addons: - postgresql: '9.6' + postgresql: '10' # Travis does not work out of the box with Postgres 11 yet chrome: 'stable' artifacts: paths: diff --git a/README.md b/README.md index 457aa1ce4..267df3838 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ A more complete overview of our stack is available in the badge. - [Yarn](https://yarnpkg.com/) 1.x: please refer to their [installation guide](https://classic.yarnpkg.com/en/docs/install). -- [PostgreSQL](https://www.postgresql.org/) 9.5 or higher. +- [PostgreSQL](https://www.postgresql.org/) 11 or higher. - [ImageMagick](https://imagemagick.org/): please refer to ImageMagick's [installation instructions](https://imagemagick.org/script/download.php). - [Redis](https://redis.io/) 4 or higher. diff --git a/container-compose.yml b/container-compose.yml index 96e0919da..a83cd9a2b 100644 --- a/container-compose.yml +++ b/container-compose.yml @@ -112,7 +112,7 @@ services: command: ["bundle", "exec", "sidekiq","-c","2"] db: - image: postgres:9.6.15-alpine + image: postgres:11-alpine container_name: dev_postgresql environment: POSTGRES_USER: devto diff --git a/docker-compose.yml b/docker-compose.yml index 1bba69a11..b86ae1b7b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -112,7 +112,7 @@ services: command: ["bundle", "exec", "sidekiq","-c","2"] db: - image: postgres:9.6.15-alpine + image: postgres:11-alpine container_name: dev_postgresql environment: POSTGRES_USER: devto diff --git a/docs/installation/linux.md b/docs/installation/linux.md index 940954dd8..a3c5f0f95 100644 --- a/docs/installation/linux.md +++ b/docs/installation/linux.md @@ -36,7 +36,7 @@ There are two ways to install Yarn. ### PostgreSQL -DEV requires PostgreSQL version 9.5 or higher. +DEV requires PostgreSQL version 11 or higher. 1. Run `sudo apt update && sudo apt install postgresql postgresql-contrib libpq-dev`. diff --git a/docs/installation/mac.md b/docs/installation/mac.md index 68c14153c..ee5f8ee37 100644 --- a/docs/installation/mac.md +++ b/docs/installation/mac.md @@ -20,7 +20,7 @@ Please refer to their [installation guide](https://yarnpkg.com/en/docs/install). ### PostgreSQL -DEV requires PostgreSQL version 9.5 or higher. +DEV requires PostgreSQL version 11 or higher. The easiest way to get started is to use [Postgres.app](https://postgresapp.com/). Alternatively, check out the official diff --git a/docs/installation/windows.md b/docs/installation/windows.md index 498a1b164..ba148ca8c 100644 --- a/docs/installation/windows.md +++ b/docs/installation/windows.md @@ -108,7 +108,7 @@ work fully. We install Node.js later on in the installation process. ### PostgreSQL -DEV requires PostgreSQL version 9.5 or higher. +DEV requires PostgreSQL version 11 or higher. If you don't have PostgreSQL installed on your Windows system, you can do so right now. WSL is able to connect to a PostgreSQL instance on your Windows