Skip to content

Commit

Permalink
Run tests against a later postgres version
Browse files Browse the repository at this point in the history
People have had anecdotal success in the wild with versions up to and including Postgres 15, so this should be fine.
  • Loading branch information
chadlwilson committed Dec 11, 2024
1 parent 72cfb8e commit f0ecfce
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:9.6
image: postgres:15
env:
POSTGRES_PASSWORD: postgres
options: >-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:9.6
image: postgres:15
env:
POSTGRES_PASSWORD: postgres
options: >-
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_and_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:9.6
image: postgres:15
env:
POSTGRES_PASSWORD: postgres
options: >-
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:9.6
image: postgres:15
env:
POSTGRES_PASSWORD: postgres
options: >-
Expand Down
2 changes: 1 addition & 1 deletion docs/Configure.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GoCD Analytics Plugin

This plugin requires an **empty** PostgreSQL database for its data. If you are using the GoCD with PostgreSQL as the database backend, please note that the database schema that you use for analytics data should be separate from the schema used by GoCD. It is recommended that you use PostgreSQL versions 9.6.
This plugin requires an **empty** PostgreSQL database for its data. If you are using the GoCD with PostgreSQL as the database backend, please note that the database schema that you use for analytics data should be separate from the schema used by GoCD. This plugin was most rigorously tested years ago against PostgreSQL 9.6, however later versions appear to work fine.

Once you've installed the plugin and started the GoCD server, you can provide it with the credentials of your PostgreSQL database. To do this:

Expand Down
4 changes: 2 additions & 2 deletions docs/Install.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ $ cd /var/lib/go-server/; tree .

### PostgreSQL

- This plugin requires PostgreSQL `v9.6`.
- This plugin requires PostgreSQL `v9.6`+.

- This plugin requires an **empty** PostgreSQL database for its data. If you are using the GoCD PostgreSQL Addon, please note that the database schema that you use for analytics data should be separate from the schema used by GoCD.

- The plugin requires the [citext module](https://www.postgresql.org/docs/9.6/static/citext.html) for creating the schema. Install the `postgresql-contrib` packages to include the citext module.
- The plugin requires the [citext module](https://www.postgresql.org/docs/current/citext.html) for creating the schema. Install the `postgresql-contrib` packages to include the citext module.

- **Creating the citext extension:**

Expand Down

0 comments on commit f0ecfce

Please sign in to comment.