ACS-11304 Support for PostgreSQL 15.17, 16.13 and 17.9 (#3885)

This commit is contained in:
Piotr Żurek
2026-03-10 14:47:30 +01:00
committed by GitHub
parent 5ae767ab3f
commit 0d9b74595e
5 changed files with 17 additions and 17 deletions
+13 -13
View File
@@ -346,8 +346,8 @@ jobs:
- name: "Clean Maven cache"
run: bash ./scripts/ci/cleanup_cache.sh
repository_postgresql_14_15_tests:
name: "Repository - PostgreSQL 14.15 tests"
repository_postgresql_15_17_tests:
name: "Repository - PostgreSQL 15.17 tests"
runs-on: ubuntu-latest
needs: [prepare]
if: >
@@ -365,17 +365,17 @@ jobs:
java-version: ${{ env.JAVA_VERSION }}
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: "Run PostgreSQL 14.15 database"
- name: "Run PostgreSQL 15.17 database"
run: docker compose -f ./scripts/ci/docker-compose/docker-compose-db.yaml --profile postgres up -d
env:
POSTGRES_VERSION: 14.15
POSTGRES_VERSION: 15.17
- name: "Run tests"
run: mvn -B test -pl repository -am -Dtest=AllDBTestsTestSuite -DfailIfNoTests=false -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco # pragma: allowlist secret
- name: "Clean Maven cache"
run: bash ./scripts/ci/cleanup_cache.sh
repository_postgresql_15_10_tests:
name: "Repository - PostgreSQL 15.10 tests"
repository_postgresql_16_13_tests:
name: "Repository - PostgreSQL 16.13 tests"
runs-on: ubuntu-latest
needs: [prepare]
if: >
@@ -393,17 +393,17 @@ jobs:
java-version: ${{ env.JAVA_VERSION }}
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: "Run PostgreSQL 15.10 database"
- name: "Run PostgreSQL 16.13 database"
run: docker compose -f ./scripts/ci/docker-compose/docker-compose-db.yaml --profile postgres up -d
env:
POSTGRES_VERSION: 15.10
POSTGRES_VERSION: 16.13
- name: "Run tests"
run: mvn -B test -pl repository -am -Dtest=AllDBTestsTestSuite -DfailIfNoTests=false -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco # pragma: allowlist secret
- name: "Clean Maven cache"
run: bash ./scripts/ci/cleanup_cache.sh
repository_postgresql_16_6_tests:
name: "Repository - PostgreSQL 16.6 tests"
repository_postgresql_17_9_tests:
name: "Repository - PostgreSQL 17.9 tests"
runs-on: ubuntu-latest
needs: [prepare]
if: >
@@ -421,10 +421,10 @@ jobs:
java-version: ${{ env.JAVA_VERSION }}
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: "Run PostgreSQL 16.6 database"
- name: "Run PostgreSQL 17.9 database"
run: docker compose -f ./scripts/ci/docker-compose/docker-compose-db.yaml --profile postgres up -d
env:
POSTGRES_VERSION: 16.6
POSTGRES_VERSION: 17.9
- name: "Run tests"
run: mvn -B test -pl repository -am -Dtest=AllDBTestsTestSuite -DfailIfNoTests=false -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco # pragma: allowlist secret
- name: "Clean Maven cache"
@@ -622,7 +622,7 @@ jobs:
java-version: ${{ env.JAVA_VERSION }}
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: "Run Postgres 16.6 database"
- name: "Run Postgres 17.9 database"
run: docker compose -f ./scripts/ci/docker-compose/docker-compose.yaml --profile postgres up -d
- name: "Run tests"
run: mvn -B test -pl :alfresco-share-services -am -Dtest=ShareServicesTestSuite -DfailIfNoTests=false -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco # pragma: allowlist secret
+1 -1
View File
@@ -1,3 +1,3 @@
SOLR6_TAG=2.0.18
POSTGRES_TAG=16.6
POSTGRES_TAG=17.9
ACTIVEMQ_TAG=6.2.0-jre17-rockylinux8
@@ -422,7 +422,7 @@
<configuration>
<images>
<image>
<name>postgres:16.6</name>
<name>postgres:17.9</name>
<run>
<ports>
<port>${postgresql.tests.port}:${postgresql.port}</port>
+1 -1
View File
@@ -1,3 +1,3 @@
SOLR6_TAG=2.0.18
POSTGRES_TAG=16.6
POSTGRES_TAG=17.9
ACTIVEMQ_TAG=6.2.0-jre17-rockylinux8
@@ -9,7 +9,7 @@ services:
ports:
- "8090:8090"
postgres:
image: postgres:16.6
image: postgres:17.9
profiles: ["default", "with-transform-core-aio", "postgres", "with-mtls-transform-core-aio", "with-sso"]
environment:
POSTGRES_PASSWORD: alfresco #pragma: allowlist secret