diff --git a/.github/workflows/build-java-app-workflow.yml b/.github/workflows/build-java-app-workflow.yml index 0de9bf14..2d9238a0 100644 --- a/.github/workflows/build-java-app-workflow.yml +++ b/.github/workflows/build-java-app-workflow.yml @@ -39,12 +39,6 @@ jobs: with: name: build-folder path: build -# - id: get_project_version -# uses: avides/actions-project-version-check@v1.3.0 -# with: -# token: ${{ secrets.GITHUB_TOKEN }} -# file-to-check: pom.xml -# only-return-version: true - id: get_project_version name: Get project version run: | diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 68f98f2b..196fc122 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -14,9 +14,6 @@ jobs: uses: ./.github/workflows/test-analysis.yml needs: build secrets: inherit -# with: -# report_context: development -# report_dir: ${{ github.ref_name }}/java-common-libs/${{ github.sha }} deploy-maven: uses: ./.github/workflows/deploy-maven-repository-workflow.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a4d2f7b4..3a9d5df3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,9 +13,6 @@ jobs: uses: ./.github/workflows/test-analysis.yml needs: build secrets: inherit -# with: -# report_context: xetabase -# report_dir: java-common-libs deploy-maven: uses: ./.github/workflows/deploy-maven-repository-workflow.yml diff --git a/.github/workflows/task.yml b/.github/workflows/task.yml index 8513626d..29f7f7d5 100644 --- a/.github/workflows/task.yml +++ b/.github/workflows/task.yml @@ -13,6 +13,3 @@ jobs: uses: ./.github/workflows/test-analysis.yml needs: build secrets: inherit -# with: -# report_context: development -# report_dir: ${{ github.ref_name }}/java-common-libs/${{ github.sha }} diff --git a/.github/workflows/test-analysis.yml b/.github/workflows/test-analysis.yml index 460748dd..dd8240e5 100644 --- a/.github/workflows/test-analysis.yml +++ b/.github/workflows/test-analysis.yml @@ -2,26 +2,9 @@ name: Build and test the project on: workflow_call: -# inputs: -# report_dir: -# type: string -# required: true -# report_context: -# type: string -# required: true secrets: SONAR_TOKEN: required: true -# SSH_TESTING_SERVER_HOST: -# required: true -# SSH_TESTING_SERVER_PORT: -# required: true -# SSH_TESTING_SERVER_USER: -# required: true -# SSH_TESTING_SERVER_PASSWORD: -# required: true -#env: -# xb_version: "1.8.0" jobs: test: @@ -57,30 +40,3 @@ jobs: report_paths: './**/surefire-reports/TEST-*.xml' commit: '${{ github.sha }}' fail_on_test_failures: true -# - name: Upload result dir -# uses: actions/upload-artifact@v3 -# with: -# name: workdir -# path: "**/target/site" -# publish-test: -# name: Publish test results -# runs-on: ubuntu-22.04 -# needs: test -# strategy: -# matrix: -# module: ["commons-lib", "commons-datastore", "commons-datastore/commons-datastore-core", "commons-datastore/commons-datastore-mongodb", "commons-datastore/commons-datastore-solr"] -# steps: -# - name: Download result dir -# uses: actions/download-artifact@v3 -# with: -# name: workdir -# - name: Deploy unit tests web recursively to remote -# uses: garygrossgarten/github-action-scp@release -# with: -# local: ${{ matrix.module }}/target/site -# remote: /var/www/html/reports/${{ inputs.report_context }}/${{ env.xb_version }}/${{ inputs.report_dir }}/unit/${{ matrix.module }} -# host: ${{ secrets.SSH_TESTING_SERVER_HOST}} -# port: ${{ secrets.SSH_TESTING_SERVER_PORT}} -# username: ${{ secrets.SSH_TESTING_SERVER_USER }} -# password: ${{ secrets.SSH_TESTING_SERVER_PASSWORD }} -# concurrency: 2