Disable space warmups

#Related KTI-1043
This commit is contained in:
Anastasiia Spaseeva
2023-07-18 16:05:29 +02:00
committed by Space Team
parent 3aee0ab994
commit 61a9dcd8e6
3 changed files with 0 additions and 47 deletions
-27
View File
@@ -1,27 +0,0 @@
/*
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
fun warmupJob(ide: Ide, devfilePath: String) {
job("Kotlin project warmup for ${ide.name}") {
startOn {
schedule { cron("0 2 * * *") } // 5 am GMT +3
}
warmup(ide = ide) {
scriptLocation = "./dev-env-warmup.sh"
devfile = devfilePath
}
git {
// fetch the entire commit history
depth = UNLIMITED_DEPTH
// fetch all branches
refSpec = "refs/*:refs/*"
}
}
}
warmupJob(Ide.Idea, ".space/idea.devfile.yaml")
warmupJob(Ide.Fleet, ".space/fleet.devfile.yaml")
-2
View File
@@ -389,10 +389,8 @@
# Singular files
/.gitattributes "Kotlin Build Infrastructure"
/.space.kts "Kotlin Build Infrastructure"
/ChangeLog.md "Kotlin Release"
/CODE_OF_CONDUCT.md "Kotlin Build Infrastructure"
/dev-env-warmup.sh "Kotlin Build Infrastructure"
/ReadMe.md "Kotlin Build Infrastructure"
/SECURITY.md "Kotlin Build Infrastructure"
-18
View File
@@ -1,18 +0,0 @@
#!/bin/bash
# Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
# Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
#
set -e -x -u
#setup gradle enterprise
mkdir -p ~/.gradle
echo "kotlin.build.scan.url=https://ge.jetbrains.com/" >> ~/.gradle/gradle.properties
echo "kotlin.build.cache.url=https://ge.jetbrains.com/cache/" >> ~/.gradle/gradle.properties
#enable kotlin-native
cat <<EOF > local.properties
kotlin.native.enabled=true
EOF
./gradlew classes testClasses assemble dist -Dscan.uploadInBackground=false