This is an automated email from the ASF dual-hosted git repository.
mikexue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/eventmesh.git
The following commit(s) were added to refs/heads/master by this push:
new bd2aeb91c [ISSUE #4688] Capture build scans on ge.apache.org to
benefit from deep build insights
bd2aeb91c is described below
commit bd2aeb91c5169ef04b27845c77970a52eae068c9
Author: Clay Johnson <[email protected]>
AuthorDate: Thu Dec 28 02:42:27 2023 -0600
[ISSUE #4688] Capture build scans on ge.apache.org to benefit from deep
build insights
---
.github/workflows/ci.yml | 4 ++++
settings.gradle | 27 +++++++++++++++++++++++++++
2 files changed, 31 insertions(+)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4182ffa9f..98f7c6673 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -83,9 +83,13 @@ jobs:
# https://docs.gradle.org/current/userguide/performance.html
- name: Build
run: ./gradlew clean build jar dist jacocoTestReport -x spotlessJava
-x generateGrammarSource --parallel --daemon
+ env:
+ GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
- name: Install plugin
run: ./gradlew installPlugin
+ env:
+ GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v2
diff --git a/settings.gradle b/settings.gradle
index 2877fbd39..3e8647cf0 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -15,6 +15,33 @@
* limitations under the License.
*/
+plugins {
+ id 'com.gradle.enterprise' version '3.15.1'
+ id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.12.1'
+}
+
+def isCiServer = System.getenv().containsKey("CI")
+
+gradleEnterprise {
+ server = "https://ge.apache.org"
+ buildScan {
+ capture { taskInputFiles = true }
+ uploadInBackground = !isCiServer
+ publishAlways()
+ publishIfAuthenticated()
+ obfuscation {
+ ipAddresses { addresses -> addresses.collect { address ->
"0.0.0.0"} }
+ }
+ }
+}
+
+buildCache {
+ remote(gradleEnterprise.buildCache) {
+ enabled = false
+ }
+}
+
+
rootProject.name = 'eventmesh'
String jdkVersion = "${jdk}"
include 'eventmesh-runtime'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]