mirror of
https://github.com/apache/lucene.git
synced 2025-02-10 03:55:46 +00:00
Publish build scans to develocity.apache.org (#14141)
This commit is contained in:
parent
b00f6afaa4
commit
e75b1d21f0
2
.github/workflows/run-checks-all.yml
vendored
2
.github/workflows/run-checks-all.yml
vendored
@ -13,7 +13,7 @@ on:
|
|||||||
- 'branch_10x'
|
- 'branch_10x'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
|
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
|
||||||
|
|
||||||
# We split the workflow into two parallel jobs for efficiency:
|
# We split the workflow into two parallel jobs for efficiency:
|
||||||
# one is running all validation checks without tests,
|
# one is running all validation checks without tests,
|
||||||
|
@ -20,7 +20,7 @@ on:
|
|||||||
- 'gradle/wrapper/**'
|
- 'gradle/wrapper/**'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
|
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
gradleSanityCheck:
|
gradleSanityCheck:
|
||||||
|
@ -20,7 +20,7 @@ on:
|
|||||||
- 'lucene/analysis/common/**'
|
- 'lucene/analysis/common/**'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
|
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
@ -14,7 +14,7 @@ on:
|
|||||||
- 'branch_10x'
|
- 'branch_10x'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
|
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
@ -23,7 +23,7 @@ Apache Lucene is a high-performance, full-featured text search engine library
|
|||||||
written in Java.
|
written in Java.
|
||||||
|
|
||||||
[![Build Status](https://ci-builds.apache.org/job/Lucene/job/Lucene-Artifacts-main/badge/icon?subject=Lucene)](https://ci-builds.apache.org/job/Lucene/job/Lucene-Artifacts-main/)
|
[![Build Status](https://ci-builds.apache.org/job/Lucene/job/Lucene-Artifacts-main/badge/icon?subject=Lucene)](https://ci-builds.apache.org/job/Lucene/job/Lucene-Artifacts-main/)
|
||||||
[![Revved up by Develocity](https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle&labelColor=02303A)](https://ge.apache.org/scans?search.buildToolType=gradle&search.rootProjectNames=lucene-root)
|
[![Revved up by Develocity](https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle&labelColor=02303A)](https://develocity.apache.org/scans?search.buildToolType=gradle&search.rootProjectNames=lucene-root)
|
||||||
|
|
||||||
## Online Documentation
|
## Online Documentation
|
||||||
|
|
||||||
|
@ -17,13 +17,13 @@
|
|||||||
|
|
||||||
def isCIBuild = System.getenv().keySet().find { it ==~ /(?i)((JENKINS|HUDSON)(_\w+)?|CI)/ } != null
|
def isCIBuild = System.getenv().keySet().find { it ==~ /(?i)((JENKINS|HUDSON)(_\w+)?|CI)/ } != null
|
||||||
|
|
||||||
gradleEnterprise {
|
develocity {
|
||||||
server = "https://ge.apache.org"
|
server = "https://develocity.apache.org"
|
||||||
|
projectId = "lucene"
|
||||||
|
|
||||||
buildScan {
|
buildScan {
|
||||||
capture { taskInputFiles = true }
|
|
||||||
uploadInBackground = !isCIBuild
|
uploadInBackground = !isCIBuild
|
||||||
publishAlways()
|
publishing.onlyIf { it.isAuthenticated() }
|
||||||
publishIfAuthenticated()
|
|
||||||
obfuscation {
|
obfuscation {
|
||||||
ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0"} }
|
ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0"} }
|
||||||
}
|
}
|
||||||
@ -35,7 +35,7 @@ buildCache {
|
|||||||
enabled = !isCIBuild
|
enabled = !isCIBuild
|
||||||
}
|
}
|
||||||
|
|
||||||
remote(gradleEnterprise.buildCache) {
|
remote(develocity.buildCache) {
|
||||||
enabled = false
|
enabled = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -26,8 +26,8 @@ pluginManagement {
|
|||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id "org.gradle.toolchains.foojay-resolver-convention" version "0.8.0"
|
id "org.gradle.toolchains.foojay-resolver-convention" version "0.8.0"
|
||||||
id 'com.gradle.enterprise' version '3.15.1'
|
id 'com.gradle.develocity' version '3.18.2'
|
||||||
id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.11.3'
|
id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencyResolutionManagement {
|
dependencyResolutionManagement {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user