From 61a9dcd8e6bd4984ca328c6e9569904a289ca1c6 Mon Sep 17 00:00:00 2001 From: Anastasiia Spaseeva Date: Tue, 18 Jul 2023 16:05:29 +0200 Subject: [PATCH] Disable space warmups #Related KTI-1043 --- .space.kts | 27 --------------------------- .space/CODEOWNERS | 2 -- dev-env-warmup.sh | 18 ------------------ 3 files changed, 47 deletions(-) delete mode 100644 .space.kts delete mode 100644 dev-env-warmup.sh diff --git a/.space.kts b/.space.kts deleted file mode 100644 index fc7b13c7714..00000000000 --- a/.space.kts +++ /dev/null @@ -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") \ No newline at end of file diff --git a/.space/CODEOWNERS b/.space/CODEOWNERS index d0aef00355a..df53abf567d 100644 --- a/.space/CODEOWNERS +++ b/.space/CODEOWNERS @@ -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" diff --git a/dev-env-warmup.sh b/dev-env-warmup.sh deleted file mode 100644 index afae02c1f5c..00000000000 --- a/dev-env-warmup.sh +++ /dev/null @@ -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 < local.properties -kotlin.native.enabled=true -EOF - -./gradlew classes testClasses assemble dist -Dscan.uploadInBackground=false