This is an automated email from the ASF dual-hosted git repository.

albumenj pushed a commit to branch 3.2
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.2 by this push:
     new c7f080477a Temporally remove sonarcloud check
c7f080477a is described below

commit c7f080477a703f074a319c1629f1686e1ac26f66
Author: Albumen Kevin <[email protected]>
AuthorDate: Wed Aug 28 11:35:02 2024 +0800

    Temporally remove sonarcloud check
---
 .github/workflows/build-and-test-pr.yml | 38 +--------------------------------
 1 file changed, 1 insertion(+), 37 deletions(-)

diff --git a/.github/workflows/build-and-test-pr.yml 
b/.github/workflows/build-and-test-pr.yml
index 8260cc6abd..3a23704904 100644
--- a/.github/workflows/build-and-test-pr.yml
+++ b/.github/workflows/build-and-test-pr.yml
@@ -173,22 +173,6 @@ jobs:
           wget -c http://mirror.apache-kr.org/apache/zookeeper/zookeeper-${{ 
env.ZOOKEEPER_VERSION }}/apache-zookeeper-${{ env.ZOOKEEPER_VERSION 
}}-bin.tar.gz -O ${{ github.workspace 
}}/.tmp/zookeeper/apache-zookeeper-bin.tar.gz
           echo "list the downloaded zookeeper binary archive"
           ls -al ${{ github.workspace 
}}/.tmp/zookeeper/apache-zookeeper-bin.tar.gz
-      - uses: actions/cache@v3
-        name: "Cache secret key"
-        id: "cache-secret-cert"
-        with:
-          path: ${{ github.workspace }}/.tmp/rsa
-          key: secret-rsa-${{ runner.os }}-${{ github.run_id }}
-      - name: "Create Secret"
-        run: |
-          mkdir -p ${{ github.workspace }}/.tmp/rsa
-          cd ${{ github.workspace }}/.tmp/rsa
-          openssl genrsa -out rsa_private.pem 1024
-          openssl rsa -in rsa_private.pem -pubout -out rsa_public.pem
-          echo "Current workflow run id: ${{ github.run_id }}"
-          echo "Start Print Rsa Public Key ---"
-          cat rsa_public.pem
-          echo "--- End Print Rsa Public Key"
 
   unit-test:
     needs: [check-format, build-source, unit-test-prepare]
@@ -225,27 +209,7 @@ jobs:
           key: zookeeper-${{ runner.os }}-${{ env.ZOOKEEPER_VERSION }}
           restore-keys: |
             zookeeper-${{ runner.os }}-
-      - uses: actions/cache@v3
-        name: "Cache secret key"
-        id: "cache-secret-cert"
-        with:
-          path: ${{ github.workspace }}/.tmp/rsa
-          key: secret-rsa-${{ runner.os }}-${{ github.run_id }}
-      - name: "Get sonarcloud token"
-        if: ${{ github.repository == 'apache/dubbo' }}
-        run: |
-          curl "http://dubbo-vm.apache.org:8000/token?workflow_id=${{ 
github.run_id }}" -o ${{ github.workspace }}/.tmp/encrypted-sonarcloud-token
-          openssl rsautl -decrypt -in ${{ github.workspace 
}}/.tmp/encrypted-sonarcloud-token -out ${{ github.workspace 
}}/.tmp/decrypted-sonarcloud-token -inkey ${{ github.workspace 
}}/.tmp/rsa/rsa_private.pem
-      - name: "Test with Maven with SonarCloud Scan"
-        if: ${{ github.repository == 'apache/dubbo' }}
-        timeout-minutes: 70
-        env:
-          # Needed to get some information about the pull request, if any
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-        run: |
-          source ${{ github.workspace }}/.tmp/decrypted-sonarcloud-token
-          ./mvnw --batch-mode --no-snapshot-updates -e --no-transfer-progress 
--fail-fast clean test verify 
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar 
-Pjacoco,jdk15ge-simple,'!jdk15ge',jacoco089 
-Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache 
-Dsonar.projectKey=apache_dubbo -DtrimStackTrace=false 
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 
-Dmaven.wagon.http.retryHandler.count=5 -DskipTests=false 
-DskipIntegrationTests=false -Dcheckstyle.skip=false  [...]
-      - name: "Test with Maven without SonarCloud Scan"
+      - name: "Test with Maven"
         if: ${{ github.repository != 'apache/dubbo' }}
         timeout-minutes: 70
         run: |

Reply via email to