File tree Expand file tree Collapse file tree 8 files changed +21
-22
lines changed Expand file tree Collapse file tree 8 files changed +21
-22
lines changed Original file line number Diff line number Diff line change 56
56
GH_BUILD : ${{ github.event_name }}-${{ github.sha }}
57
57
GH_BRANCH : ${{ github.head_ref || github.ref_name }}
58
58
59
- # https://ge .apache.org
60
- GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GE_ACCESS_TOKEN }}
59
+ # https://develocity .apache.org
60
+ DEVELOCITY_ACCESS_KEY : ${{ secrets.DEVELOCITY_ACCESS_KEY }}
61
61
62
62
# (optional) you need to add as secrets an ngrok token and a password to debug a build on demand
63
63
NGROK_DEBUG : ${{ inputs.enable_ngrok_debug }}
Original file line number Diff line number Diff line change 51
51
GH_BUILD : ${{ github.event_name }}-${{ github.sha }}
52
52
GH_BRANCH : ${{ github.head_ref || github.ref_name }}
53
53
54
- # https://ge .apache.org
55
- GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GE_ACCESS_TOKEN }}
54
+ # https://develocity .apache.org
55
+ DEVELOCITY_ACCESS_KEY : ${{ secrets.DEVELOCITY_ACCESS_KEY }}
56
56
57
57
jobs :
58
58
openwhisk :
Original file line number Diff line number Diff line change 46
46
GH_BUILD : ${{ github.event_name }}-${{ github.sha }}
47
47
GH_BRANCH : ${{ github.head_ref || github.ref_name }}
48
48
49
- # https://ge .apache.org
50
- GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GE_ACCESS_TOKEN }}
49
+ # https://develocity .apache.org
50
+ DEVELOCITY_ACCESS_KEY : ${{ secrets.DEVELOCITY_ACCESS_KEY }}
51
51
52
52
jobs :
53
53
openwhisk :
Original file line number Diff line number Diff line change 46
46
GH_BUILD : ${{ github.event_name }}-${{ github.sha }}
47
47
GH_BRANCH : ${{ github.head_ref || github.ref_name }}
48
48
49
- # https://ge .apache.org
50
- GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GE_ACCESS_TOKEN }}
49
+ # https://develocity .apache.org
50
+ DEVELOCITY_ACCESS_KEY : ${{ secrets.DEVELOCITY_ACCESS_KEY }}
51
51
52
52
jobs :
53
53
openwhisk :
Original file line number Diff line number Diff line change 46
46
GH_BUILD : ${{ github.event_name }}-${{ github.sha }}
47
47
GH_BRANCH : ${{ github.head_ref || github.ref_name }}
48
48
49
- # https://ge .apache.org
50
- GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GE_ACCESS_TOKEN }}
49
+ # https://develocity .apache.org
50
+ DEVELOCITY_ACCESS_KEY : ${{ secrets.DEVELOCITY_ACCESS_KEY }}
51
51
52
52
jobs :
53
53
openwhisk :
Original file line number Diff line number Diff line change 46
46
GH_BUILD : ${{ github.event_name }}-${{ github.sha }}
47
47
GH_BRANCH : ${{ github.head_ref || github.ref_name }}
48
48
49
- # https://ge .apache.org
50
- GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GE_ACCESS_TOKEN }}
49
+ # https://develocity .apache.org
50
+ DEVELOCITY_ACCESS_KEY : ${{ secrets.DEVELOCITY_ACCESS_KEY }}
51
51
52
52
jobs :
53
53
openwhisk :
Original file line number Diff line number Diff line change 46
46
GH_BUILD : ${{ github.event_name }}-${{ github.sha }}
47
47
GH_BRANCH : ${{ github.head_ref || github.ref_name }}
48
48
49
- # https://ge .apache.org
50
- GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GE_ACCESS_TOKEN }}
49
+ # https://develocity .apache.org
50
+ DEVELOCITY_ACCESS_KEY : ${{ secrets.DEVELOCITY_ACCESS_KEY }}
51
51
52
52
jobs :
53
53
openwhisk :
Original file line number Diff line number Diff line change 16
16
*/
17
17
18
18
plugins {
19
- id ' com.gradle.enterprise ' version ' 3.13 .2'
20
- id ' com.gradle.common-custom-user-data-gradle-plugin' version ' 1.10 '
19
+ id ' com.gradle.develocity ' version ' 3.18 .2'
20
+ id ' com.gradle.common-custom-user-data-gradle-plugin' version ' 2.0.2 '
21
21
}
22
22
23
23
def isGithubActions = System . getenv(' GITHUB_ACTIONS' ) != null
24
24
def isJenkins = System . getenv(' JENKINS_URL' ) != null
25
25
def isCI = isGithubActions || isJenkins
26
26
27
- gradleEnterprise {
28
- server = " https://ge.apache.org"
27
+ develocity {
28
+ server = " https://develocity.apache.org"
29
+ projectId = " openwhisk"
29
30
buildScan {
30
- capture { taskInputFiles = true }
31
31
uploadInBackground = ! isCI
32
- publishAlways()
33
- publishIfAuthenticated()
32
+ publishing. onlyIf { it. isAuthenticated() }
34
33
obfuscation {
35
34
// This obfuscates the IP addresses of the build machine in the build scan.
36
35
// Alternatively, the build scan will provide the hostname for troubleshooting host-specific issues.
@@ -44,7 +43,7 @@ buildCache {
44
43
enabled = ! isCI
45
44
}
46
45
47
- remote(gradleEnterprise . buildCache) {
46
+ remote(develocity . buildCache) {
48
47
enabled = false
49
48
}
50
49
}
You can’t perform that action at this time.
0 commit comments