|
|
|
@@ -44,14 +44,10 @@ jobs:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
with:
|
|
|
|
|
fetch-depth: 0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.13.0
|
|
|
|
|
- id: changed-files
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/github-list-changes@v8.13.0
|
|
|
|
|
with:
|
|
|
|
|
write-list-to-env: true
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v8.16.0
|
|
|
|
|
- name: "Init"
|
|
|
|
|
run: bash ./scripts/ci/init.sh
|
|
|
|
|
- name: "Prepare maven cache and check compilation"
|
|
|
|
@@ -69,12 +65,12 @@ jobs:
|
|
|
|
|
!contains(github.event.head_commit.message, '[force')
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
|
|
|
|
|
- name: "Init"
|
|
|
|
|
run: bash ./scripts/ci/init.sh
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/veracode@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/veracode@v8.16.0
|
|
|
|
|
continue-on-error: true
|
|
|
|
|
with:
|
|
|
|
|
srcclr-api-token: ${{ secrets.SRCCLR_API_TOKEN }}
|
|
|
|
@@ -92,10 +88,10 @@ jobs:
|
|
|
|
|
!contains(github.event.head_commit.message, '[force')
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/github-download-file@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/github-download-file@v8.16.0
|
|
|
|
|
with:
|
|
|
|
|
token: ${{ secrets.BOT_GITHUB_TOKEN }}
|
|
|
|
|
repository: "Alfresco/veracode-baseline-archive"
|
|
|
|
@@ -148,9 +144,9 @@ jobs:
|
|
|
|
|
!contains(github.event.head_commit.message, '[skip tests]') &&
|
|
|
|
|
!contains(github.event.head_commit.message, '[force]')
|
|
|
|
|
steps:
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
|
|
|
|
|
- uses: Alfresco/ya-pmd-scan@v4.1.0
|
|
|
|
|
with:
|
|
|
|
|
classpath-build-command: "mvn test-compile -ntp -Pags -pl \"-:alfresco-community-repo-docker\""
|
|
|
|
@@ -181,14 +177,14 @@ jobs:
|
|
|
|
|
testAttributes: "-Dtest=AllMmtUnitTestSuite"
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
|
|
|
|
|
- name: "Init"
|
|
|
|
|
run: bash ./scripts/ci/init.sh
|
|
|
|
|
- name: "Prepare Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
|
|
|
|
|
id: rp-prepare
|
|
|
|
|
with:
|
|
|
|
|
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - ${{ matrix.testModule }}
|
|
|
|
@@ -219,7 +215,7 @@ jobs:
|
|
|
|
|
continue-on-error: true
|
|
|
|
|
- name: "Summarize Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
|
|
|
|
|
id: rp-summarize
|
|
|
|
|
with:
|
|
|
|
|
tests-outcome: ${{ steps.run-tests.outcome }}
|
|
|
|
@@ -261,9 +257,9 @@ jobs:
|
|
|
|
|
REQUIRES_INSTALLED_ARTIFACTS: true
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
|
|
|
|
|
- name: "Build"
|
|
|
|
|
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
|
|
|
|
|
run: |
|
|
|
|
@@ -276,7 +272,7 @@ jobs:
|
|
|
|
|
run: docker compose -f ./scripts/ci/docker-compose/docker-compose.yaml --profile ${{ matrix.compose-profile }} up -d
|
|
|
|
|
- name: "Prepare Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
|
|
|
|
|
id: rp-prepare
|
|
|
|
|
with:
|
|
|
|
|
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - ${{ matrix.testSuite }}
|
|
|
|
@@ -307,7 +303,7 @@ jobs:
|
|
|
|
|
continue-on-error: true
|
|
|
|
|
- name: "Summarize Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
|
|
|
|
|
id: rp-summarize
|
|
|
|
|
with:
|
|
|
|
|
tests-outcome: ${{ steps.run-tests.outcome }}
|
|
|
|
@@ -340,9 +336,9 @@ jobs:
|
|
|
|
|
version: ['10.5', '10.6']
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
|
|
|
|
|
- name: "Init"
|
|
|
|
|
run: bash ./scripts/ci/init.sh
|
|
|
|
|
- name: Run MariaDB ${{ matrix.version }} database
|
|
|
|
@@ -351,7 +347,7 @@ jobs:
|
|
|
|
|
MARIADB_VERSION: ${{ matrix.version }}
|
|
|
|
|
- name: "Prepare Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
|
|
|
|
|
id: rp-prepare
|
|
|
|
|
with:
|
|
|
|
|
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - ${{ matrix.version }}
|
|
|
|
@@ -382,7 +378,7 @@ jobs:
|
|
|
|
|
continue-on-error: true
|
|
|
|
|
- name: "Summarize Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
|
|
|
|
|
id: rp-summarize
|
|
|
|
|
with:
|
|
|
|
|
tests-outcome: ${{ steps.run-tests.outcome }}
|
|
|
|
@@ -411,9 +407,9 @@ jobs:
|
|
|
|
|
!contains(github.event.head_commit.message, '[force')
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
|
|
|
|
|
- name: "Init"
|
|
|
|
|
run: bash ./scripts/ci/init.sh
|
|
|
|
|
- name: "Run MariaDB 10.11 database"
|
|
|
|
@@ -422,7 +418,7 @@ jobs:
|
|
|
|
|
MARIADB_VERSION: 10.11
|
|
|
|
|
- name: "Prepare Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
|
|
|
|
|
id: rp-prepare
|
|
|
|
|
with:
|
|
|
|
|
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }}
|
|
|
|
@@ -453,7 +449,7 @@ jobs:
|
|
|
|
|
continue-on-error: true
|
|
|
|
|
- name: "Summarize Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
|
|
|
|
|
id: rp-summarize
|
|
|
|
|
with:
|
|
|
|
|
tests-outcome: ${{ steps.run-tests.outcome }}
|
|
|
|
@@ -482,9 +478,9 @@ jobs:
|
|
|
|
|
!contains(github.event.head_commit.message, '[force')
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
|
|
|
|
|
- name: "Init"
|
|
|
|
|
run: bash ./scripts/ci/init.sh
|
|
|
|
|
- name: "Run MySQL 8 database"
|
|
|
|
@@ -493,7 +489,7 @@ jobs:
|
|
|
|
|
MYSQL_VERSION: 8
|
|
|
|
|
- name: "Prepare Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
|
|
|
|
|
id: rp-prepare
|
|
|
|
|
with:
|
|
|
|
|
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }}
|
|
|
|
@@ -524,7 +520,7 @@ jobs:
|
|
|
|
|
continue-on-error: true
|
|
|
|
|
- name: "Summarize Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
|
|
|
|
|
id: rp-summarize
|
|
|
|
|
with:
|
|
|
|
|
tests-outcome: ${{ steps.run-tests.outcome }}
|
|
|
|
@@ -552,9 +548,9 @@ jobs:
|
|
|
|
|
!contains(github.event.head_commit.message, '[force')
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
|
|
|
|
|
- name: "Init"
|
|
|
|
|
run: bash ./scripts/ci/init.sh
|
|
|
|
|
- name: "Run PostgreSQL 14.15 database"
|
|
|
|
@@ -563,7 +559,7 @@ jobs:
|
|
|
|
|
POSTGRES_VERSION: 14.15
|
|
|
|
|
- name: "Prepare Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
|
|
|
|
|
id: rp-prepare
|
|
|
|
|
with:
|
|
|
|
|
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }}
|
|
|
|
@@ -594,7 +590,7 @@ jobs:
|
|
|
|
|
continue-on-error: true
|
|
|
|
|
- name: "Summarize Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
|
|
|
|
|
id: rp-summarize
|
|
|
|
|
with:
|
|
|
|
|
tests-outcome: ${{ steps.run-tests.outcome }}
|
|
|
|
@@ -622,9 +618,9 @@ jobs:
|
|
|
|
|
!contains(github.event.head_commit.message, '[force')
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
|
|
|
|
|
- name: "Init"
|
|
|
|
|
run: bash ./scripts/ci/init.sh
|
|
|
|
|
- name: "Run PostgreSQL 15.10 database"
|
|
|
|
@@ -633,7 +629,7 @@ jobs:
|
|
|
|
|
POSTGRES_VERSION: 15.10
|
|
|
|
|
- name: "Prepare Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
|
|
|
|
|
id: rp-prepare
|
|
|
|
|
with:
|
|
|
|
|
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }}
|
|
|
|
@@ -664,7 +660,7 @@ jobs:
|
|
|
|
|
continue-on-error: true
|
|
|
|
|
- name: "Summarize Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
|
|
|
|
|
id: rp-summarize
|
|
|
|
|
with:
|
|
|
|
|
tests-outcome: ${{ steps.run-tests.outcome }}
|
|
|
|
@@ -692,9 +688,9 @@ jobs:
|
|
|
|
|
!contains(github.event.head_commit.message, '[force')
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
|
|
|
|
|
- name: "Init"
|
|
|
|
|
run: bash ./scripts/ci/init.sh
|
|
|
|
|
- name: "Run PostgreSQL 16.6 database"
|
|
|
|
@@ -703,7 +699,7 @@ jobs:
|
|
|
|
|
POSTGRES_VERSION: 16.6
|
|
|
|
|
- name: "Prepare Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
|
|
|
|
|
id: rp-prepare
|
|
|
|
|
with:
|
|
|
|
|
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }}
|
|
|
|
@@ -734,7 +730,7 @@ jobs:
|
|
|
|
|
continue-on-error: true
|
|
|
|
|
- name: "Summarize Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
|
|
|
|
|
id: rp-summarize
|
|
|
|
|
with:
|
|
|
|
|
tests-outcome: ${{ steps.run-tests.outcome }}
|
|
|
|
@@ -760,16 +756,16 @@ jobs:
|
|
|
|
|
!contains(github.event.head_commit.message, '[force')
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
|
|
|
|
|
- name: "Init"
|
|
|
|
|
run: bash ./scripts/ci/init.sh
|
|
|
|
|
- name: "Run ActiveMQ"
|
|
|
|
|
run: docker compose -f ./scripts/ci/docker-compose/docker-compose.yaml --profile activemq up -d
|
|
|
|
|
- name: "Prepare Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
|
|
|
|
|
id: rp-prepare
|
|
|
|
|
with:
|
|
|
|
|
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }}
|
|
|
|
@@ -800,7 +796,7 @@ jobs:
|
|
|
|
|
continue-on-error: true
|
|
|
|
|
- name: "Summarize Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
|
|
|
|
|
id: rp-summarize
|
|
|
|
|
with:
|
|
|
|
|
tests-outcome: ${{ steps.run-tests.outcome }}
|
|
|
|
@@ -860,9 +856,9 @@ jobs:
|
|
|
|
|
mvn-options: '-Dencryption.ssl.keystore.location=${CI_WORKSPACE}/keystores/alfresco/alfresco.keystore -Dencryption.ssl.truststore.location=${CI_WORKSPACE}/keystores/alfresco/alfresco.truststore'
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
|
|
|
|
|
- name: "Init"
|
|
|
|
|
run: bash ./scripts/ci/init.sh
|
|
|
|
|
- name: "Set transformers tag"
|
|
|
|
@@ -885,7 +881,7 @@ jobs:
|
|
|
|
|
run: docker compose -f ./scripts/ci/docker-compose/docker-compose.yaml --profile ${{ matrix.compose-profile }} up -d
|
|
|
|
|
- name: "Prepare Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
|
|
|
|
|
id: rp-prepare
|
|
|
|
|
with:
|
|
|
|
|
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - ${{ matrix.testSuite }} ${{ matrix.idp }}
|
|
|
|
@@ -916,7 +912,7 @@ jobs:
|
|
|
|
|
continue-on-error: true
|
|
|
|
|
- name: "Summarize Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
|
|
|
|
|
id: rp-summarize
|
|
|
|
|
with:
|
|
|
|
|
tests-outcome: ${{ steps.run-tests.outcome }}
|
|
|
|
@@ -974,9 +970,9 @@ jobs:
|
|
|
|
|
REQUIRES_LOCAL_IMAGES: true
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
|
|
|
|
|
- name: "Build"
|
|
|
|
|
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
|
|
|
|
|
run: |
|
|
|
|
@@ -992,7 +988,7 @@ jobs:
|
|
|
|
|
run: mvn install -pl :alfresco-community-repo-integration-test -am -DskipTests -Pall-tas-tests
|
|
|
|
|
- name: "Prepare Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
|
|
|
|
|
id: rp-prepare
|
|
|
|
|
with:
|
|
|
|
|
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - ${{ matrix.test-name }}
|
|
|
|
@@ -1030,7 +1026,7 @@ jobs:
|
|
|
|
|
continue-on-error: true
|
|
|
|
|
- name: "Summarize Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
|
|
|
|
|
id: rp-summarize
|
|
|
|
|
with:
|
|
|
|
|
tests-outcome: ${{ steps.tests.outcome }}
|
|
|
|
@@ -1056,16 +1052,16 @@ jobs:
|
|
|
|
|
!contains(github.event.head_commit.message, '[force')
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
|
|
|
|
|
- name: "Init"
|
|
|
|
|
run: bash ./scripts/ci/init.sh
|
|
|
|
|
- name: "Run Postgres 16.6 database"
|
|
|
|
|
run: docker compose -f ./scripts/ci/docker-compose/docker-compose.yaml --profile postgres up -d
|
|
|
|
|
- name: "Prepare Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
|
|
|
|
|
id: rp-prepare
|
|
|
|
|
with:
|
|
|
|
|
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }}
|
|
|
|
@@ -1096,7 +1092,7 @@ jobs:
|
|
|
|
|
continue-on-error: true
|
|
|
|
|
- name: "Summarize Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
|
|
|
|
|
id: rp-summarize
|
|
|
|
|
with:
|
|
|
|
|
tests-outcome: ${{ steps.run-tests.outcome }}
|
|
|
|
@@ -1130,9 +1126,9 @@ jobs:
|
|
|
|
|
REQUIRES_INSTALLED_ARTIFACTS: true
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
|
|
|
|
|
- name: "Build"
|
|
|
|
|
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
|
|
|
|
|
run: |
|
|
|
|
@@ -1140,7 +1136,7 @@ jobs:
|
|
|
|
|
bash ./scripts/ci/build.sh
|
|
|
|
|
- name: "Prepare Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
|
|
|
|
|
id: rp-prepare
|
|
|
|
|
with:
|
|
|
|
|
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} 0${{ matrix.part }} - (PostgreSQL) ${{ matrix.test-name }}
|
|
|
|
@@ -1176,9 +1172,9 @@ jobs:
|
|
|
|
|
REQUIRES_INSTALLED_ARTIFACTS: true
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
|
|
|
|
|
- name: "Build"
|
|
|
|
|
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
|
|
|
|
|
run: |
|
|
|
|
@@ -1186,7 +1182,7 @@ jobs:
|
|
|
|
|
bash ./scripts/ci/build.sh
|
|
|
|
|
- name: "Prepare Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
|
|
|
|
|
id: rp-prepare
|
|
|
|
|
with:
|
|
|
|
|
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} 0${{ matrix.part }} - (MySQL) ${{ matrix.test-name }}
|
|
|
|
@@ -1218,9 +1214,9 @@ jobs:
|
|
|
|
|
REQUIRES_LOCAL_IMAGES: true
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
|
|
|
|
|
- name: "Build"
|
|
|
|
|
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
|
|
|
|
|
run: |
|
|
|
|
@@ -1234,7 +1230,7 @@ jobs:
|
|
|
|
|
mvn -B install -pl :alfresco-governance-services-automation-community-rest-api -am -Pags -Pall-tas-tests -DskipTests
|
|
|
|
|
- name: "Prepare Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
|
|
|
|
|
id: rp-prepare
|
|
|
|
|
with:
|
|
|
|
|
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }}
|
|
|
|
@@ -1266,7 +1262,7 @@ jobs:
|
|
|
|
|
continue-on-error: true
|
|
|
|
|
- name: "Summarize Report Portal"
|
|
|
|
|
if: github.ref_name == 'master'
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.13.0
|
|
|
|
|
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
|
|
|
|
|
id: rp-summarize
|
|
|
|
|
with:
|
|
|
|
|
tests-outcome: ${{ steps.run-tests.outcome }}
|
|
|
|
@@ -1308,9 +1304,9 @@ jobs:
|
|
|
|
|
!contains(github.event.head_commit.message, '[force]')
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.13.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
|
|
|
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
|
|
|
|
|
- name: "Build"
|
|
|
|
|
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
|
|
|
|
|
run: |
|
|
|
|
|