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

dgrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new 7ef091c12 Publish build scans to develocity.apache.org (#5528)
7ef091c12 is described below

commit 7ef091c12714b40d5dd93ff1488b086f0cebf3f8
Author: Clay Johnson <[email protected]>
AuthorDate: Tue Jan 21 07:47:24 2025 -0600

    Publish build scans to develocity.apache.org (#5528)
    
    * Publish build scans to develocity.apache.org
    * Use `DEVELOCITY_ACCESS_KEY` to authenticate to `develocity.apache.org`
    * Update Develocity plugin versions
---
 .github/workflows/0-on-demand.yaml     |  4 ++--
 .github/workflows/1-unit.yaml          |  4 ++--
 .github/workflows/2-system.yaml        |  4 ++--
 .github/workflows/3-multi-runtime.yaml |  4 ++--
 .github/workflows/4-standalone.yaml    |  4 ++--
 .github/workflows/5-scheduler.yaml     |  4 ++--
 .github/workflows/6-performance.yaml   |  4 ++--
 settings.gradle                        | 15 +++++++--------
 8 files changed, 21 insertions(+), 22 deletions(-)

diff --git a/.github/workflows/0-on-demand.yaml 
b/.github/workflows/0-on-demand.yaml
index 9747a54cc..2c0741a12 100644
--- a/.github/workflows/0-on-demand.yaml
+++ b/.github/workflows/0-on-demand.yaml
@@ -56,8 +56,8 @@ env:
   GH_BUILD: ${{ github.event_name }}-${{ github.sha }}
   GH_BRANCH: ${{ github.head_ref || github.ref_name }}
 
-  # https://ge.apache.org
-  GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+  # https://develocity.apache.org
+  DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
 
   # (optional) you need to add as secrets an ngrok token and a password to 
debug a build on demand
   NGROK_DEBUG: ${{ inputs.enable_ngrok_debug }}
diff --git a/.github/workflows/1-unit.yaml b/.github/workflows/1-unit.yaml
index dd60ac90a..525265422 100644
--- a/.github/workflows/1-unit.yaml
+++ b/.github/workflows/1-unit.yaml
@@ -51,8 +51,8 @@ env:
   GH_BUILD: ${{ github.event_name }}-${{ github.sha }}
   GH_BRANCH: ${{ github.head_ref || github.ref_name }}
 
-  # https://ge.apache.org
-  GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+  # https://develocity.apache.org
+  DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
 
 jobs:
   openwhisk:
diff --git a/.github/workflows/2-system.yaml b/.github/workflows/2-system.yaml
index 6ad5f85d9..a195f5529 100644
--- a/.github/workflows/2-system.yaml
+++ b/.github/workflows/2-system.yaml
@@ -46,8 +46,8 @@ env:
   GH_BUILD: ${{ github.event_name }}-${{ github.sha }}
   GH_BRANCH: ${{ github.head_ref || github.ref_name }}
 
-  # https://ge.apache.org
-  GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+  # https://develocity.apache.org
+  DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
 
 jobs:
   openwhisk:
diff --git a/.github/workflows/3-multi-runtime.yaml 
b/.github/workflows/3-multi-runtime.yaml
index a7a7d830a..de5c70fe6 100644
--- a/.github/workflows/3-multi-runtime.yaml
+++ b/.github/workflows/3-multi-runtime.yaml
@@ -46,8 +46,8 @@ env:
   GH_BUILD: ${{ github.event_name }}-${{ github.sha }}
   GH_BRANCH: ${{ github.head_ref || github.ref_name }}
 
-  # https://ge.apache.org
-  GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+  # https://develocity.apache.org
+  DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
 
 jobs:
   openwhisk:
diff --git a/.github/workflows/4-standalone.yaml 
b/.github/workflows/4-standalone.yaml
index 5c2f59c24..e5828dba3 100644
--- a/.github/workflows/4-standalone.yaml
+++ b/.github/workflows/4-standalone.yaml
@@ -46,8 +46,8 @@ env:
   GH_BUILD: ${{ github.event_name }}-${{ github.sha }}
   GH_BRANCH: ${{ github.head_ref || github.ref_name }}
 
-  # https://ge.apache.org
-  GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+  # https://develocity.apache.org
+  DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
 
 jobs:
   openwhisk:
diff --git a/.github/workflows/5-scheduler.yaml 
b/.github/workflows/5-scheduler.yaml
index 3f5b87107..64f775626 100644
--- a/.github/workflows/5-scheduler.yaml
+++ b/.github/workflows/5-scheduler.yaml
@@ -46,8 +46,8 @@ env:
   GH_BUILD: ${{ github.event_name }}-${{ github.sha }}
   GH_BRANCH: ${{ github.head_ref || github.ref_name }}
 
-  # https://ge.apache.org
-  GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+  # https://develocity.apache.org
+  DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
 
 jobs:
   openwhisk:
diff --git a/.github/workflows/6-performance.yaml 
b/.github/workflows/6-performance.yaml
index 4435810b3..30f297b0c 100644
--- a/.github/workflows/6-performance.yaml
+++ b/.github/workflows/6-performance.yaml
@@ -46,8 +46,8 @@ env:
   GH_BUILD: ${{ github.event_name }}-${{ github.sha }}
   GH_BRANCH: ${{ github.head_ref || github.ref_name }}
 
-  # https://ge.apache.org
-  GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+  # https://develocity.apache.org
+  DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
 
 jobs:
   openwhisk:
diff --git a/settings.gradle b/settings.gradle
index d7e9f3612..b372c9b4e 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -16,21 +16,20 @@
  */
 
 plugins {
-    id 'com.gradle.enterprise' version '3.13.2'
-    id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.10'
+    id 'com.gradle.develocity' version '3.18.2'
+    id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.2'
 }
 
 def isGithubActions = System.getenv('GITHUB_ACTIONS') != null
 def isJenkins = System.getenv('JENKINS_URL') != null
 def isCI = isGithubActions || isJenkins
 
-gradleEnterprise {
-    server = "https://ge.apache.org";
+develocity {
+    server = "https://develocity.apache.org";
+    projectId = "openwhisk"
     buildScan {
-        capture { taskInputFiles = true }
         uploadInBackground = !isCI
-        publishAlways()
-        publishIfAuthenticated()
+        publishing.onlyIf { it.isAuthenticated() }
         obfuscation {
             // This obfuscates the IP addresses of the build machine in the 
build scan.
             // Alternatively, the build scan will provide the hostname for 
troubleshooting host-specific issues.
@@ -44,7 +43,7 @@ buildCache {
         enabled = !isCI
     }
 
-    remote(gradleEnterprise.buildCache) {
+    remote(develocity.buildCache) {
         enabled = false
     }
 }

Reply via email to