mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-02-01 08:45:58 +01:00
75 lines
2.8 KiB
Kotlin
75 lines
2.8 KiB
Kotlin
package patches.projects
|
|
|
|
import jetbrains.buildServer.configs.kotlin.v2019_2.*
|
|
import jetbrains.buildServer.configs.kotlin.v2019_2.AmazonEC2CloudImage
|
|
import jetbrains.buildServer.configs.kotlin.v2019_2.AmazonEC2CloudProfile
|
|
import jetbrains.buildServer.configs.kotlin.v2019_2.Project
|
|
import jetbrains.buildServer.configs.kotlin.v2019_2.amazonEC2CloudImage
|
|
import jetbrains.buildServer.configs.kotlin.v2019_2.amazonEC2CloudProfile
|
|
import jetbrains.buildServer.configs.kotlin.v2019_2.ui.*
|
|
|
|
/*
|
|
This patch script was generated by TeamCity on settings change in UI.
|
|
To apply the patch, change the root project
|
|
accordingly, and delete the patch script.
|
|
*/
|
|
changeProject(DslContext.projectId) {
|
|
features {
|
|
val feature1 = find<AmazonEC2CloudImage> {
|
|
amazonEC2CloudImage {
|
|
id = "PROJECT_EXT_768"
|
|
profileId = "amazon-48"
|
|
agentPoolId = "41"
|
|
name = "BuildAgentsIdeaVim"
|
|
vpcSubnetId = "subnet-58839511"
|
|
keyPairName = ""
|
|
instanceType = "c5d.xlarge"
|
|
securityGroups = listOf("sg-eda08696", "sg-7332cf0f")
|
|
useSpotInstances = true
|
|
instanceTags = mapOf(
|
|
"project" to "idea-vim"
|
|
)
|
|
source = Source("ami-0d1a6a32faa92923e")
|
|
param("image-instances-limit", "")
|
|
param("spot-instance-price", "")
|
|
}
|
|
}
|
|
feature1.apply {
|
|
profileId = "amazon-48"
|
|
agentPoolId = "41"
|
|
name = "BuildAgentsIdeaVim"
|
|
vpcSubnetId = "subnet-58839511"
|
|
keyPairName = ""
|
|
instanceType = "c5d.xlarge"
|
|
securityGroups = listOf("sg-eda08696", "sg-7332cf0f")
|
|
useSpotInstances = true
|
|
instanceTags = mapOf(
|
|
"project" to "idea-vim"
|
|
)
|
|
source = Source("ami-0fa17ce8238eb8868")
|
|
}
|
|
val feature2 = find<AmazonEC2CloudProfile> {
|
|
amazonEC2CloudProfile {
|
|
id = "amazon-48"
|
|
name = "Cloud Agents - Single Build"
|
|
terminateAfterBuild = true
|
|
terminateIdleMinutes = 15
|
|
region = AmazonEC2CloudProfile.Regions.EU_WEST_DUBLIN
|
|
maxInstancesCount = 10
|
|
authType = accessKey {
|
|
keyId = "credentialsJSON:dbcdb2a2-de5f-4bc9-9421-292b19e83947"
|
|
secretKey = "credentialsJSON:65a87fe7-0977-4af9-96f1-344f2b82d269"
|
|
}
|
|
param("agentPushPreset", "")
|
|
}
|
|
}
|
|
feature2.apply {
|
|
name = "Cloud Agents - Single Build"
|
|
terminateAfterBuild = true
|
|
terminateIdleMinutes = 15
|
|
region = AmazonEC2CloudProfile.Regions.EU_WEST_DUBLIN
|
|
maxInstancesCount = 10
|
|
}
|
|
}
|
|
}
|