From 5faa6368ea983ed75f9c00d41150c1b1a92f7b16 Mon Sep 17 00:00:00 2001 From: John Paul Ashenfelter Date: Sun, 30 Jul 2023 10:06:42 -0400 Subject: [PATCH 1/3] Upgrade to pg 13 --- .github/workflows/backend.yml | 2 +- backend/Gemfile | 2 +- backend/Gemfile.lock | 8 ++++---- docker-compose.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 8e21138f..e48399c0 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -98,7 +98,7 @@ jobs: options: --entrypoint redis-server db: - image: postgres:12.8-alpine + image: postgres:13-alpine env: POSTGRES_PASSWORD: password ports: diff --git a/backend/Gemfile b/backend/Gemfile index cbe11e3b..fc575dc9 100644 --- a/backend/Gemfile +++ b/backend/Gemfile @@ -14,7 +14,7 @@ gem "active_model_serializers", "0.9.8" # Use postgresql and mongo as the database for Active Record gem "mongoid", "7.3.3" -gem "pg", "1.2.3" +gem "pg", "1.3.0" # Use Puma as the app server gem "puma", "5.6.4" diff --git a/backend/Gemfile.lock b/backend/Gemfile.lock index 33432a51..ec8ddf4e 100644 --- a/backend/Gemfile.lock +++ b/backend/Gemfile.lock @@ -283,9 +283,9 @@ GEM parser (3.2.2.3) ast (~> 2.4.1) racc - pg (1.2.3) - pg (1.2.3-x64-mingw32) - pg (1.2.3-x86-mingw32) + pg (1.3.0) + pg (1.3.0-x64-mingw32) + pg (1.3.0-x86-mingw32) pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) @@ -503,7 +503,7 @@ DEPENDENCIES nearest_time_zone omniauth (= 1.8.1) omniauth-facebook (= 3.0.0) - pg (= 1.2.3) + pg (= 1.3.0) pry-byebug pry-doc pry-rails diff --git a/docker-compose.yml b/docker-compose.yml index af7157d4..4c78f693 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ volumes: redis: services: postgres: - image: postgres:12.8-alpine + image: postgres:13-alpine environment: POSTGRES_PASSWORD: password PGDATA: /data From 8b8f05f8185772f38933cf661ba5cd95984c3841 Mon Sep 17 00:00:00 2001 From: John Paul Ashenfelter Date: Sun, 30 Jul 2023 10:09:55 -0400 Subject: [PATCH 2/3] Update to pg 14 --- .github/workflows/backend.yml | 2 +- backend/Gemfile | 2 +- backend/Gemfile.lock | 8 ++++---- docker-compose.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index e48399c0..4d645061 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -98,7 +98,7 @@ jobs: options: --entrypoint redis-server db: - image: postgres:13-alpine + image: postgres:14-alpine env: POSTGRES_PASSWORD: password ports: diff --git a/backend/Gemfile b/backend/Gemfile index fc575dc9..804c27b6 100644 --- a/backend/Gemfile +++ b/backend/Gemfile @@ -14,7 +14,7 @@ gem "active_model_serializers", "0.9.8" # Use postgresql and mongo as the database for Active Record gem "mongoid", "7.3.3" -gem "pg", "1.3.0" +gem "pg", "1.4.0" # Use Puma as the app server gem "puma", "5.6.4" diff --git a/backend/Gemfile.lock b/backend/Gemfile.lock index ec8ddf4e..dbf81862 100644 --- a/backend/Gemfile.lock +++ b/backend/Gemfile.lock @@ -283,9 +283,9 @@ GEM parser (3.2.2.3) ast (~> 2.4.1) racc - pg (1.3.0) - pg (1.3.0-x64-mingw32) - pg (1.3.0-x86-mingw32) + pg (1.4.0) + pg (1.4.0-x64-mingw32) + pg (1.4.0-x86-mingw32) pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) @@ -503,7 +503,7 @@ DEPENDENCIES nearest_time_zone omniauth (= 1.8.1) omniauth-facebook (= 3.0.0) - pg (= 1.3.0) + pg (= 1.4.0) pry-byebug pry-doc pry-rails diff --git a/docker-compose.yml b/docker-compose.yml index 4c78f693..80b6ac1f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ volumes: redis: services: postgres: - image: postgres:13-alpine + image: postgres:14-alpine environment: POSTGRES_PASSWORD: password PGDATA: /data From 101d80520c6f0c5f999fb5e64a5866671e374ced Mon Sep 17 00:00:00 2001 From: John Paul Ashenfelter Date: Sun, 30 Jul 2023 10:12:09 -0400 Subject: [PATCH 3/3] Upgrade to pg 15 --- .github/workflows/backend.yml | 2 +- backend/Gemfile | 2 +- backend/Gemfile.lock | 8 ++++---- docker-compose.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 4d645061..97320265 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -98,7 +98,7 @@ jobs: options: --entrypoint redis-server db: - image: postgres:14-alpine + image: postgres:15-alpine env: POSTGRES_PASSWORD: password ports: diff --git a/backend/Gemfile b/backend/Gemfile index 804c27b6..c9adaf35 100644 --- a/backend/Gemfile +++ b/backend/Gemfile @@ -14,7 +14,7 @@ gem "active_model_serializers", "0.9.8" # Use postgresql and mongo as the database for Active Record gem "mongoid", "7.3.3" -gem "pg", "1.4.0" +gem "pg", "~> 1.5.0" # Use Puma as the app server gem "puma", "5.6.4" diff --git a/backend/Gemfile.lock b/backend/Gemfile.lock index dbf81862..f34c5533 100644 --- a/backend/Gemfile.lock +++ b/backend/Gemfile.lock @@ -283,9 +283,9 @@ GEM parser (3.2.2.3) ast (~> 2.4.1) racc - pg (1.4.0) - pg (1.4.0-x64-mingw32) - pg (1.4.0-x86-mingw32) + pg (1.5.3) + pg (1.5.3-x64-mingw32) + pg (1.5.3-x86-mingw32) pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) @@ -503,7 +503,7 @@ DEPENDENCIES nearest_time_zone omniauth (= 1.8.1) omniauth-facebook (= 3.0.0) - pg (= 1.4.0) + pg (~> 1.5.0) pry-byebug pry-doc pry-rails diff --git a/docker-compose.yml b/docker-compose.yml index 80b6ac1f..fc9eadbc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ volumes: redis: services: postgres: - image: postgres:14-alpine + image: postgres:15-alpine environment: POSTGRES_PASSWORD: password PGDATA: /data