This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new f40236ab020 HDDS-17109. Make Develocity remote usage optional (#11627)
f40236ab020 is described below
commit f40236ab02043f0918bdeeda46f9796884eb8dd3
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Wed Oct 21 07:54:50 2026 +0200
HDDS-17109. Make Develocity remote usage optional (#11627)
---
.github/workflows/check.yml | 2 +-
.github/workflows/ci.yml | 5 ++---
.github/workflows/intermittent-test-check.yml | 1 +
.github/workflows/populate-cache.yml | 2 +-
.github/workflows/repeat-acceptance.yml | 1 +
.mvn/{develocity.xml => develocity-asf.xml} | 7 +------
.mvn/develocity.xml | 18 +++++++-----------
7 files changed, 14 insertions(+), 22 deletions(-)
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index 058c2ace1aa..cc3b3c5d2f0 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -136,7 +136,7 @@ on:
env:
HADOOP_IMAGE: ghcr.io/apache/hadoop
- MAVEN_ARGS: --batch-mode --settings ${{ github.workspace
}}/dev-support/ci/maven-settings.xml
+ MAVEN_ARGS: --batch-mode --settings ${{ github.workspace
}}/dev-support/ci/maven-settings.xml -Ddevelocity.user.config=${{
github.workspace }}/.mvn/develocity-asf.xml
MAVEN_OPTS: -Daether.connector.http.connectionMaxTtl=25
-Daether.connector.http.retryHandler.count=5
-Daether.connector.http.retryHandler.intervalMax=30000
OZONE_IMAGE: ghcr.io/apache/ozone
OZONE_RUNNER_IMAGE: ghcr.io/apache/ozone-runner
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a311e3a77aa..6f21d23f144 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -41,9 +41,8 @@ env:
# BUILD_ARGS and TEST_JAVA_VERSION are duplicated in populate-cache.yml,
please keep in sync
BUILD_ARGS: "-Pdist -Psrc -Dmaven.javadoc.skip=true -Drocks_tools_native"
TEST_JAVA_VERSION: 25 # JDK version used by CI build and tests; should match
the JDK version in apache/ozone-runner image
- # MAVEN_ARGS and MAVEN_OPTS are duplicated in check.yml and
populate-cache.yml, please keep in sync
- MAVEN_ARGS: --batch-mode --settings ${{ github.workspace
}}/dev-support/ci/maven-settings.xml
- # Maven 3.9 downloads dependencies via maven-resolver-transport-http, which
reads aether.* and ignores both maven.wagon.* and JDK-level http.*
+ # MAVEN_ARGS and MAVEN_OPTS are duplicated in several workflows, please keep
in sync
+ MAVEN_ARGS: --batch-mode --settings ${{ github.workspace
}}/dev-support/ci/maven-settings.xml -Ddevelocity.user.config=${{
github.workspace }}/.mvn/develocity-asf.xml
MAVEN_OPTS: -Daether.connector.http.connectionMaxTtl=25
-Daether.connector.http.retryHandler.count=5
-Daether.connector.http.retryHandler.intervalMax=30000
OZONE_WITH_COVERAGE: ${{ github.event_name == 'push' }}
diff --git a/.github/workflows/intermittent-test-check.yml
b/.github/workflows/intermittent-test-check.yml
index e0164464856..5235d4be0ca 100644
--- a/.github/workflows/intermittent-test-check.yml
+++ b/.github/workflows/intermittent-test-check.yml
@@ -57,6 +57,7 @@ on:
default: '25'
required: true
env:
+ MAVEN_ARGS: --batch-mode --settings ${{ github.workspace
}}/dev-support/ci/maven-settings.xml -Ddevelocity.user.config=${{
github.workspace }}/.mvn/develocity-asf.xml
MAVEN_OPTS: -Daether.connector.http.connectionMaxTtl=25
-Daether.connector.http.retryHandler.count=5
-Daether.connector.http.retryHandler.intervalMax=30000
TEST_CLASS: ${{ github.event.inputs.test-class}}
TEST_METHOD: ${{ github.event.inputs.test-name }}
diff --git a/.github/workflows/populate-cache.yml
b/.github/workflows/populate-cache.yml
index 7ab1c399da1..8f45388ecf8 100644
--- a/.github/workflows/populate-cache.yml
+++ b/.github/workflows/populate-cache.yml
@@ -37,7 +37,7 @@ env:
# variables are duplicated from ci.yml, please keep in sync
BUILD_ARGS: "-Pdist -Psrc -Dmaven.javadoc.skip=true -Drocks_tools_native"
TEST_JAVA_VERSION: 25 # JDK version used by CI build and tests; should match
the JDK version in apache/ozone-runner image
- MAVEN_ARGS: --batch-mode --settings ${{ github.workspace
}}/dev-support/ci/maven-settings.xml
+ MAVEN_ARGS: --batch-mode --settings ${{ github.workspace
}}/dev-support/ci/maven-settings.xml -Ddevelocity.user.config=${{
github.workspace }}/.mvn/develocity-asf.xml
MAVEN_OPTS: -Daether.connector.http.connectionMaxTtl=25
-Daether.connector.http.retryHandler.count=5
-Daether.connector.http.retryHandler.intervalMax=30000
jobs:
diff --git a/.github/workflows/repeat-acceptance.yml
b/.github/workflows/repeat-acceptance.yml
index 2efe83328d7..ab82f0b0038 100644
--- a/.github/workflows/repeat-acceptance.yml
+++ b/.github/workflows/repeat-acceptance.yml
@@ -43,6 +43,7 @@ on:
default: false
required: true
env:
+ MAVEN_ARGS: --batch-mode --settings ${{ github.workspace
}}/dev-support/ci/maven-settings.xml -Ddevelocity.user.config=${{
github.workspace }}/.mvn/develocity-asf.xml
MAVEN_OPTS: -Daether.connector.http.connectionMaxTtl=25
-Daether.connector.http.retryHandler.count=5
-Daether.connector.http.retryHandler.intervalMax=30000
OZONE_ACCEPTANCE_SUITE: ${{ github.event.inputs.test-suite}}
OZONE_TEST_SELECTOR: ${{ github.event.inputs.test-filter }}
diff --git a/.mvn/develocity.xml b/.mvn/develocity-asf.xml
similarity index 91%
copy from .mvn/develocity.xml
copy to .mvn/develocity-asf.xml
index c3d27cfc67e..fe1c85a38d9 100644
--- a/.mvn/develocity.xml
+++ b/.mvn/develocity-asf.xml
@@ -32,19 +32,14 @@
<fileFingerprints>true</fileFingerprints>
<buildLogging>true</buildLogging>
<testLogging>true</testLogging>
+ <resourceUsage>true</resourceUsage>
</capture>
<backgroundBuildScanUpload>#{isFalse(env['GITHUB_ACTIONS'])}</backgroundBuildScanUpload>
<publishing>
<onlyIf><![CDATA[authenticated]]></onlyIf>
</publishing>
- <obfuscation>
- <ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
- </obfuscation>
</buildScan>
<buildCache>
- <local>
- <enabled>#{isFalse(env['GITHUB_ACTIONS'])}</enabled>
- </local>
<remote>
<enabled>true</enabled>
<storeEnabled>#{isTrue(env['GITHUB_ACTIONS']) and
env['DEVELOCITY_ACCESS_KEY'] != null and env['DEVELOCITY_ACCESS_KEY'] !=
''}</storeEnabled>
diff --git a/.mvn/develocity.xml b/.mvn/develocity.xml
index c3d27cfc67e..d673b022afc 100644
--- a/.mvn/develocity.xml
+++ b/.mvn/develocity.xml
@@ -23,19 +23,15 @@
xmlns="https://www.gradle.com/develocity-maven"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.gradle.com/develocity-maven
https://www.gradle.com/schema/develocity-maven.xsd">
<projectId>ozone</projectId>
- <server>
- <url>https://develocity.apache.org</url>
- <allowUntrusted>false</allowUntrusted>
- </server>
<buildScan>
<capture>
- <fileFingerprints>true</fileFingerprints>
- <buildLogging>true</buildLogging>
- <testLogging>true</testLogging>
+ <fileFingerprints>false</fileFingerprints>
+ <buildLogging>false</buildLogging>
+ <testLogging>false</testLogging>
+ <resourceUsage>false</resourceUsage>
</capture>
-
<backgroundBuildScanUpload>#{isFalse(env['GITHUB_ACTIONS'])}</backgroundBuildScanUpload>
<publishing>
- <onlyIf><![CDATA[authenticated]]></onlyIf>
+ <onlyIf>false</onlyIf>
</publishing>
<obfuscation>
<ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
@@ -46,8 +42,8 @@
<enabled>#{isFalse(env['GITHUB_ACTIONS'])}</enabled>
</local>
<remote>
- <enabled>true</enabled>
- <storeEnabled>#{isTrue(env['GITHUB_ACTIONS']) and
env['DEVELOCITY_ACCESS_KEY'] != null and env['DEVELOCITY_ACCESS_KEY'] !=
''}</storeEnabled>
+ <enabled>false</enabled>
+ <storeEnabled>false</storeEnabled>
</remote>
</buildCache>
</develocity>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]