This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 7a9ff47528 [Improve](CI)Modify Deadline-check trigger mode, and add
maven cache for Sonarcheck (#23069)
7a9ff47528 is described below
commit 7a9ff47528ea47c82b46038176bfe4ef15b676dc
Author: Calvin Kirs <[email protected]>
AuthorDate: Wed Aug 16 22:31:50 2023 +0800
[Improve](CI)Modify Deadline-check trigger mode, and add maven cache for
Sonarcheck (#23069)
There are a lot of deadlinks in stock, we will reopen it after a full
repair…
---
.github/workflows/deadlink-check.yml | 3 +--
.github/workflows/sonarcloud.yml | 10 +++++++++-
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/deadlink-check.yml
b/.github/workflows/deadlink-check.yml
index cd5d27f8b1..9292e17c10 100644
--- a/.github/workflows/deadlink-check.yml
+++ b/.github/workflows/deadlink-check.yml
@@ -17,9 +17,8 @@
name: Dead Link Checker
on:
- pull_request:
schedule:
- - cron: '0 18 * * *' # TimeZone: UTC 0
+ - cron: '30 3,14 * * *'
concurrency:
group: dlc-${{ github.event.pull_request.number || github.ref }}
diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml
index 7fbad8ad3d..7b89e198e9 100644
--- a/.github/workflows/sonarcloud.yml
+++ b/.github/workflows/sonarcloud.yml
@@ -70,10 +70,18 @@ jobs:
shell: bash
run: |
bash generated-source.sh
+ - name: Cache local Maven repository
+ uses: actions/cache@v3
+ with:
+ path: ~/.m2/repository
+ key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+ restore-keys: |
+ ${{ runner.os }}-maven-
- name: Analyze FE
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
+ MAVEN_OPTS: -Xmx4g
run: |
cd fe
- mvn --batch-mode verify sonar:sonar -DskipTests
-Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache
-Dsonar.projectKey=apache_incubator-doris -Dhttp.keepAlive=false
-Dmaven.wagon.http.pool=false
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Xmx4g -XX:MaxPermSize=512m
+ mvn --batch-mode verify sonar:sonar -DskipTests
-Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache
-Dsonar.projectKey=apache_incubator-doris -Dhttp.keepAlive=false
-Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]