Skip to content

Commit

Permalink
Merge pull request #18615 Switch to ge-td-dogfooding.grdev.net
Browse files Browse the repository at this point in the history
  • Loading branch information
bot-gradle committed Oct 13, 2021
2 parents 853b756 + 8bef60c commit d7ffa28
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .teamcity/src/main/kotlin/projects/CheckProject.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class CheckProject(
params {
param("credentialsStorageType", "credentialsJSON")
param("teamcity.ui.settings.readOnly", "true")
param("env.GRADLE_ENTERPRISE_ACCESS_KEY", "%ge.gradle.org.access.key%")
param("env.GRADLE_ENTERPRISE_ACCESS_KEY", "%ge.gradle.org.access.key%;%ge-td-dogfooding.grdev.net.access.key%")
}

var prevStage: Stage? = null
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/subprojects/jvm/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies {
implementation("org.ow2.asm:asm-commons")
implementation("com.google.code.gson:gson")
implementation("org.gradle:test-retry-gradle-plugin")
implementation("com.gradle.enterprise:test-distribution-gradle-plugin:1.1.2-rc-1")
implementation("com.gradle.enterprise:test-distribution-gradle-plugin:2.2.1-rc-1")

implementation("com.thoughtworks.qdox:qdox") {
because("ParameterNamesIndex")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* limitations under the License.
*/

import com.gradle.enterprise.gradleplugin.testdistribution.internal.TestDistributionExtensionInternal
import gradlebuild.basics.accessors.groovy
import gradlebuild.basics.BuildEnvironment
import gradlebuild.basics.tasks.ClasspathManifest
Expand Down Expand Up @@ -221,9 +222,11 @@ fun configureTests() {

if (project.testDistributionEnabled()) {
distribution {
maxLocalExecutors.set(0)
maxRemoteExecutors.set(if ("test" == testName) 5 else 20)
this as TestDistributionExtensionInternal
enabled.set(true)
distribution.maxRemoteExecutors.set(null)
// Dogfooding TD against ge-td-dogfooding in order to test new features and benefit from bug fixes before they are released
server.set(uri("https://ge-td-dogfooding.grdev.net"))
when {
OperatingSystem.current().isLinux -> requirements.set(listOf("os=linux"))
OperatingSystem.current().isWindows -> requirements.set(listOf("os=windows"))
Expand Down

0 comments on commit d7ffa28

Please sign in to comment.