diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 95710e18bb..18cbbb442f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,9 +29,6 @@ env: AUTH0_CLIENT_ID: ${{ secrets.AUTH0_OIDC_ADMIN_CLIENT_ID }} AUTH0_CLIENT_SECRET: ${{ secrets.AUTH0_OIDC_CLIENT_SECRET }} AUTH0_ADMIN_PASSWORD: ${{ secrets.AUTH0_OIDC_ADMIN_PASSWORD }} - # Report Portal settings - RP_LAUNCH_PREFIX: "${{ github.workflow }} - ${{ github.job }}" - RP_PROJECT: alfresco-backend jobs: prepare: @@ -182,52 +179,9 @@ jobs: - 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.16.0 - id: rp-prepare - with: - rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - ${{ matrix.testModule }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - rp-project: ${{ env.RP_PROJECT }} - rp-use-static-launch-name: true - continue-on-error: true - - name: "Add GitHub Step Summary" - if: github.ref_name == 'master' - env: - RP_ENABLED: ${{ steps.rp-prepare.outputs.enabled }} - RP_KEY: ${{ steps.rp-prepare.outputs.key }} - RP_URL: ${{ steps.rp-prepare.outputs.url }} - run: bash scripts/ci/add_step_summary.sh - continue-on-error: true - name: "Run tests" - id: run-tests - env: - RP_OPTS: ${{ github.ref_name == 'master' && steps.rp-prepare.outputs.mvn-opts || '' }} run: | - eval "args=($RP_OPTS)" mvn -B test -pl ${{ matrix.testModule }} -am ${{ matrix.testAttributes }} -DfailIfNoTests=false "${args[@]}" - continue-on-error: true - - name: "Update GitHub Step Summary" - if: github.ref_name == 'master' - run: | - echo "#### ⏱ After Tests: $(date -u +'%Y-%m-%d %H:%M:%S%:z')" >> $GITHUB_STEP_SUMMARY - continue-on-error: true - - name: "Summarize Report Portal" - if: github.ref_name == 'master' - uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0 - id: rp-summarize - with: - tests-outcome: ${{ steps.run-tests.outcome }} - rp-launch-key: ${{ steps.rp-prepare.outputs.key }} - rp-project: ${{ env.RP_PROJECT }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - continue-on-error: true - - name: "Exit on failure" - if: steps.run-tests.outcome != 'success' - run: | - echo "::error title=run-tests::Tests failed: re-throwing on error." - exit 1 - name: "Clean Maven cache" run: bash ./scripts/ci/cleanup_cache.sh @@ -270,52 +224,8 @@ jobs: - name: "Set up the environment" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} 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.16.0 - id: rp-prepare - with: - rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - ${{ matrix.testSuite }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - rp-project: ${{ env.RP_PROJECT }} - rp-use-static-launch-name: true - continue-on-error: true - - name: "Add GitHub Step Summary" - if: github.ref_name == 'master' - env: - RP_ENABLED: ${{ steps.rp-prepare.outputs.enabled }} - RP_KEY: ${{ steps.rp-prepare.outputs.key }} - RP_URL: ${{ steps.rp-prepare.outputs.url }} - run: bash scripts/ci/add_step_summary.sh - continue-on-error: true - name: "Run tests" - id: run-tests - env: - RP_OPTS: ${{ github.ref_name == 'master' && steps.rp-prepare.outputs.mvn-opts || '' }} - run: | - eval "args=($RP_OPTS)" - mvn -B test -pl remote-api -Dtest=${{ matrix.testSuite }} -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco "${args[@]}" - continue-on-error: true - - name: "Update GitHub Step Summary" - if: github.ref_name == 'master' - run: | - echo "#### ⏱ After Tests: $(date -u +'%Y-%m-%d %H:%M:%S%:z')" >> $GITHUB_STEP_SUMMARY - continue-on-error: true - - name: "Summarize Report Portal" - if: github.ref_name == 'master' - uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0 - id: rp-summarize - with: - tests-outcome: ${{ steps.run-tests.outcome }} - rp-launch-key: ${{ steps.rp-prepare.outputs.key }} - rp-project: ${{ env.RP_PROJECT }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - continue-on-error: true - - name: "Exit on failure" - if: steps.run-tests.outcome != 'success' - run: | - echo "::error title=run-tests::Tests failed: re-throwing on error." - exit 1 + run: mvn -B test -pl remote-api -Dtest=${{ matrix.testSuite }} -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 @@ -345,52 +255,8 @@ jobs: run: docker compose -f ./scripts/ci/docker-compose/docker-compose-db.yaml --profile mariadb up -d env: MARIADB_VERSION: ${{ matrix.version }} - - name: "Prepare Report Portal" - if: github.ref_name == 'master' - 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 }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - rp-project: ${{ env.RP_PROJECT }} - rp-use-static-launch-name: true - continue-on-error: true - - name: "Add GitHub Step Summary" - if: github.ref_name == 'master' - env: - RP_ENABLED: ${{ steps.rp-prepare.outputs.enabled }} - RP_KEY: ${{ steps.rp-prepare.outputs.key }} - RP_URL: ${{ steps.rp-prepare.outputs.url }} - run: bash scripts/ci/add_step_summary.sh - continue-on-error: true - name: "Run tests" - id: run-tests - env: - RP_OPTS: ${{ github.ref_name == 'master' && steps.rp-prepare.outputs.mvn-opts || '' }} - run: | - eval "args=($RP_OPTS)" - mvn -B test -pl repository -am -Dtest=AllDBTestsTestSuite -DfailIfNoTests=false -Ddb.name=alfresco -Ddb.url=jdbc:mariadb://localhost:3307/alfresco?useUnicode=yes\&characterEncoding=UTF-8 -Ddb.username=alfresco -Ddb.password=alfresco -Ddb.driver=org.mariadb.jdbc.Driver "${args[@]}" - continue-on-error: true - - name: "Update GitHub Step Summary" - if: github.ref_name == 'master' - run: | - echo "#### ⏱ After Tests: $(date -u +'%Y-%m-%d %H:%M:%S%:z')" >> $GITHUB_STEP_SUMMARY - continue-on-error: true - - name: "Summarize Report Portal" - if: github.ref_name == 'master' - uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0 - id: rp-summarize - with: - tests-outcome: ${{ steps.run-tests.outcome }} - rp-launch-key: ${{ steps.rp-prepare.outputs.key }} - rp-project: ${{ env.RP_PROJECT }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - continue-on-error: true - - name: "Exit on failure" - if: steps.run-tests.outcome != 'success' - run: | - echo "::error title=run-tests::Tests failed: re-throwing on error." - exit 1 + run: mvn -B test -pl repository -am -Dtest=AllDBTestsTestSuite -DfailIfNoTests=false -Ddb.name=alfresco -Ddb.url=jdbc:mariadb://localhost:3307/alfresco?useUnicode=yes\&characterEncoding=UTF-8 -Ddb.username=alfresco -Ddb.password=alfresco -Ddb.driver=org.mariadb.jdbc.Driver # pragma: allowlist secret - name: "Clean Maven cache" run: bash ./scripts/ci/cleanup_cache.sh @@ -416,52 +282,8 @@ jobs: run: docker compose -f ./scripts/ci/docker-compose/docker-compose-db.yaml --profile mariadb up -d env: MARIADB_VERSION: 10.11 - - name: "Prepare Report Portal" - if: github.ref_name == 'master' - uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0 - id: rp-prepare - with: - rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - rp-project: ${{ env.RP_PROJECT }} - rp-use-static-launch-name: true - continue-on-error: true - - name: "Add GitHub Step Summary" - if: github.ref_name == 'master' - env: - RP_ENABLED: ${{ steps.rp-prepare.outputs.enabled }} - RP_KEY: ${{ steps.rp-prepare.outputs.key }} - RP_URL: ${{ steps.rp-prepare.outputs.url }} - run: bash scripts/ci/add_step_summary.sh - continue-on-error: true - name: "Run tests" - id: run-tests - env: - RP_OPTS: ${{ github.ref_name == 'master' && steps.rp-prepare.outputs.mvn-opts || '' }} - run: | - eval "args=($RP_OPTS)" - mvn -B test -pl repository -am -Dtest=AllDBTestsTestSuite -DfailIfNoTests=false -Ddb.name=alfresco -Ddb.url=jdbc:mariadb://localhost:3307/alfresco?useUnicode=yes\&characterEncoding=UTF-8 -Ddb.username=alfresco -Ddb.password=alfresco -Ddb.driver=org.mariadb.jdbc.Driver "${args[@]}" - continue-on-error: true - - name: "Update GitHub Step Summary" - if: github.ref_name == 'master' - run: | - echo "#### ⏱ After Tests: $(date -u +'%Y-%m-%d %H:%M:%S%:z')" >> $GITHUB_STEP_SUMMARY - continue-on-error: true - - name: "Summarize Report Portal" - if: github.ref_name == 'master' - uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0 - id: rp-summarize - with: - tests-outcome: ${{ steps.run-tests.outcome }} - rp-launch-key: ${{ steps.rp-prepare.outputs.key }} - rp-project: ${{ env.RP_PROJECT }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - continue-on-error: true - - name: "Exit on failure" - if: steps.run-tests.outcome != 'success' - run: | - echo "::error title=run-tests::Tests failed: re-throwing on error." - exit 1 + run: mvn -B test -pl repository -am -Dtest=AllDBTestsTestSuite -DfailIfNoTests=false -Ddb.name=alfresco -Ddb.url=jdbc:mariadb://localhost:3307/alfresco?useUnicode=yes\&characterEncoding=UTF-8 -Ddb.username=alfresco -Ddb.password=alfresco -Ddb.driver=org.mariadb.jdbc.Driver # pragma: allowlist secret - name: "Clean Maven cache" run: bash ./scripts/ci/cleanup_cache.sh @@ -487,52 +309,8 @@ jobs: run: docker compose -f ./scripts/ci/docker-compose/docker-compose-db.yaml --profile mysql up -d env: MYSQL_VERSION: 8 - - name: "Prepare Report Portal" - if: github.ref_name == 'master' - uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0 - id: rp-prepare - with: - rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - rp-project: ${{ env.RP_PROJECT }} - rp-use-static-launch-name: true - continue-on-error: true - - name: "Add GitHub Step Summary" - if: github.ref_name == 'master' - env: - RP_ENABLED: ${{ steps.rp-prepare.outputs.enabled }} - RP_KEY: ${{ steps.rp-prepare.outputs.key }} - RP_URL: ${{ steps.rp-prepare.outputs.url }} - run: bash scripts/ci/add_step_summary.sh - continue-on-error: true - name: "Run tests" - id: run-tests - env: - RP_OPTS: ${{ github.ref_name == 'master' && steps.rp-prepare.outputs.mvn-opts || '' }} - run: | - eval "args=($RP_OPTS)" - mvn -B test -pl repository -am -Dtest=AllDBTestsTestSuite -DfailIfNoTests=false -Ddb.driver=com.mysql.cj.jdbc.Driver -Ddb.name=alfresco -Ddb.url=jdbc:mysql://localhost:3307/alfresco -Ddb.username=alfresco -Ddb.password=alfresco "${args[@]}" - continue-on-error: true - - name: "Update GitHub Step Summary" - if: github.ref_name == 'master' - run: | - echo "#### ⏱ After Tests: $(date -u +'%Y-%m-%d %H:%M:%S%:z')" >> $GITHUB_STEP_SUMMARY - continue-on-error: true - - name: "Summarize Report Portal" - if: github.ref_name == 'master' - uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0 - id: rp-summarize - with: - tests-outcome: ${{ steps.run-tests.outcome }} - rp-launch-key: ${{ steps.rp-prepare.outputs.key }} - rp-project: ${{ env.RP_PROJECT }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - continue-on-error: true - - name: "Exit on failure" - if: steps.run-tests.outcome != 'success' - run: | - echo "::error title=run-tests::Tests failed: re-throwing on error." - exit 1 + run: mvn -B test -pl repository -am -Dtest=AllDBTestsTestSuite -DfailIfNoTests=false -Ddb.driver=com.mysql.jdbc.Driver -Ddb.name=alfresco -Ddb.url=jdbc:mysql://localhost:3307/alfresco -Ddb.username=alfresco -Ddb.password=alfresco # pragma: allowlist secret - name: "Clean Maven cache" run: bash ./scripts/ci/cleanup_cache.sh @@ -557,52 +335,8 @@ jobs: run: docker compose -f ./scripts/ci/docker-compose/docker-compose-db.yaml --profile postgres up -d env: POSTGRES_VERSION: 14.15 - - name: "Prepare Report Portal" - if: github.ref_name == 'master' - uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0 - id: rp-prepare - with: - rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - rp-project: ${{ env.RP_PROJECT }} - rp-use-static-launch-name: true - continue-on-error: true - - name: "Add GitHub Step Summary" - if: github.ref_name == 'master' - env: - RP_ENABLED: ${{ steps.rp-prepare.outputs.enabled }} - RP_KEY: ${{ steps.rp-prepare.outputs.key }} - RP_URL: ${{ steps.rp-prepare.outputs.url }} - run: bash scripts/ci/add_step_summary.sh - continue-on-error: true - name: "Run tests" - id: run-tests - env: - RP_OPTS: ${{ github.ref_name == 'master' && steps.rp-prepare.outputs.mvn-opts || '' }} - run: | - eval "args=($RP_OPTS)" - 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 "${args[@]}" - continue-on-error: true - - name: "Update GitHub Step Summary" - if: github.ref_name == 'master' - run: | - echo "#### ⏱ After Tests: $(date -u +'%Y-%m-%d %H:%M:%S%:z')" >> $GITHUB_STEP_SUMMARY - continue-on-error: true - - name: "Summarize Report Portal" - if: github.ref_name == 'master' - uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0 - id: rp-summarize - with: - tests-outcome: ${{ steps.run-tests.outcome }} - rp-launch-key: ${{ steps.rp-prepare.outputs.key }} - rp-project: ${{ env.RP_PROJECT }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - continue-on-error: true - - name: "Exit on failure" - if: steps.run-tests.outcome != 'success' - run: | - echo "::error title=run-tests::Tests failed: re-throwing on error." - exit 1 + 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 @@ -627,52 +361,8 @@ jobs: run: docker compose -f ./scripts/ci/docker-compose/docker-compose-db.yaml --profile postgres up -d env: POSTGRES_VERSION: 15.10 - - name: "Prepare Report Portal" - if: github.ref_name == 'master' - uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0 - id: rp-prepare - with: - rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - rp-project: ${{ env.RP_PROJECT }} - rp-use-static-launch-name: true - continue-on-error: true - - name: "Add GitHub Step Summary" - if: github.ref_name == 'master' - env: - RP_ENABLED: ${{ steps.rp-prepare.outputs.enabled }} - RP_KEY: ${{ steps.rp-prepare.outputs.key }} - RP_URL: ${{ steps.rp-prepare.outputs.url }} - run: bash scripts/ci/add_step_summary.sh - continue-on-error: true - name: "Run tests" - id: run-tests - env: - RP_OPTS: ${{ github.ref_name == 'master' && steps.rp-prepare.outputs.mvn-opts || '' }} - run: | - eval "args=($RP_OPTS)" - 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 "${args[@]}" - continue-on-error: true - - name: "Update GitHub Step Summary" - if: github.ref_name == 'master' - run: | - echo "#### ⏱ After Tests: $(date -u +'%Y-%m-%d %H:%M:%S%:z')" >> $GITHUB_STEP_SUMMARY - continue-on-error: true - - name: "Summarize Report Portal" - if: github.ref_name == 'master' - uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0 - id: rp-summarize - with: - tests-outcome: ${{ steps.run-tests.outcome }} - rp-launch-key: ${{ steps.rp-prepare.outputs.key }} - rp-project: ${{ env.RP_PROJECT }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - continue-on-error: true - - name: "Exit on failure" - if: steps.run-tests.outcome != 'success' - run: | - echo "::error title=run-tests::Tests failed: re-throwing on error." - exit 1 + 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 @@ -697,52 +387,8 @@ jobs: run: docker compose -f ./scripts/ci/docker-compose/docker-compose-db.yaml --profile postgres up -d env: POSTGRES_VERSION: 16.6 - - name: "Prepare Report Portal" - if: github.ref_name == 'master' - uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0 - id: rp-prepare - with: - rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - rp-project: ${{ env.RP_PROJECT }} - rp-use-static-launch-name: true - continue-on-error: true - - name: "Add GitHub Step Summary" - if: github.ref_name == 'master' - env: - RP_ENABLED: ${{ steps.rp-prepare.outputs.enabled }} - RP_KEY: ${{ steps.rp-prepare.outputs.key }} - RP_URL: ${{ steps.rp-prepare.outputs.url }} - run: bash scripts/ci/add_step_summary.sh - continue-on-error: true - name: "Run tests" - id: run-tests - env: - RP_OPTS: ${{ github.ref_name == 'master' && steps.rp-prepare.outputs.mvn-opts || '' }} - run: | - eval "args=($RP_OPTS)" - 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 "${args[@]}" - continue-on-error: true - - name: "Update GitHub Step Summary" - if: github.ref_name == 'master' - run: | - echo "#### ⏱ After Tests: $(date -u +'%Y-%m-%d %H:%M:%S%:z')" >> $GITHUB_STEP_SUMMARY - continue-on-error: true - - name: "Summarize Report Portal" - if: github.ref_name == 'master' - uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0 - id: rp-summarize - with: - tests-outcome: ${{ steps.run-tests.outcome }} - rp-launch-key: ${{ steps.rp-prepare.outputs.key }} - rp-project: ${{ env.RP_PROJECT }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - continue-on-error: true - - name: "Exit on failure" - if: steps.run-tests.outcome != 'success' - run: | - echo "::error title=run-tests::Tests failed: re-throwing on error." - exit 1 + 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 @@ -763,52 +409,8 @@ jobs: 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.16.0 - id: rp-prepare - with: - rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - rp-project: ${{ env.RP_PROJECT }} - rp-use-static-launch-name: true - continue-on-error: true - - name: "Add GitHub Step Summary" - if: github.ref_name == 'master' - env: - RP_ENABLED: ${{ steps.rp-prepare.outputs.enabled }} - RP_KEY: ${{ steps.rp-prepare.outputs.key }} - RP_URL: ${{ steps.rp-prepare.outputs.url }} - run: bash scripts/ci/add_step_summary.sh - continue-on-error: true - name: "Run tests" - id: run-tests - env: - RP_OPTS: ${{ github.ref_name == 'master' && steps.rp-prepare.outputs.mvn-opts || '' }} - run: | - eval "args=($RP_OPTS)" - mvn -B test -pl repository -am -Dtest=MessagingUnitTestSuite -DfailIfNoTests=false "${args[@]}" - continue-on-error: true - - name: "Update GitHub Step Summary" - if: github.ref_name == 'master' - run: | - echo "#### ⏱ After Tests: $(date -u +'%Y-%m-%d %H:%M:%S%:z')" >> $GITHUB_STEP_SUMMARY - continue-on-error: true - - name: "Summarize Report Portal" - if: github.ref_name == 'master' - uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0 - id: rp-summarize - with: - tests-outcome: ${{ steps.run-tests.outcome }} - rp-launch-key: ${{ steps.rp-prepare.outputs.key }} - rp-project: ${{ env.RP_PROJECT }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - continue-on-error: true - - name: "Exit on failure" - if: steps.run-tests.outcome != 'success' - run: | - echo "::error title=run-tests::Tests failed: re-throwing on error." - exit 1 + run: mvn -B test -pl repository -am -Dtest=CamelRoutesTest,CamelComponentsTest -DfailIfNoTests=false # pragma: allowlist secret - name: "Clean Maven cache" run: bash ./scripts/ci/cleanup_cache.sh @@ -879,52 +481,8 @@ jobs: - name: "Set up the environment" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} 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.16.0 - id: rp-prepare - with: - rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - ${{ matrix.testSuite }} ${{ matrix.idp }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - rp-project: ${{ env.RP_PROJECT }} - rp-use-static-launch-name: true - continue-on-error: true - - name: "Add GitHub Step Summary" - if: github.ref_name == 'master' - env: - RP_ENABLED: ${{ steps.rp-prepare.outputs.enabled }} - RP_KEY: ${{ steps.rp-prepare.outputs.key }} - RP_URL: ${{ steps.rp-prepare.outputs.url }} - run: bash scripts/ci/add_step_summary.sh - continue-on-error: true - name: "Run tests" - id: run-tests - env: - RP_OPTS: ${{ github.ref_name == 'master' && steps.rp-prepare.outputs.mvn-opts || '' }} - run: | - eval "args=($RP_OPTS)" - mvn -B test -pl repository -am -Dtest=${{ matrix.testSuite }} -DfailIfNoTests=false -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco ${{ matrix.mvn-options }} "${args[@]}" - continue-on-error: true - - name: "Update GitHub Step Summary" - if: github.ref_name == 'master' - run: | - echo "#### ⏱ After Tests: $(date -u +'%Y-%m-%d %H:%M:%S%:z')" >> $GITHUB_STEP_SUMMARY - continue-on-error: true - - name: "Summarize Report Portal" - if: github.ref_name == 'master' - uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0 - id: rp-summarize - with: - tests-outcome: ${{ steps.run-tests.outcome }} - rp-launch-key: ${{ steps.rp-prepare.outputs.key }} - rp-project: ${{ env.RP_PROJECT }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - continue-on-error: true - - name: "Exit on failure" - if: steps.run-tests.outcome != 'success' - run: | - echo "::error title=run-tests::Tests failed: re-throwing on error." - exit 1 + run: mvn -B test -pl repository -am -Dtest=${{ matrix.testSuite }} -DfailIfNoTests=false -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql://localhost:5433/alfresco -Ddb.username=alfresco -Ddb.password=alfresco ${{ matrix.mvn-options }} # pragma: allowlist secret - name: "Clean Maven cache" run: bash ./scripts/ci/cleanup_cache.sh @@ -986,59 +544,16 @@ jobs: - name: "Build TAS integration tests" if: ${{ matrix.test-name }} == 'Integration TAS tests' 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.16.0 - id: rp-prepare - with: - rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - ${{ matrix.test-name }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - rp-project: ${{ env.RP_PROJECT }} - rp-use-static-launch-name: true - continue-on-error: true - - name: "Add GitHub Step Summary" - if: github.ref_name == 'master' - env: - RP_ENABLED: ${{ steps.rp-prepare.outputs.enabled }} - RP_KEY: ${{ steps.rp-prepare.outputs.key }} - RP_URL: ${{ steps.rp-prepare.outputs.url }} - run: bash scripts/ci/add_step_summary.sh - continue-on-error: true - name: "Run tests" id: tests - env: - RP_OPTS: ${{ github.ref_name == 'master' && steps.rp-prepare.outputs.mvn-opts || '' }} timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} - run: | - eval "args=($RP_OPTS)" - mvn -B verify -f packaging/tests/${{ matrix.pom-dir }}/pom.xml -Pall-tas-tests,${{ matrix.test-profile }} -Denvironment=default -DrunBugs=false "${args[@]}" - continue-on-error: true + run: mvn -B verify -f packaging/tests/${{ matrix.pom-dir }}/pom.xml -Pall-tas-tests,${{ matrix.test-profile }} -Denvironment=default -DrunBugs=false - name: "Print output after success" if: ${{ always() && steps.tests.outcome == 'success' }} run: ${TAS_SCRIPTS}/output_tests_run.sh "packaging/tests/${{ matrix.pom-dir }}" - name: "Print output after failure" if: ${{ always() && steps.tests.outcome == 'failure' }} run: ${TAS_SCRIPTS}/output_logs_for_failures.sh "packaging/tests/${{ matrix.pom-dir }}" - - name: "Update GitHub Step Summary" - if: github.ref_name == 'master' - run: | - echo "#### ⏱ After Tests: $(date -u +'%Y-%m-%d %H:%M:%S%:z')" >> $GITHUB_STEP_SUMMARY - continue-on-error: true - - name: "Summarize Report Portal" - if: github.ref_name == 'master' - uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0 - id: rp-summarize - with: - tests-outcome: ${{ steps.tests.outcome }} - rp-launch-key: ${{ steps.rp-prepare.outputs.key }} - rp-project: ${{ env.RP_PROJECT }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - continue-on-error: true - - name: "Exit on failure" - if: steps.tests.outcome != 'success' - run: | - echo "::error title=tests::Tests failed: re-throwing on error." - exit 1 - name: "Clean Maven cache" run: bash ./scripts/ci/cleanup_cache.sh @@ -1059,52 +574,8 @@ jobs: 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.16.0 - id: rp-prepare - with: - rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - rp-project: ${{ env.RP_PROJECT }} - rp-use-static-launch-name: true - continue-on-error: true - - name: "Add GitHub Step Summary" - if: github.ref_name == 'master' - env: - RP_ENABLED: ${{ steps.rp-prepare.outputs.enabled }} - RP_KEY: ${{ steps.rp-prepare.outputs.key }} - RP_URL: ${{ steps.rp-prepare.outputs.url }} - run: bash scripts/ci/add_step_summary.sh - continue-on-error: true - name: "Run tests" - id: run-tests - env: - RP_OPTS: ${{ github.ref_name == 'master' && steps.rp-prepare.outputs.mvn-opts || '' }} - run: | - eval "args=($RP_OPTS)" - 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 "${args[@]}" - continue-on-error: true - - name: "Update GitHub Step Summary" - if: github.ref_name == 'master' - run: | - echo "#### ⏱ After Tests: $(date -u +'%Y-%m-%d %H:%M:%S%:z')" >> $GITHUB_STEP_SUMMARY - continue-on-error: true - - name: "Summarize Report Portal" - if: github.ref_name == 'master' - uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0 - id: rp-summarize - with: - tests-outcome: ${{ steps.run-tests.outcome }} - rp-launch-key: ${{ steps.rp-prepare.outputs.key }} - rp-project: ${{ env.RP_PROJECT }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - continue-on-error: true - - name: "Exit on failure" - if: steps.run-tests.outcome != 'success' - run: | - echo "::error title=run-tests::Tests failed: re-throwing on error." - exit 1 + 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 - name: "Clean Maven cache" run: bash ./scripts/ci/cleanup_cache.sh @@ -1134,23 +605,9 @@ jobs: run: | bash ./scripts/ci/init.sh bash ./scripts/ci/build.sh - - name: "Prepare Report Portal" - if: github.ref_name == 'master' - 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 }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - rp-project: ${{ env.RP_PROJECT }} - rp-use-static-launch-name: true - continue-on-error: true - name: "Verify" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} - env: - RP_OPTS: ${{ github.ref_name == 'master' && steps.rp-prepare.outputs.mvn-opts || '' }} - run: | - eval "args=($RP_OPTS)" - mvn --file amps/ags/pom.xml -B verify -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -Pags -Pstart-postgres -PagsAllTestSuitePt${{ matrix.part }} ${{ env.LOG_WARN }} "${args[@]}" + run: mvn --file amps/ags/pom.xml -B verify -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -Pags -Pstart-postgres -PagsAllTestSuitePt${{ matrix.part }} ${{ env.LOG_WARN }} - name: "Clean Maven cache" run: bash ./scripts/ci/cleanup_cache.sh @@ -1180,23 +637,9 @@ jobs: run: | bash ./scripts/ci/init.sh bash ./scripts/ci/build.sh - - name: "Prepare Report Portal" - if: github.ref_name == 'master' - 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 }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - rp-project: ${{ env.RP_PROJECT }} - rp-use-static-launch-name: true - continue-on-error: true - name: "Verify" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} - env: - RP_OPTS: ${{ github.ref_name == 'master' && steps.rp-prepare.outputs.mvn-opts || '' }} - run: | - eval "args=($RP_OPTS)" - mvn --file amps/ags/pom.xml -B verify -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -Pags -Pstart-mysql -PagsAllTestSuitePt${{ matrix.part }} ${{ env.LOG_WARN }} "${args[@]}" + run: mvn --file amps/ags/pom.xml -B verify -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -Pags -Pstart-mysql -PagsAllTestSuitePt${{ matrix.part }} ${{ env.LOG_WARN }} - name: "Clean Maven cache" run: bash ./scripts/ci/cleanup_cache.sh @@ -1228,53 +671,9 @@ jobs: ${{ env.TAS_SCRIPTS }}/start-compose.sh ./amps/ags/rm-community/rm-community-repo/docker-compose.yml ${{ env.TAS_SCRIPTS }}/wait-for-alfresco-start.sh "http://localhost:8080/alfresco" 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.16.0 - id: rp-prepare - with: - rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - rp-project: ${{ env.RP_PROJECT }} - rp-use-static-launch-name: true - continue-on-error: true - - name: "Add GitHub Step Summary" - if: github.ref_name == 'master' - env: - RP_ENABLED: ${{ steps.rp-prepare.outputs.enabled }} - RP_KEY: ${{ steps.rp-prepare.outputs.key }} - RP_URL: ${{ steps.rp-prepare.outputs.url }} - run: bash scripts/ci/add_step_summary.sh - continue-on-error: true - name: "Test" - id: run-tests timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} - env: - RP_OPTS: ${{ github.ref_name == 'master' && steps.rp-prepare.outputs.mvn-opts || '' }} - run: | - eval "args=($RP_OPTS)" - mvn -B test -pl :alfresco-governance-services-automation-community-rest-api -Dskip.automationtests=false -Pags -Pall-tas-tests "${args[@]}" - continue-on-error: true - - name: "Update GitHub Step Summary" - if: github.ref_name == 'master' - run: | - echo "#### ⏱ After Tests: $(date -u +'%Y-%m-%d %H:%M:%S%:z')" >> $GITHUB_STEP_SUMMARY - continue-on-error: true - - name: "Summarize Report Portal" - if: github.ref_name == 'master' - uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0 - id: rp-summarize - with: - tests-outcome: ${{ steps.run-tests.outcome }} - rp-launch-key: ${{ steps.rp-prepare.outputs.key }} - rp-project: ${{ env.RP_PROJECT }} - rp-token: ${{ secrets.REPORT_PORTAL_TOKEN }} - continue-on-error: true - - name: "Exit on failure" - if: steps.run-tests.outcome != 'success' - run: | - echo "::error title=run-tests::Tests failed: re-throwing on error." - exit 1 + run: mvn -B test -pl :alfresco-governance-services-automation-community-rest-api -Dskip.automationtests=false -Pags -Pall-tas-tests - name: "Configure AWS credentials" if: ${{ always() }} uses: aws-actions/configure-aws-credentials@v4 diff --git a/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml b/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml index 31812bcfc6..c716ec2a51 100644 --- a/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml +++ b/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml @@ -74,16 +74,6 @@ alfresco-testng 1.1 - - com.epam.reportportal - agent-java-testng - test - - - com.squareup.okhttp3 - okhttp - test - org.awaitility awaitility diff --git a/amps/ags/rm-automation/rm-automation-community-rest-api/src/test/resources/META-INF/services/org.testng.ITestNGListener b/amps/ags/rm-automation/rm-automation-community-rest-api/src/test/resources/META-INF/services/org.testng.ITestNGListener deleted file mode 100644 index f335f0c13f..0000000000 --- a/amps/ags/rm-automation/rm-automation-community-rest-api/src/test/resources/META-INF/services/org.testng.ITestNGListener +++ /dev/null @@ -1 +0,0 @@ -com.epam.reportportal.testng.ReportPortalTestNGListener diff --git a/amps/ags/rm-community/rm-community-repo/pom.xml b/amps/ags/rm-community/rm-community-repo/pom.xml index ab67d01c8e..c6f9223078 100644 --- a/amps/ags/rm-community/rm-community-repo/pom.xml +++ b/amps/ags/rm-community/rm-community-repo/pom.xml @@ -84,11 +84,6 @@ junit test - - com.epam.reportportal - agent-java-testng - test - org.postgresql postgresql diff --git a/amps/ags/rm-community/rm-community-repo/test/resources/META-INF/services/org.testng.ITestNGListener b/amps/ags/rm-community/rm-community-repo/test/resources/META-INF/services/org.testng.ITestNGListener deleted file mode 100644 index f335f0c13f..0000000000 --- a/amps/ags/rm-community/rm-community-repo/test/resources/META-INF/services/org.testng.ITestNGListener +++ /dev/null @@ -1 +0,0 @@ -com.epam.reportportal.testng.ReportPortalTestNGListener diff --git a/amps/ags/rm-community/rm-community-repo/unit-test/resources/META-INF/services/org.testng.ITestNGListener b/amps/ags/rm-community/rm-community-repo/unit-test/resources/META-INF/services/org.testng.ITestNGListener deleted file mode 100644 index f335f0c13f..0000000000 --- a/amps/ags/rm-community/rm-community-repo/unit-test/resources/META-INF/services/org.testng.ITestNGListener +++ /dev/null @@ -1 +0,0 @@ -com.epam.reportportal.testng.ReportPortalTestNGListener diff --git a/amps/share-services/pom.xml b/amps/share-services/pom.xml index f7f3a98eae..d7e63e7272 100644 --- a/amps/share-services/pom.xml +++ b/amps/share-services/pom.xml @@ -70,11 +70,6 @@ junit test - - com.epam.reportportal - agent-java-testng - test - org.postgresql postgresql diff --git a/amps/share-services/src/test/resources/META-INF/services/org.testng.ITestNGListener b/amps/share-services/src/test/resources/META-INF/services/org.testng.ITestNGListener deleted file mode 100644 index f335f0c13f..0000000000 --- a/amps/share-services/src/test/resources/META-INF/services/org.testng.ITestNGListener +++ /dev/null @@ -1 +0,0 @@ -com.epam.reportportal.testng.ReportPortalTestNGListener diff --git a/core/pom.xml b/core/pom.xml index 7d5924bdde..a4ebbdf0f1 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -126,11 +126,6 @@ junit test - - com.epam.reportportal - agent-java-testng - test - org.mockito mockito-core diff --git a/core/src/test/resources/META-INF/services/org.testng.ITestNGListener b/core/src/test/resources/META-INF/services/org.testng.ITestNGListener deleted file mode 100644 index f335f0c13f..0000000000 --- a/core/src/test/resources/META-INF/services/org.testng.ITestNGListener +++ /dev/null @@ -1 +0,0 @@ -com.epam.reportportal.testng.ReportPortalTestNGListener diff --git a/data-model/pom.xml b/data-model/pom.xml index 6396dce796..dd3fd23b3d 100644 --- a/data-model/pom.xml +++ b/data-model/pom.xml @@ -247,11 +247,6 @@ junit test - - com.epam.reportportal - agent-java-testng - test - org.antlr gunit diff --git a/mmt/pom.xml b/mmt/pom.xml index 2a18dba800..3a038c97de 100644 --- a/mmt/pom.xml +++ b/mmt/pom.xml @@ -46,11 +46,6 @@ junit test - - com.epam.reportportal - agent-java-testng - test - org.mockito mockito-core diff --git a/mmt/src/test/resources/META-INF/services/org.testng.ITestNGListener b/mmt/src/test/resources/META-INF/services/org.testng.ITestNGListener deleted file mode 100644 index f335f0c13f..0000000000 --- a/mmt/src/test/resources/META-INF/services/org.testng.ITestNGListener +++ /dev/null @@ -1 +0,0 @@ -com.epam.reportportal.testng.ReportPortalTestNGListener diff --git a/packaging/tests/tas-cmis/pom.xml b/packaging/tests/tas-cmis/pom.xml index d05cf21fe6..393777208e 100644 --- a/packaging/tests/tas-cmis/pom.xml +++ b/packaging/tests/tas-cmis/pom.xml @@ -68,16 +68,6 @@ - - com.epam.reportportal - agent-java-testng - test - - - com.squareup.okhttp3 - okhttp - test - diff --git a/packaging/tests/tas-cmis/src/test/resources/META-INF/services/org.testng.ITestNGListener b/packaging/tests/tas-cmis/src/test/resources/META-INF/services/org.testng.ITestNGListener deleted file mode 100644 index f335f0c13f..0000000000 --- a/packaging/tests/tas-cmis/src/test/resources/META-INF/services/org.testng.ITestNGListener +++ /dev/null @@ -1 +0,0 @@ -com.epam.reportportal.testng.ReportPortalTestNGListener diff --git a/packaging/tests/tas-email/pom.xml b/packaging/tests/tas-email/pom.xml index a0e5b49d77..5bb9c59ac2 100644 --- a/packaging/tests/tas-email/pom.xml +++ b/packaging/tests/tas-email/pom.xml @@ -36,11 +36,6 @@ jakarta.mail-api test - - com.epam.reportportal - agent-java-testng - test - diff --git a/packaging/tests/tas-email/src/test/resources/META-INF/services/org.testng.ITestNGListener b/packaging/tests/tas-email/src/test/resources/META-INF/services/org.testng.ITestNGListener deleted file mode 100644 index f335f0c13f..0000000000 --- a/packaging/tests/tas-email/src/test/resources/META-INF/services/org.testng.ITestNGListener +++ /dev/null @@ -1 +0,0 @@ -com.epam.reportportal.testng.ReportPortalTestNGListener diff --git a/packaging/tests/tas-integration/pom.xml b/packaging/tests/tas-integration/pom.xml index 8acd3337a0..675e1a0535 100644 --- a/packaging/tests/tas-integration/pom.xml +++ b/packaging/tests/tas-integration/pom.xml @@ -44,18 +44,6 @@ test - - com.epam.reportportal - agent-java-testng - test - - - - com.squareup.okhttp3 - okhttp - test - - com.sun.mail jakarta.mail diff --git a/packaging/tests/tas-integration/src/test/resources/META-INF/services/org.testng.ITestNGListener b/packaging/tests/tas-integration/src/test/resources/META-INF/services/org.testng.ITestNGListener deleted file mode 100644 index f335f0c13f..0000000000 --- a/packaging/tests/tas-integration/src/test/resources/META-INF/services/org.testng.ITestNGListener +++ /dev/null @@ -1 +0,0 @@ -com.epam.reportportal.testng.ReportPortalTestNGListener diff --git a/packaging/tests/tas-restapi/pom.xml b/packaging/tests/tas-restapi/pom.xml index 57e483c9ef..f00f40a514 100644 --- a/packaging/tests/tas-restapi/pom.xml +++ b/packaging/tests/tas-restapi/pom.xml @@ -79,18 +79,6 @@ ${commons-lang3.version} - - com.epam.reportportal - agent-java-testng - test - - - - com.squareup.okhttp3 - okhttp - test - - org.awaitility awaitility diff --git a/packaging/tests/tas-restapi/src/test/resources/META-INF/services/org.testng.ITestNGListener b/packaging/tests/tas-restapi/src/test/resources/META-INF/services/org.testng.ITestNGListener deleted file mode 100644 index f335f0c13f..0000000000 --- a/packaging/tests/tas-restapi/src/test/resources/META-INF/services/org.testng.ITestNGListener +++ /dev/null @@ -1 +0,0 @@ -com.epam.reportportal.testng.ReportPortalTestNGListener diff --git a/packaging/tests/tas-webdav/pom.xml b/packaging/tests/tas-webdav/pom.xml index b75a5de7b8..95ee4128df 100644 --- a/packaging/tests/tas-webdav/pom.xml +++ b/packaging/tests/tas-webdav/pom.xml @@ -31,11 +31,6 @@ webdav test - - com.epam.reportportal - agent-java-testng - test - diff --git a/packaging/tests/tas-webdav/src/test/resources/META-INF/services/org.testng.ITestNGListener b/packaging/tests/tas-webdav/src/test/resources/META-INF/services/org.testng.ITestNGListener deleted file mode 100644 index f335f0c13f..0000000000 --- a/packaging/tests/tas-webdav/src/test/resources/META-INF/services/org.testng.ITestNGListener +++ /dev/null @@ -1 +0,0 @@ -com.epam.reportportal.testng.ReportPortalTestNGListener diff --git a/pom.xml b/pom.xml index fe34f63077..f9a1250bbc 100644 --- a/pom.xml +++ b/pom.xml @@ -828,18 +828,6 @@ 4.13.2 test - - com.epam.reportportal - agent-java-testng - 5.4.0 - test - - - com.squareup.okhttp3 - okhttp - 4.12.0 - test - org.antlr gunit diff --git a/remote-api/pom.xml b/remote-api/pom.xml index 95d4b45077..79ac6bac92 100644 --- a/remote-api/pom.xml +++ b/remote-api/pom.xml @@ -66,11 +66,6 @@ junit test - - com.epam.reportportal - agent-java-testng - test - org.mockito mockito-core diff --git a/remote-api/src/test/resources/META-INF/services/org.testng.ITestNGListener b/remote-api/src/test/resources/META-INF/services/org.testng.ITestNGListener deleted file mode 100644 index f335f0c13f..0000000000 --- a/remote-api/src/test/resources/META-INF/services/org.testng.ITestNGListener +++ /dev/null @@ -1 +0,0 @@ -com.epam.reportportal.testng.ReportPortalTestNGListener diff --git a/repository/pom.xml b/repository/pom.xml index d6f42581d7..00d4b5d253 100644 --- a/repository/pom.xml +++ b/repository/pom.xml @@ -627,11 +627,6 @@ junit test - - com.epam.reportportal - agent-java-testng - test - org.assertj assertj-core diff --git a/repository/src/test/resources/META-INF/services/org.testng.ITestNGListener b/repository/src/test/resources/META-INF/services/org.testng.ITestNGListener deleted file mode 100644 index f335f0c13f..0000000000 --- a/repository/src/test/resources/META-INF/services/org.testng.ITestNGListener +++ /dev/null @@ -1 +0,0 @@ -com.epam.reportportal.testng.ReportPortalTestNGListener