Skip to content

Commit

Permalink
cicd: remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
imedina committed Jun 23, 2023
1 parent 9bfcfdd commit 300df8f
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 59 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/build-java-app-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ jobs:
with:
name: build-folder
path: build
# - id: get_project_version
# uses: avides/[email protected]
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# file-to-check: pom.xml
# only-return-version: true
- id: get_project_version
name: Get project version
run: |
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
44 changes: 0 additions & 44 deletions .github/workflows/test-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit 300df8f

Please sign in to comment.