Skip to content

Commit 4f9b452

Browse files
authored
apacheGH-515: Publish build scans to develocity.apache.org (apache#516)
This PR migrates the Arrow project to publish Build Scans to the the new Develocity instance at develocity.apache.org. Additionally, this PR sets a projectId for use by Develocity. Fixes apache#515.
1 parent f4a0adf commit 4f9b452

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

.github/workflows/test.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
- name: Execute Docker Build
7272
env:
7373
# Enables build caching, but not strictly required
74-
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
74+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
7575
run: |
7676
docker compose run \
7777
-e CI=true \
@@ -107,12 +107,12 @@ jobs:
107107
- name: Build
108108
shell: bash
109109
env:
110-
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
110+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
111111
run: ci/scripts/build.sh $(pwd) $(pwd)/build
112112
- name: Test
113113
shell: bash
114114
env:
115-
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
115+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
116116
run: ci/scripts/test.sh $(pwd) $(pwd)/build
117117

118118
windows:
@@ -138,12 +138,12 @@ jobs:
138138
- name: Build
139139
shell: bash
140140
env:
141-
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
141+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
142142
run: ci/scripts/build.sh $(pwd) $(pwd)/build
143143
- name: Test
144144
shell: bash
145145
env:
146-
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
146+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
147147
run: ci/scripts/test.sh $(pwd) $(pwd)/build
148148

149149
integration:

.mvn/develocity.xml

+7-8
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,18 @@
2020
2121
-->
2222
<develocity 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">
23+
<projectId>arrow</projectId>
2324
<server>
24-
<url>https://ge.apache.org</url>
25+
<url>https://develocity.apache.org</url>
2526
<allowUntrusted>false</allowUntrusted>
2627
</server>
2728
<buildScan>
28-
<capture>
29-
<fileFingerprints>true</fileFingerprints>
30-
<buildLogging>true</buildLogging>
31-
<testLogging>true</testLogging>
32-
</capture>
3329
<backgroundBuildScanUpload>#{isFalse(env['CI'])}</backgroundBuildScanUpload>
34-
<publishing><onlyIf>true</onlyIf></publishing>
35-
<publishIfAuthenticated>true</publishIfAuthenticated>
30+
<publishing>
31+
<onlyIf>
32+
<![CDATA[authenticated]]>
33+
</onlyIf>
34+
</publishing>
3635
<obfuscation>
3736
<ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
3837
</obfuscation>

0 commit comments

Comments
 (0)