Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,12 @@ default:
KUBERNETES_MEMORY_REQUEST: 20Gi
KUBERNETES_MEMORY_LIMIT: 20Gi

.tier_xl:
variables: &tier_xl_variables
<<: *tier_l_variables
KUBERNETES_MEMORY_REQUEST: 32Gi
KUBERNETES_MEMORY_LIMIT: 32Gi

.gitlab_base_ref_params: &gitlab_base_ref_params
- |
export GIT_BASE_REF=$(.gitlab/find-gh-base-ref.sh)
Expand Down Expand Up @@ -362,7 +368,7 @@ build:
build_tests:
extends: .gradle_build
variables:
<<: *tier_l_variables
<<: *tier_xl_variables
BUILD_CACHE_POLICY: push
DEPENDENCY_CACHE_POLICY: pull
parallel:
Expand Down
25 changes: 13 additions & 12 deletions gradle/java_no_deps.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -270,21 +270,22 @@ tasks.withType(Test).configureEach {
}


[JavaCompile, ScalaCompile, GroovyCompile].each {
type ->
tasks.withType(type).configureEach {
if (options.fork) {
options.forkOptions.with {
memoryMaximumSize = "256M"
}
}
}
tasks.withType(JavaCompile).configureEach {
options.forkOptions.memoryMaximumSize = "256M"
}

tasks.withType(GroovyCompile).configureEach {
it.options.forkOptions.memoryMaximumSize = "256M"
}

tasks.withType(ScalaCompile).configureEach {
options.forkOptions.memoryMaximumSize = "256M"
Comment thread
bric3 marked this conversation as resolved.
}

if (project.plugins.hasPlugin('kotlin')) {
project.pluginManager.withPlugin('kotlin') {
['compileKotlin', 'compileTestKotlin'].each {
type ->
tasks.named(type) {
name ->
tasks.named(name) {
kotlinDaemonJvmArguments = ["-Xmx256m", "-XX:+UseParallelGC"]
}
}
Expand Down